From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61358 invoked by alias); 26 Mar 2015 11:30:56 -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 61334 invoked by uid 48); 26 Mar 2015 11:30:52 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65566] thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault Date: Thu, 26 Mar 2015 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2015-03/txt/msg02937.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65566 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |ktietz at gcc dot gnu.org --- Comment #2 from Kai Tietz --- Confirmed. We see an segfault (caused by cfun being NULL). Program received signal SIGSEGV, Segmentation fault. 0x00cee933 in lower_emutls_function_body (node=) at ../../gcc/gcc/tree-emutls.c:644 644 FOR_EACH_BB_FN (d.bb, cfun) (gdb) print cfun $1 = (function *) 0x0 (gdb) bt #0 0x00cee933 in lower_emutls_function_body (node=) at ../../gcc/gcc/tree-emutls.c:644 #1 ipa_lower_emutls () at ../../gcc/gcc/tree-emutls.c:810 #2 (anonymous namespace)::pass_ipa_lower_emutls::execute (this=0x800524b0) at ../../gcc/gcc/tree-emutls.c:850 #3 0x007354b5 in execute_one_pass (pass=pass@entry=0x800524b0) at ../../gcc/gcc/passes.c:2330 #4 0x00736010 in execute_ipa_pass_list (pass=0x800524b0) at ../../gcc/gcc/passes.c:2729 #5 0x0074253d in ipa_passes () at ../../gcc/gcc/cgraphunit.c:2154 #6 symbol_table::compile (this=this@entry=0xfff20000) at ../../gcc/gcc/cgraphunit.c:2295 #7 0x007447af in symbol_table::finalize_compilation_unit (this=0xfff20000) at ../../gcc/gcc/cgraphunit.c:2444 #8 0x0041fbbc in c_write_global_declarations () at ../../gcc/gcc/c/c-decl.c:10801 #9 0x0077dd37 in compile_file () at ../../gcc/gcc/toplev.c:608 #10 0x01199823 in do_compile () at ../../gcc/gcc/toplev.c:2076 #11 toplev::main (this=this@entry=0xc1bab8e, argc=argc@entry=7, argv=argv@entry=0xc1babbc) at ../../gcc/gcc/toplev.c:2174 #12 0x012096d2 in main (argc=7, argv=0xc1babbc) at ../../gcc/gcc/main.c:39