From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23752 invoked by alias); 19 Jun 2014 08:03:20 -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 23710 invoked by uid 48); 19 Jun 2014 08:03:15 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61558] [4.10 Regression] ICE: Segmentation fault Date: Thu, 19 Jun 2014 08:03: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.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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.10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc version target_milestone short_desc everconfirmed 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: 2014-06/txt/msg01616.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61558 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-06-19 CC| |trippels at gcc dot gnu.org Version|4.9.0 |4.10.0 Target Milestone|--- |4.10.0 Summary|ice in |[4.10 Regression] ICE: |insert_to_assembler_name_ha |Segmentation fault |sh | Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf --- markus@x4 tmp % cat bug2.ii static __typeof 0 a __attribute__ ((__weakref__ (""))); template class A { static __thread int b; }; Program received signal SIGSEGV, Segmentation fault. [Switching to process 20878] decl_assembler_name_hash (asmname=0x0) at ../../gcc/gcc/symtab.c:80 80 if (IDENTIFIER_POINTER (asmname)[0] == '*') (gdb) bt #0 decl_assembler_name_hash (asmname=0x0) at ../../gcc/gcc/symtab.c:80 #1 0x000000000083ca10 in insert_to_assembler_name_hash (node=0x7ffff73da078, with_clones=) at ../../gcc/gcc/symtab.c:191 #2 0x000000000083cb62 in symtab_initialize_asm_name_hash () at ../../gcc/gcc/symtab.c:366 #3 0x000000000083ccbd in symtab_initialize_asm_name_hash () at ../../gcc/gcc/symtab.c:390 #4 symtab_node_for_asm (asmname=0x7ffff73d4420) at ../../gcc/gcc/symtab.c:379 #5 0x0000000000848e91 in handle_alias_pairs () at ../../gcc/gcc/cgraphunit.c:1152 #6 0x000000000084d8bd in finalize_compilation_unit () at ../../gcc/gcc/cgraphunit.c:2320 #7 0x000000000063b2af in cp_write_global_declarations () at ../../gcc/gcc/cp/decl2.c:4647 #8 0x0000000000b85c2d in compile_file () at ../../gcc/gcc/toplev.c:562 #9 0x0000000000b87c75 in do_compile () at ../../gcc/gcc/toplev.c:1918 #10 toplev_main (argc=12, argv=0x7fffffffdee8) at ../../gcc/gcc/toplev.c:1994 #11 0x00007ffff75fbfb0 in __libc_start_main () from /lib/libc.so.6 #12 0x000000000054b841 in _start () (gdb) p asmname $1 = (const_tree) 0x0