public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2
@ 2004-08-30 17:24 gp at qnx dot com
2004-08-30 18:34 ` [Bug rtl-optimization/17241] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: gp at qnx dot com @ 2004-08-30 17:24 UTC (permalink / raw)
To: gcc-bugs
A test case (src from libmad) SIGSEGV's when compiled with -O2. It runs with -
O0. It has the same behavior with gcc-3.3.1, gcc-3.3.3, and gcc-3.3.4
targetting sh-unknown-nto-qnx6.3.0. It looks like an sh optimization issue,
and not qnx specific.
Command line (generates no errors or warnings):
sh-unknown-nto-qnx-6.3.0-gcc-3.3.4 bug.c -obug -ml -O2
The pre-processed source is large, as any changes I made to the original
source made the SIGSEGV stop happening.
gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x080409e4 in dct32 (in=0x8e4, slot=0, lo=0x803da64, hi=0xfffffff4)
at /tmp/gccbug/bug.c:167
167 t86 = t65 + t66; t109 = MUL(t65 - t66, costab20);
(gdb) bt
#0 0x080409e4 in dct32 (in=0x8e4, slot=0, lo=0x803da64, hi=0xfffffff4)
at /tmp/
gccbug/bug.c:167
#1 0x080411b4 in main (argc=2276, argv=0x0) at /tmp/gccbug/bug.c:427
(gdb)
--
Summary: sh4 application SIGSEGV's with gcc-3.3.4 -O2
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gp at qnx dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-pc-nto-qnx6.3.0
GCC host triplet: i386-pc-nto-qnx6.3.0
GCC target triplet: sh-unknown-nto-qnx6.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
@ 2004-08-30 18:34 ` pinskia at gcc dot gnu dot org
2004-08-30 19:07 ` gp at qnx dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-30 18:34 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |rtl-optimization
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
2004-08-30 18:34 ` [Bug rtl-optimization/17241] " pinskia at gcc dot gnu dot org
@ 2004-08-30 19:07 ` gp at qnx dot com
2004-08-30 20:41 ` gp at qnx dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: gp at qnx dot com @ 2004-08-30 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gp at qnx dot com 2004-08-30 19:07 -------
Subject: RE: sh4 application SIGSEGV's with g
cc-3.3.4 -O2
I have been unable to attach my test case to this report. I mailed
gcc-bugs. May I send the file to you? Perhaps you will have more success.
Thanks.
GP
-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: August 30, 2004 2:34 PM
To: gp@qnx.com
Subject: [Bug rtl-optimization/17241] sh4 application SIGSEGV's with
gcc-3.3.4 -O2
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |rtl-optimization
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
2004-08-30 18:34 ` [Bug rtl-optimization/17241] " pinskia at gcc dot gnu dot org
2004-08-30 19:07 ` gp at qnx dot com
@ 2004-08-30 20:41 ` gp at qnx dot com
2004-08-30 20:42 ` gp at qnx dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: gp at qnx dot com @ 2004-08-30 20:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gp at qnx dot com 2004-08-30 20:41 -------
Created an attachment (id=7005)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7005&action=view)
preprocessed testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
` (2 preceding siblings ...)
2004-08-30 20:41 ` gp at qnx dot com
@ 2004-08-30 20:42 ` gp at qnx dot com
2004-09-06 7:45 ` aheiner at harmanbecker dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: gp at qnx dot com @ 2004-08-30 20:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gp at qnx dot com 2004-08-30 20:42 -------
Created an attachment (id=7006)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7006&action=view)
assembly of testcase (after -save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
` (3 preceding siblings ...)
2004-08-30 20:42 ` gp at qnx dot com
@ 2004-09-06 7:45 ` aheiner at harmanbecker dot com
2004-09-06 7:47 ` aheiner at harmanbecker dot com
2004-09-09 3:28 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: aheiner at harmanbecker dot com @ 2004-09-06 7:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |aheiner at harmanbecker dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
` (4 preceding siblings ...)
2004-09-06 7:45 ` aheiner at harmanbecker dot com
@ 2004-09-06 7:47 ` aheiner at harmanbecker dot com
2004-09-09 3:28 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: aheiner at harmanbecker dot com @ 2004-09-06 7:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aheiner at harmanbecker dot com 2004-09-06 07:47 -------
This error is also inside 3.3.1, but not inside 2.95.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
` (5 preceding siblings ...)
2004-09-06 7:47 ` aheiner at harmanbecker dot com
@ 2004-09-09 3:28 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-09 3:28 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.3.4
Known to work| |2.95.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2
[not found] <bug-17241-1665@http.gcc.gnu.org/bugzilla/>
@ 2007-05-17 14:28 ` ebotcazou at gcc dot gnu dot org
0 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-05-17 14:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:28 -------
3.3.x is not maintained anymore.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17241
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-05-17 14:28 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-30 17:24 [Bug c/17241] New: sh4 application SIGSEGV's with gcc-3.3.4 -O2 gp at qnx dot com
2004-08-30 18:34 ` [Bug rtl-optimization/17241] " pinskia at gcc dot gnu dot org
2004-08-30 19:07 ` gp at qnx dot com
2004-08-30 20:41 ` gp at qnx dot com
2004-08-30 20:42 ` gp at qnx dot com
2004-09-06 7:45 ` aheiner at harmanbecker dot com
2004-09-06 7:47 ` aheiner at harmanbecker dot com
2004-09-09 3:28 ` pinskia at gcc dot gnu dot org
[not found] <bug-17241-1665@http.gcc.gnu.org/bugzilla/>
2007-05-17 14:28 ` 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).