This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14113] [3.3/3.4 regression] -O2 corrupts stack


------- Additional Comments From gcc at cohi dot at  2004-02-12 08:44 -------
(In reply to comment #3)

> The workaround is to disable them with -fno-peephole.  They are already disabled
> by default on UltraSPARC because they hurt performance on modern CPUs.

The workaround works - thank you all (again!) for the quick reply - I wouldn't
want to put our software into production with this problem still around...

PS: What exactly does "disabled by default on Ultra" mean? We are running on
UltraSPARC III but still triggered this problem. Is this a GCC bulid option or
do we need the correct compile options for our software to make sure the correct
specs are used? For now we patch the Makefile to use -fno-peephole.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14113


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]