public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
@ 2011-12-15 10:26 rguenth at gcc dot gnu.org
2011-12-15 10:29 ` [Bug debug/51564] " rguenth at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-15 10:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
Bug #: 51564
Summary: [4.7 Regression] ICE in force_type_die, at
dwarf2out.c:19288
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: lto
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
typedef long int time_t;
void foo(void) {}
int main()
{
foo();
using ::time_t;
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
@ 2011-12-15 10:29 ` rguenth at gcc dot gnu.org
2011-12-15 10:52 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-15 10:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-12-15
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-15 10:26:13 UTC ---
With -g -flto.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
2011-12-15 10:29 ` [Bug debug/51564] " rguenth at gcc dot gnu.org
@ 2011-12-15 10:52 ` rguenth at gcc dot gnu.org
2011-12-15 12:45 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-15 10:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-15 10:47:14 UTC ---
I have a patch.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
2011-12-15 10:29 ` [Bug debug/51564] " rguenth at gcc dot gnu.org
2011-12-15 10:52 ` rguenth at gcc dot gnu.org
@ 2011-12-15 12:45 ` rguenth at gcc dot gnu.org
2011-12-15 13:01 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-15 12:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-15 12:43:52 UTC ---
Author: rguenth
Date: Thu Dec 15 12:43:48 2011
New Revision: 182367
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182367
Log:
2011-12-15 Richard Guenther <rguenther@suse.de>
PR lto/51564
* tree.h (REGISTER_DEFS_IN_THIS_STMT, NECESSARY,
STMT_IN_SSA_EDGE_WORKLIST): Remove no longer existing flag
uses documentation.
(TREE_ASM_WRITTEN): Update documentation to mention its use
on TYPE_DECLs from debug info generation.
* tree-streamer-out.c (pack_ts_base_value_fields): Stream
TREE_ASM_WRITTEN as always zero for TYPE_DECLs, similar to
all other types.
* g++.dg/lto/pr51564-1_0.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/lto/pr51564-1_0.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-streamer-out.c
trunk/gcc/tree.h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
` (2 preceding siblings ...)
2011-12-15 12:45 ` rguenth at gcc dot gnu.org
@ 2011-12-15 13:01 ` rguenth at gcc dot gnu.org
2012-05-03 20:57 ` matt at use dot net
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-15 13:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-15 12:44:32 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
` (3 preceding siblings ...)
2011-12-15 13:01 ` rguenth at gcc dot gnu.org
@ 2012-05-03 20:57 ` matt at use dot net
2012-05-04 8:44 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: matt at use dot net @ 2012-05-03 20:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
Matt Hargett <matt at use dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matt at use dot net
--- Comment #5 from Matt Hargett <matt at use dot net> 2012-05-03 20:56:40 UTC ---
I believe I'm hitting (what I'm pretty sure is) this with same bug GCC 4.6
trunk as well. Can you apply the patch to lto-streamer-out.c on the 4_6 branch
as well? Thanks!
In member function ‘__base_dtor ’:
lto1: internal compiler error: in force_type_die, at dwarf2out.c:21059
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
` (4 preceding siblings ...)
2012-05-03 20:57 ` matt at use dot net
@ 2012-05-04 8:44 ` rguenth at gcc dot gnu.org
2012-05-11 20:39 ` matt at use dot net
2012-05-14 8:15 ` rguenther at suse dot de
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-04 8:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-04 08:42:31 UTC ---
I'm always relucant in backporting this kind of fixes as the LTO state is
so different on branches. Can you confirm that backporting this fix fixes
problems for you? I ask because type-decls do not survive on the 4.6 branch
AFAIK.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
` (5 preceding siblings ...)
2012-05-04 8:44 ` rguenth at gcc dot gnu.org
@ 2012-05-11 20:39 ` matt at use dot net
2012-05-14 8:15 ` rguenther at suse dot de
7 siblings, 0 replies; 9+ messages in thread
From: matt at use dot net @ 2012-05-11 20:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
--- Comment #7 from Matt Hargett <matt at use dot net> 2012-05-11 20:19:01 UTC ---
Applying the patch does allow DWARF serialization to get further, but now it
dies here:
internal compiler error: in add_AT_specification, at dwarf2out.c:7536
It looks like this problem (hiding beneath the original) is related to PR47839,
whose fix was fortran front-end specific.
Should I just file a new bug and reference these other bugs?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/51564] [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
` (6 preceding siblings ...)
2012-05-11 20:39 ` matt at use dot net
@ 2012-05-14 8:15 ` rguenther at suse dot de
7 siblings, 0 replies; 9+ messages in thread
From: rguenther at suse dot de @ 2012-05-14 8:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> 2012-05-14 08:12:44 UTC ---
On Fri, 11 May 2012, matt at use dot net wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51564
>
> --- Comment #7 from Matt Hargett <matt at use dot net> 2012-05-11 20:19:01 UTC ---
> Applying the patch does allow DWARF serialization to get further, but now it
> dies here:
> internal compiler error: in add_AT_specification, at dwarf2out.c:7536
>
> It looks like this problem (hiding beneath the original) is related to PR47839,
> whose fix was fortran front-end specific.
>
> Should I just file a new bug and reference these other bugs?
No, it just means that -g is (expected) somewhat broken still in GCC 4.6.
Only with GCC 4.7 I spent considerable time trying to solve all ICEs
in that area.
It's not worth cherry-picking selcted fixes because they usually expose
other bugs.
Richard.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-05-14 8:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-15 10:26 [Bug debug/51564] New: [4.7 Regression] ICE in force_type_die, at dwarf2out.c:19288 rguenth at gcc dot gnu.org
2011-12-15 10:29 ` [Bug debug/51564] " rguenth at gcc dot gnu.org
2011-12-15 10:52 ` rguenth at gcc dot gnu.org
2011-12-15 12:45 ` rguenth at gcc dot gnu.org
2011-12-15 13:01 ` rguenth at gcc dot gnu.org
2012-05-03 20:57 ` matt at use dot net
2012-05-04 8:44 ` rguenth at gcc dot gnu.org
2012-05-11 20:39 ` matt at use dot net
2012-05-14 8:15 ` rguenther at suse dot de
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).