This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54652] [4.7/4.8/4.9 Regression] ICE with -g
- From: "reichelt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Oct 2013 22:44:18 +0000
- Subject: [Bug c++/54652] [4.7/4.8/4.9 Regression] ICE with -g
- Auto-submitted: auto-generated
- References: <bug-54652-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54652
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |3.4.0
Keywords| |ice-on-valid-code
Last reconfirmed| |2013-10-19
CC| |reichelt at gcc dot gnu.org
Ever confirmed|0 |1
Summary|ICE with -g |[4.7/4.8/4.9 Regression]
| |ICE with -g
Target Milestone|--- |4.7.4
Known to fail| |4.0.0, 4.1.0, 4.2.0, 4.3.0,
| |4.4.0, 4.5.0, 4.6.0, 4.7.0,
| |4.8.0, 4.9.0
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Confirmed. Even shorter testcase (which crashes since GCC 4.0.0):
=====================================================
typedef unsigned L __attribute__ ((aligned));
typedef unsigned L __attribute__ ((aligned));
L l;
=====================================================
bug.cc:4:4: internal compiler error: tree check: expected identifier_node, have
<invalid tree code> in modified_type_die, at dwarf2out.c:10376
L l;
^
0xd15bb4 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
../../gcc/gcc/tree.c:9301
0x8844b0 tree_check
../../gcc/gcc/tree.h:2674
0x8844b0 modified_type_die
../../gcc/gcc/dwarf2out.c:10376
0x8859b9 add_type_attribute
../../gcc/gcc/dwarf2out.c:16717
0x892dd0 gen_variable_die
../../gcc/gcc/dwarf2out.c:18621
0x87eea1 gen_decl_die
../../gcc/gcc/dwarf2out.c:20294
0xb17633 emit_debug_global_declarations(tree_node**, int)
../../gcc/gcc/toplev.c:531
0x55a520 wrapup_globals_for_namespace(tree_node*, void*)
../../gcc/gcc/cp/decl.c:876
0x55759c walk_namespaces_r
../../gcc/gcc/cp/decl.c:843
0x625533 cp_write_global_declarations()
../../gcc/gcc/cp/decl2.c:4455
Please submit a full bug report, [etc.]