public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19214] New: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301
@ 2004-12-31 17:37 stolfi at ic dot unicamp dot br
2004-12-31 17:40 ` [Bug c/19214] " stolfi at ic dot unicamp dot br
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: stolfi at ic dot unicamp dot br @ 2004-12-31 17:37 UTC (permalink / raw)
To: gcc-bugs
Compilation of the following short program dies with
Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301
The bug disappears if "NUM" is replaced by "int", even though
"NUM" is just a typedef for "int"
/* bug2.c */
/* Last edited on 2004-12-31 14:42:34 by stolfi */
typedef int NUM;
int p (int x)
{
auto NUM F(void);
NUM F(void) { return x; }
return F();
}
uname -a
Linux simoleo.ic.unicamp.br 2.4.20-8smp #1 SMP Thu Mar 13 16:43:01 EST 2003 i686
athlon i386 GNU/Linux
gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
gcc -dumpmachine
i386-redhat-linux
gcc -c -g -save-temps -Wall bug2.c
bug2.c:13: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301
--
Summary: Internal compiler error in dwarf2out_finish, at
dwarf2out.c:12301
Product: gcc
Version: 3.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stolfi at ic dot unicamp dot br
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-redhat-linux
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19214
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/19214] Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301
2004-12-31 17:37 [Bug c/19214] New: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301 stolfi at ic dot unicamp dot br
@ 2004-12-31 17:40 ` stolfi at ic dot unicamp dot br
2004-12-31 17:41 ` stolfi at ic dot unicamp dot br
2004-12-31 17:46 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: stolfi at ic dot unicamp dot br @ 2004-12-31 17:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From stolfi at ic dot unicamp dot br 2004-12-31 17:40 -------
Created an attachment (id=7850)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7850&action=view)
Preprocessed file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19214
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/19214] Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301
2004-12-31 17:37 [Bug c/19214] New: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301 stolfi at ic dot unicamp dot br
2004-12-31 17:40 ` [Bug c/19214] " stolfi at ic dot unicamp dot br
@ 2004-12-31 17:41 ` stolfi at ic dot unicamp dot br
2004-12-31 17:46 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: stolfi at ic dot unicamp dot br @ 2004-12-31 17:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From stolfi at ic dot unicamp dot br 2004-12-31 17:41 -------
Created an attachment (id=7851)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7851&action=view)
Assembler file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19214
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/19214] Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301
2004-12-31 17:37 [Bug c/19214] New: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301 stolfi at ic dot unicamp dot br
2004-12-31 17:40 ` [Bug c/19214] " stolfi at ic dot unicamp dot br
2004-12-31 17:41 ` stolfi at ic dot unicamp dot br
@ 2004-12-31 17:46 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-31 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-31 17:46 -------
Fixed already in 3.3. Yes I can reproduce it in 3.2.2.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-valid-code
Resolution| |FIXED
Target Milestone|--- |3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19214
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-31 17:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-31 17:37 [Bug c/19214] New: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12301 stolfi at ic dot unicamp dot br
2004-12-31 17:40 ` [Bug c/19214] " stolfi at ic dot unicamp dot br
2004-12-31 17:41 ` stolfi at ic dot unicamp dot br
2004-12-31 17:46 ` pinskia 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).