public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13317] New: Combination of options produces broken program on UltraSparc
@ 2003-12-05 16:14 coyote at coyotegulch dot com
2003-12-05 16:16 ` [Bug c/13317] " coyote at coyotegulch dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: coyote at coyotegulch dot com @ 2003-12-05 16:14 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
@ 2003-12-05 16:16 ` coyote at coyotegulch dot com
2003-12-06 2:48 ` [Bug optimization/13317] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: coyote at coyotegulch dot com @ 2003-12-05 16:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From coyote at coyotegulch dot com 2003-12-05 16:16 -------
Created an attachment (id=5284)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5284&action=view)
Program that is miscompiled
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
2003-12-05 16:16 ` [Bug c/13317] " coyote at coyotegulch dot com
@ 2003-12-06 2:48 ` pinskia at gcc dot gnu dot org
2003-12-09 22:33 ` dhazeghi at yahoo dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-06 2:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |optimization
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
2003-12-05 16:16 ` [Bug c/13317] " coyote at coyotegulch dot com
2003-12-06 2:48 ` [Bug optimization/13317] " pinskia at gcc dot gnu dot org
@ 2003-12-09 22:33 ` dhazeghi at yahoo dot com
2004-01-21 6:37 ` dhazeghi at yahoo dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 22:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2003-12-09 22:33 -------
Your first comment is ambiguous. I assume you mean that the program has a bus error. Under
Solaris I get a segfault on line 252. Is that where the program crashes for you too (before I try and
reduce this, I want to make sure it's the same error I'm getting)?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
` (2 preceding siblings ...)
2003-12-09 22:33 ` dhazeghi at yahoo dot com
@ 2004-01-21 6:37 ` dhazeghi at yahoo dot com
2004-04-15 12:44 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 6:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-21 06:37 -------
Scott, just a reminder, that this PR is in WAITING. The wrong code manifests as a segfault on 252,
right?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
` (3 preceding siblings ...)
2004-01-21 6:37 ` dhazeghi at yahoo dot com
@ 2004-04-15 12:44 ` pinskia at gcc dot gnu dot org
2004-04-15 12:45 ` pinskia at gcc dot gnu dot org
2004-07-11 17:45 ` [Bug rtl-optimization/13317] " ebotcazou at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-15 12:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-15 12:40 -------
Since Dara already confirmed it but not reduced it yet, moving to invalid to ....
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
` (4 preceding siblings ...)
2004-04-15 12:44 ` pinskia at gcc dot gnu dot org
@ 2004-04-15 12:45 ` pinskia at gcc dot gnu dot org
2004-07-11 17:45 ` [Bug rtl-optimization/13317] " ebotcazou at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-15 12:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-15 12:40 -------
move to an unconfirmed state.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/13317] Combination of options produces broken program on UltraSparc
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
` (5 preceding siblings ...)
2004-04-15 12:45 ` pinskia at gcc dot gnu dot org
@ 2004-07-11 17:45 ` ebotcazou at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-11 17:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-07-11 17:45 -------
No feedback in 6 months.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13317
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-07-11 17:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-05 16:14 [Bug c/13317] New: Combination of options produces broken program on UltraSparc coyote at coyotegulch dot com
2003-12-05 16:16 ` [Bug c/13317] " coyote at coyotegulch dot com
2003-12-06 2:48 ` [Bug optimization/13317] " pinskia at gcc dot gnu dot org
2003-12-09 22:33 ` dhazeghi at yahoo dot com
2004-01-21 6:37 ` dhazeghi at yahoo dot com
2004-04-15 12:44 ` pinskia at gcc dot gnu dot org
2004-04-15 12:45 ` pinskia at gcc dot gnu dot org
2004-07-11 17:45 ` [Bug rtl-optimization/13317] " ebotcazou at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).