http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60556

            Bug ID: 60556
           Summary: tip of tree crash with mips compiler
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: reed.kotler at imgtec dot com

Attached is .ii file and .sh to run the compiler.

This is a compiler I've built with tip of tree sources.

rkotler@mipssw006:~/slave/gccbugx86/build/lib/ExecutionEngine$ bash doit.sh
/home/rkotler/llvm_trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp: In member
function 'virtual void*
llvm::RTDyldMemoryManager::getPointerToNamedFunction(const string&, bool)':
/home/rkotler/llvm_trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp:227:41:
internal compiler error: Segmentation fault
   if (Name == "stat") return (uint64_t)&stat;
                                         ^
0xb0acbf crash_signal
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/toplev.c:337
0x8960bb emit_move_insn(rtx_def*, rtx_def*)
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/expr.c:3609
0x899379 convert_move(rtx_def*, rtx_def*, int)
    /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/expr.c:567
0x8997da convert_modes(machine_mode, machine_mode, rtx_def*, int)
    /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/expr.c:798
0x8a458a expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/expr.c:8203
0x7bc783 expand_gimple_stmt_1
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/cfgexpand.c:3252
0x7bc783 expand_gimple_stmt
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/cfgexpand.c:3312
0x7bd9e7 expand_gimple_basic_block
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/cfgexpand.c:5152
0x7c0119 gimple_expand_cfg
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/cfgexpand.c:5731
0x7c0119 execute
 /home/rkotler/slave/slavebuildgccbe/build/src/gcc/gcc/cfgexpand.c:5951
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
rkotler@mipssw006:~/slave/gccbugx86/build/lib/ExecutionEngine$

Reply via email to