z80asm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Z80asm-devel] [patch #3396] Makefile: remove -Werror, change to -O2, m


From: H. Peter Anvin
Subject: [Z80asm-devel] [patch #3396] Makefile: remove -Werror, change to -O2, make clean
Date: Tue, 28 Sep 2004 16:23:38 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040803

This mail is an automated notification from the patch tracker
 of the project: Z80 assembler.




/**************************************************************************/
[patch #3396] Full Item Snapshot:

URL: <http://savannah.nongnu.org/patch/?func=detailitem&item_id=3396>
Project: Z80 assembler
Submitted by: H. Peter Anvin
On: Tue 09/28/2004 at 20:16

Category:  None
Priority:  5 - Normal
Resolution:  None
Privacy:  Public
Assigned to:  None
Originator Email:  
Status:  Open


Summary:  Makefile: remove -Werror, change to -O2, make clean

Original Submission:  For gcc, -O3 or higher means "inline everything", which 
for code such as compilers/assemblers which contain lots of function calls 
often cause worse performance due to cache effects, and more importantly, adds 
a lot to the code size (35% on Linux/x86-64, 47% on Linux/i386) for no 
measurable gain -- especially given that it might cause code to be evicted from 
the L1 I$.

-Werror breaks compiling on some broken platforms, e.g. Cygwin, which otherwise 
would compile correctly but with warnings.

Finally, fix "make clean".





File Attachments
-------------------

-------------------------------------------------------
Date: Tue 09/28/2004 at 20:16  Name: Makefile.diff  Size: 1.04KB   By: hpanvin

http://savannah.nongnu.org/patch/download.php?item_id=3396&amp;item_file_id=3710






For detailed info, follow this link:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=3396>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]