From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29526 invoked by alias); 19 Oct 2013 22:44:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29478 invoked by uid 48); 19 Oct 2013 22:44:19 -0000 From: "reichelt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54652] [4.7/4.8/4.9 Regression] ICE with -g Date: Sat, 19 Oct 2013 22:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: reichelt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg01394.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54652 Volker Reichelt 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 --- 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 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.]