This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14113] [3.3/3.4 regression] -O2 corrupts stack
- From: "gcc at cohi dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2004 08:44:25 -0000
- Subject: [Bug target/14113] [3.3/3.4 regression] -O2 corrupts stack
- References: <20040211171342.14113.gcc@cohi.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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