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: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2004 10:23:16 -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 ebotcazou at gcc dot gnu dot org 2004-02-12 10:23 -------
(In reply to comment #6)
> 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.
It means that, if --with-cpu=ultrasparc or --with-cpu=ultrasparc3 is specified
at configure time, or -mcpu=ultrasparc or -mcpu=ultrasparc3 is specified at
compile time, -fno-peephole is effectively enabled for the SPARC back-end.
Note that --with-cpu=ultrasparc3 and -mcpu=ultrasparc3 are stupidly broken on
Solaris (the code doesn't assemble) in GCC 3.3.x and earlier, but not on Linux.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14113