public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG
@ 2006-01-10 21:01 zer0 at droids-corp dot org
2006-01-10 21:04 ` [Bug c/25742] " zer0 at droids-corp dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: zer0 at droids-corp dot org @ 2006-01-10 21:01 UTC (permalink / raw)
To: gcc-bugs
The attached code generates an internal error when we try to compile it with
-O[123s].
--
Summary: Internal compiler error in gen_rtx_SUBREG
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zer0 at droids-corp dot org
GCC build triplet: i386-linux
GCC host triplet: i386-linux
GCC target triplet: avr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
@ 2006-01-10 21:04 ` zer0 at droids-corp dot org
2006-01-10 21:19 ` berndtrog at yahoo dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zer0 at droids-corp dot org @ 2006-01-10 21:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zer0 at droids-corp dot org 2006-01-10 21:04 -------
Created an attachment (id=10609)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10609&action=view)
the guilty program
This is the program that we cannot compile :
$ avr-gcc -Wall -Os f32.c -c -mmcu=atmega128
f32.c: In function `f':
f32.c:71: warning: 'a' might be used uninitialized in this function
f32.c:71: warning: 'b' might be used uninitialized in this function
f32.c:73: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:618
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
avr-gcc -v
Reading specs from /usr/lib/gcc/avr/3.4.3/specs
Configured with: ./configure -v --enable-languages=c,c++ --prefix=/usr
--infodir=/usr/share/info --mandir=/usr/share/man --enable-shared
--with-system-zlib --enable-long-long --enable-nls --without-included-gettext
--disable-checking --build=i386-linux --host=i386-linux --target=avr
Thread model: single
gcc version 3.4.3
Note that it compiles on my host :
$ gcc f32.c -c -Os
-> ok
$ gcc-3.4 f32.c -c -Os
-> ok
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
2006-01-10 21:04 ` [Bug c/25742] " zer0 at droids-corp dot org
@ 2006-01-10 21:19 ` berndtrog at yahoo dot com
2006-01-19 8:52 ` [Bug rtl-optimization/25742] " bl at rosetechnology dot dk
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: berndtrog at yahoo dot com @ 2006-01-10 21:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from berndtrog at yahoo dot com 2006-01-10 21:19 -------
f32.c compiles OK on 4_1-branch and HEAD.
--
berndtrog at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |berndtrog at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
2006-01-10 21:04 ` [Bug c/25742] " zer0 at droids-corp dot org
2006-01-10 21:19 ` berndtrog at yahoo dot com
@ 2006-01-19 8:52 ` bl at rosetechnology dot dk
2007-05-30 22:18 ` eweddington at cso dot atmel dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bl at rosetechnology dot dk @ 2006-01-19 8:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from bl at rosetechnology dot dk 2006-01-19 08:52 -------
Created an attachment (id=10673)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10673&action=view)
Another example, this time on windows-xp
I think this is the same bug.
Compiler version 3.4.3 Windows
Target avr mega64
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
` (2 preceding siblings ...)
2006-01-19 8:52 ` [Bug rtl-optimization/25742] " bl at rosetechnology dot dk
@ 2007-05-30 22:18 ` eweddington at cso dot atmel dot com
2007-05-31 1:52 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-30 22:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from eweddington at cso dot atmel dot com 2007-05-30 22:18 -------
f32.c succeeds for
4.1.2, -O[0123s]
4.2.0, -O[0123s]
4.3-20070525, -O[0123s]
Lowering priority.
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.1.2 4.2.0
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
` (3 preceding siblings ...)
2007-05-30 22:18 ` eweddington at cso dot atmel dot com
@ 2007-05-31 1:52 ` pinskia at gcc dot gnu dot org
2009-08-30 2:02 ` abnikant dot singh at atmel dot com
2009-08-31 16:56 ` eric dot weddington at atmel dot com
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-31 1:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-31 01:52 -------
Can someone send me the backtrace for 3.4.x? (I think I am fixing the same bug
for the spu-elf target also).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
` (4 preceding siblings ...)
2007-05-31 1:52 ` pinskia at gcc dot gnu dot org
@ 2009-08-30 2:02 ` abnikant dot singh at atmel dot com
2009-08-31 16:56 ` eric dot weddington at atmel dot com
6 siblings, 0 replies; 8+ messages in thread
From: abnikant dot singh at atmel dot com @ 2009-08-30 2:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from abnikant dot singh at atmel dot com 2009-08-30 02:02 -------
f32.c succeeds for
4.3.2, -O[0123s]
4.4.0, -O[0123s]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/25742] Internal compiler error in gen_rtx_SUBREG
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
` (5 preceding siblings ...)
2009-08-30 2:02 ` abnikant dot singh at atmel dot com
@ 2009-08-31 16:56 ` eric dot weddington at atmel dot com
6 siblings, 0 replies; 8+ messages in thread
From: eric dot weddington at atmel dot com @ 2009-08-31 16:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from eric dot weddington at atmel dot com 2009-08-31 16:55 -------
Closing bug as WORKSFORME, as it now know to work on four different release
branches of version 4.
--
eric dot weddington at atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work|4.1.2 4.2.0 |4.1.2 4.2.0 4.3.2 4.4.0
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-08-31 16:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-10 21:01 [Bug c/25742] New: Internal compiler error in gen_rtx_SUBREG zer0 at droids-corp dot org
2006-01-10 21:04 ` [Bug c/25742] " zer0 at droids-corp dot org
2006-01-10 21:19 ` berndtrog at yahoo dot com
2006-01-19 8:52 ` [Bug rtl-optimization/25742] " bl at rosetechnology dot dk
2007-05-30 22:18 ` eweddington at cso dot atmel dot com
2007-05-31 1:52 ` pinskia at gcc dot gnu dot org
2009-08-30 2:02 ` abnikant dot singh at atmel dot com
2009-08-31 16:56 ` eric dot weddington at atmel dot com
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).