public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65566] New: thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault
@ 2015-03-25 18:27 rainer@emrich-ebersheim.de
  2015-03-26 11:05 ` [Bug target/65566] " rguenth at gcc dot gnu.org
  2015-03-26 12:06 ` ktietz at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: rainer@emrich-ebersheim.de @ 2015-03-25 18:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65566

            Bug ID: 65566
           Summary: thread-local-var-1-lbv.c:34:1: internal compiler
                    error: Segmentation fault
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rainer@emrich-ebersheim.de

Executing on host:
/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/thread-local-var-1-lbv.c
  -fno-diagnostics-show-caret -fdiagnostics-color=never    -O0 
-fcheck-pointer-bounds -mmpx -lpthread  -lm    -o ./thread-local-var-1-lbv.exe 
  (timeout = 300)
spawn /opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/thread-local-var-1-lbv.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0
-fcheck-pointer-bounds -mmpx -lpthread -lm -o ./thread-local-var-1-lbv.exe
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/thread-local-var-1-lbv.c:34:1:
internal compiler error: Segmentation fault
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/thread-local-var-1-lbv.c:34:1:
internal compiler error: Segmentation fault
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

FAIL: gcc.target/i386/mpx/thread-local-var-1-lbv.c   -O0  (internal compiler
error)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/65566] thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault
  2015-03-25 18:27 [Bug target/65566] New: thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault rainer@emrich-ebersheim.de
@ 2015-03-26 11:05 ` rguenth at gcc dot gnu.org
  2015-03-26 12:06 ` ktietz at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-26 11:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65566

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-03-26
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you run manually and provide a backtrace?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/65566] thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault
  2015-03-25 18:27 [Bug target/65566] New: thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault rainer@emrich-ebersheim.de
  2015-03-26 11:05 ` [Bug target/65566] " rguenth at gcc dot gnu.org
@ 2015-03-26 12:06 ` ktietz at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-03-26 12:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65566

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Confirmed.

We see an segfault (caused by cfun being NULL).

Program received signal SIGSEGV, Segmentation fault.
0x00cee933 in lower_emutls_function_body (node=<optimized out>)
    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=<optimized out>)
    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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-26 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 18:27 [Bug target/65566] New: thread-local-var-1-lbv.c:34:1: internal compiler error: Segmentation fault rainer@emrich-ebersheim.de
2015-03-26 11:05 ` [Bug target/65566] " rguenth at gcc dot gnu.org
2015-03-26 12:06 ` ktietz at gcc dot gnu.org

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).