<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<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">https://dcclost.com</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fpc-devel <fpc-devel-bounces@lists.freepascal.org> on behalf of J. Gareth Moreton <gareth@moreton-family.com><br>
<b>Sent:</b> Saturday, July 18, 2020 11:09:29 PM<br>
<b>To:</b> FPC developers' list <fpc-devel@lists.freepascal.org><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">https://www.avast.com/antivirus</a><br>
<br>
_______________________________________________<br>
fpc-devel maillist  -  fpc-devel@lists.freepascal.org<br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</span></font></div>
</body>
</html>