This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13317] New: Combination of options produces broken program on UltraSparc
- From: "coyote at coyotegulch dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2003 16:14:22 -0000
- Subject: [Bug c/13317] New: Combination of options produces broken program on UltraSparc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I get a "Bus error" when compiling one test with
gcc -lrt -std=gnu99 -O1 -o treebug \
-mcpu=ultrasparc \
-fcse-follow-jumps \
-fgcse \
-fschedule-insns \
-finline-functions \
-fnew-ra \
treebench.c
Compiled without any one of those options, and the resulting program runs
without exception. I suspect the problem is predicated on -fnew-ra, given the
number of problems with that option I've had on Intel processors. On Intel,
though, -fnew-ra produced an collection of different compiler errors, while on
the SPARC, it produces a broken program.
I have not been able to reduce the size of the test program, but my time has
been somewhat limited. I'm posting the full program with this report, and will
try to reduce it in the coming days.
--
Summary: Combination of options produces broken program on
UltraSparc
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: coyote at coyotegulch dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-debian-linux
GCC host triplet: sparc-debian-linux
GCC target triplet: sparc-debian-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317