<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>-a shouldn't disable optimisations at all. It just dumps the
intermediate assembly language into .s files.</p>
<p>Gareth aka. Kit<br>
</p>
<div class="moz-cite-prefix">On 19/07/2020 04:22, Alexander
Grotewohl wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR03MB5296180B38D8352C1DFC2AF1C57A0@MN2PR03MB5296.namprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
would -a disable optimizations? i guess it'd depend on the
intended use of the listings it generated<span
id="ms-outlook-android-cursor"></span><br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
--<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Alexander Grotewohl<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
<a href="https://dcclost.com" moz-do-not-send="true">https://dcclost.com</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
fpc-devel <a class="moz-txt-link-rfc2396E" href="mailto:fpc-devel-bounces@lists.freepascal.org"><fpc-devel-bounces@lists.freepascal.org></a> on
behalf of J. Gareth Moreton <a class="moz-txt-link-rfc2396E" href="mailto:gareth@moreton-family.com"><gareth@moreton-family.com></a><br>
<b>Sent:</b> Saturday, July 18, 2020 11:09:29 PM<br>
<b>To:</b> FPC developers' list
<a class="moz-txt-link-rfc2396E" href="mailto:fpc-devel@lists.freepascal.org"><fpc-devel@lists.freepascal.org></a><br>
<b>Subject:</b> [fpc-devel] Binary size discrepancy with -a</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">Hi everyone,<br>
<br>
I've noticed something a bit weird with the Free Pascal
Compiler when <br>
you use the the -a option to dump the compiled assembly
files... the <br>
resultant binaries are sometimes smaller. I recently
tried it with <br>
Lazarus under x86_64-win64 (using "make distclean all
install" with FPCOPT):<br>
<br>
(-O4 -OoCONSTPROP)<br>
241,010,289 bytes - lazarus.exe<br>
<br>
(-a -O4 -OoCONSTPROP)<br>
235,655,062 bytes - lazarus.exe<br>
<br>
Anyone else noticed this? Logically, shoudn't the EXE
files be <br>
completely identical?<br>
<br>
Gareth aka. Kit<br>
<br>
<br>
-- <br>
This email has been checked for viruses by Avast antivirus
software.<br>
<a href="https://www.avast.com/antivirus"
moz-do-not-send="true">https://www.avast.com/antivirus</a><br>
<br>
_______________________________________________<br>
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a
href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel"
moz-do-not-send="true">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</span></font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>