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

           Summary: Crash compiling arm-unknown-linux-gnueabi libgcc
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: rmansfi...@qnx.com
                CC: rsand...@gcc.gnu.org
              Host: x86_64-linux-gnu
            Target: arm-unknown-linux-gnueabi
             Build: x86_64-linux-gnu


/home/ryan/gnu/gcc/trunk/arm-eabi/./gcc/xgcc
-B/home/ryan/gnu/gcc/trunk/arm-eabi/./gcc/
-B/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/bin/
-B/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/lib/
-isystem
/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/include
-isystem
/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-include
   -g -Os -O2  -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -Wno-missing-prototypes -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector 
 -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
-I../../../libgcc/../gcc -I../../../libgcc/../include  -DHAVE_CC_TLS  -o
_powitf2.o -MT _powitf2.o -MD -MP -MF _powitf2.dep -DL_powitf2 -c
../../../libgcc/../gcc/libgcc2.c \

../../../libgcc/../gcc/libgcc2.c: In function '__powisf2':
../../../libgcc/../gcc/libgcc2.c:1735:1: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_powisf2.o] Error 1

Program received signal SIGBUS, Bus error.
rtx_equal_p (x=0xafafafaf00000086, y=<value optimized out>)
    at ../../gcc/rtl.c:512
512      code = GET_CODE (x);
(gdb) bt
#0  rtx_equal_p (x=0xafafafaf00000086, y=<value optimized out>)
    at ../../gcc/rtl.c:512
#1  0x0000000000ba027b in recog_1 (x0=0x7ffff6cfcdd0, 
    pnum_clobbers=0x7fffffffdbac, insn=<value optimized out>)
    at ../../gcc/config/arm/arm.md:3975
#2  recog_5 (x0=0x7ffff6cfcdd0, pnum_clobbers=0x7fffffffdbac, 
    insn=<value optimized out>) at ../../gcc/config/arm/arm.md:3742
#3  0x0000000000ba9bab in recog_16 (x0=0x7ffff6cfcdd0, 
    pnum_clobbers=0x7fffffffdbac, insn=<value optimized out>)
    at ../../gcc/config/arm/arm.md:10029
#4  0x0000000000c17595 in recog_for_combine (pnewpat=0x7fffffffdde8, 
    insn=0x7ffff6d6d480, pnotes=0x7fffffffdda0) at ../../gcc/combine.c:10648
#5  0x0000000000c28309 in try_combine (i3=0x7ffff6d6d480, i2=0x7ffff6d6d3f0, 
    i1=0x0, i0=<value optimized out>, new_direct_jump_p=0x7fffffffde6c, 
    last_combined_insn=<value optimized out>) at ../../gcc/combine.c:3350
#6  0x0000000000c2ceb5 in combine_instructions () at ../../gcc/combine.c:1223
#7  rest_of_handle_combine () at ../../gcc/combine.c:13902
#8  0x00000000007bd441 in execute_one_pass (pass=0x1240400)
    at ../../gcc/passes.c:1556
#9  0x00000000007bd6f5 in execute_pass_list (pass=0x1240400)
    at ../../gcc/passes.c:1610
#10 0x00000000007bd707 in execute_pass_list (pass=0x1237280)
    at ../../gcc/passes.c:1611
#11 0x00000000008d2478 in tree_rest_of_compilation (fndecl=0x7ffff6d07300)
    at ../../gcc/tree-optimize.c:417
#12 0x00000000005a4405 in cgraph_expand_function (node=0x7ffff6d13000)
    at ../../gcc/cgraphunit.c:1630
#13 0x00000000005a61da in cgraph_expand_all_functions ()
    at ../../gcc/cgraphunit.c:1689
#14 cgraph_optimize () at ../../gcc/cgraphunit.c:1952
#15 0x00000000005a677a in cgraph_finalize_compilation_unit ()
    at ../../gcc/cgraphunit.c:1126
#16 0x000000000049a418 in c_write_global_declarations ()
    at ../../gcc/c-decl.c:9840
#17 0x0000000000861d06 in compile_file (argc=12, argv=0x7fffffffe108)
    at ../../gcc/toplev.c:586
#18 do_compile (argc=12, argv=0x7fffffffe108) at ../../gcc/toplev.c:1923
#19 toplev_main (argc=12, argv=0x7fffffffe108) at ../../gcc/toplev.c:1995
#20 0x00007ffff718deff in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
#21 0x000000000047e959 in _start ()
(gdb) 

The change that triggered the crash is:

http://gcc.gnu.org/viewcvs?view=revision&revision=174305

Reply via email to