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 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


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