public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621
@ 2005-07-24 8:13 dank at kegel dot com
2005-07-24 13:37 ` [Bug c++/23045] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dank at kegel dot com @ 2005-07-24 8:13 UTC (permalink / raw)
To: gcc-bugs
In testing gcc-4.1-20050716 for i686:
I originally ran into the following error
internal compiler error: tree check: expected tree that contains 'decl
minimal' structure, have 'record_type' in lookup_decl_die, at dwarf2out.c:5461
on the last line of a program. While starting to come up with
a minimal test case, I was surprised to find that although
I could reproduce that error with preprocessed source,
stripping out the lines starting with # produced a different error:
x.ii: In instantiation of '__gnu_cxx::rope<char, std::allocator<char> >':
x.ii:42429: instantiated from here
x.ii:41107: internal compiler error: in force_decl_die, at dwarf2out.c:12621
This is probably fortunate, since it now dies much sooner than at the
end of the program.
To reproduce this, unpack http://kegel.com/gcc/ice-rope.ii.gz,
then compile it with
i686-unknown-linux-gnu-gcc -g -Wall -Werror -funsigned-char -c
Apologies for not finding a small testcase,
and for using a week-old snapshot for testing.
Hopefully this is useful anyway.
--
Summary: ICE in force_decl_die, at dwarf2out.c:12621
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23045
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621
2005-07-24 8:13 [Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621 dank at kegel dot com
@ 2005-07-24 13:37 ` pinskia at gcc dot gnu dot org
2005-07-24 17:29 ` dank at kegel dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 13:25 -------
lookup_decl_die is most likely PR 22034.
force_decl_die is most likely PR 22514.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23045
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621
2005-07-24 8:13 [Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621 dank at kegel dot com
2005-07-24 13:37 ` [Bug c++/23045] " pinskia at gcc dot gnu dot org
@ 2005-07-24 17:29 ` dank at kegel dot com
2005-07-24 17:29 ` pinskia at gcc dot gnu dot org
2005-08-07 6:19 ` dank at kegel dot com
3 siblings, 0 replies; 5+ messages in thread
From: dank at kegel dot com @ 2005-07-24 17:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dank at kegel dot com 2005-07-24 17:28 -------
Yep.
Compiling PR22034's testcase yields
pr22034.cc:6: internal compiler error: tree check: expected tree that contains
'decl minimal' structure, have 'record_type' in lookup_decl_die, at
dwarf2out.c:5461
And compiling pr22514's testcase yields
pr22514.cc:11: error: expected unqualified-id before '}' token
pr22514.cc: In instantiation of 's::list<1>':
pr22514.cc:12: instantiated from here
pr22514.cc:8: internal compiler error: in force_decl_die, at dwarf2out.c:12621
So this is a dup. Sorry for the noise.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23045
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621
2005-07-24 8:13 [Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621 dank at kegel dot com
2005-07-24 13:37 ` [Bug c++/23045] " pinskia at gcc dot gnu dot org
2005-07-24 17:29 ` dank at kegel dot com
@ 2005-07-24 17:29 ` pinskia at gcc dot gnu dot org
2005-08-07 6:19 ` dank at kegel dot com
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24 17:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 17:29 -------
*** This bug has been marked as a duplicate of 22034 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23045
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/23045] ICE in force_decl_die, at dwarf2out.c:12621
2005-07-24 8:13 [Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621 dank at kegel dot com
` (2 preceding siblings ...)
2005-07-24 17:29 ` pinskia at gcc dot gnu dot org
@ 2005-08-07 6:19 ` dank at kegel dot com
3 siblings, 0 replies; 5+ messages in thread
From: dank at kegel dot com @ 2005-08-07 6:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dank at kegel dot com 2005-08-07 06:19 -------
And sure enough, gcc-4.1-20050806 fixes it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23045
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-07 6:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-24 8:13 [Bug c++/23045] New: ICE in force_decl_die, at dwarf2out.c:12621 dank at kegel dot com
2005-07-24 13:37 ` [Bug c++/23045] " pinskia at gcc dot gnu dot org
2005-07-24 17:29 ` dank at kegel dot com
2005-07-24 17:29 ` pinskia at gcc dot gnu dot org
2005-08-07 6:19 ` dank at kegel 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).