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

            Bug ID: 58121
           Summary: [4.9 regression] FAIL: cc1224a
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sch...@linux-m68k.org
            Target: ia64-*-*

$ ADA_INCLUDE_PATH=/usr/local/gcc/gcc-20130811/Build/gcc/ada/rts/
ADA_OBJECTS_PATH=/usr/local/gcc/gcc-20130811/Build/gcc/ada/rts/
/usr/local/gcc/gcc-20130811/Build/gcc/gnatmake
--GCC="/usr/local/gcc/gcc-20130811/Build/gcc/xgcc
-B/usr/local/gcc/gcc-20130811/Build/gcc/" -gnatws -O2 -gnat95
-I/usr/local/gcc/gcc-20130811/Build/gcc/testsuite/ada/acats2/support
cc1224a.adb -largs --GCC="/usr/local/gcc/gcc-20130811/Build/gcc/xgcc
-B/usr/local/gcc/gcc-20130811/Build/gcc/" 
/usr/local/gcc/gcc-20130811/Build/gcc/xgcc -c
-B/usr/local/gcc/gcc-20130811/Build/gcc/ -gnatws -O2 -gnat95
-I/usr/local/gcc/gcc-20130811/Build/gcc/testsuite/ada/acats2/support
cc1224a.adb

raised STORAGE_ERROR : stack overflow or erroneous memory access
gnatmake: "cc1224a.adb" compilation error

Program received signal SIGSEGV, Segmentation fault.
expand_call_inline (id=0x600ffffffffeed40, stmt=0x20000000005df030, 
    bb=<optimized out>) at ../../gcc/tree-inline.c:3933
3933      if (cg_edge->indirect_unknown_callee)
(gdb) bt
#0  expand_call_inline (id=0x600ffffffffeed40, stmt=0x20000000005df030, 
    bb=<optimized out>) at ../../gcc/tree-inline.c:3933
#1  gimple_expand_calls_inline (id=0x600ffffffffeed40, bb=0x2000000000a6bae0)
    at ../../gcc/tree-inline.c:4284
#2  optimize_inline_calls (fn=0x2000000000757b00)
    at ../../gcc/tree-inline.c:4438
#3  0x40000000018b62f0 in inline_transform (node=0x2000000000770260)
    at ../../gcc/ipa-inline-transform.c:421
#4  0x400000000104b2e0 in execute_one_ipa_transform_pass (
    ipa_pass=0x60000000007a3590, node=0x2000000000770260)
    at ../../gcc/passes.c:2022
#5  execute_all_ipa_transforms () at ../../gcc/passes.c:2062
#6  0x4000000000bd5780 in expand_function (node=0x2000000000770260)
    at ../../gcc/cgraphunit.c:1605
#7  0x4000000000bd9d50 in expand_all_functions ()
    at ../../gcc/cgraphunit.c:1717
#8  compile () at ../../gcc/cgraphunit.c:2054
#9  0x4000000000bda360 in finalize_compilation_unit ()
    at ../../gcc/cgraphunit.c:2131
#10 0x40000000002fb510 in gnat_write_global_declarations ()
    at ../../gcc/ada/gcc-interface/utils.c:5630
#11 0x40000000011e8ed0 in compile_file () at ../../gcc/toplev.c:560
#12 0x40000000011ee780 in do_compile () at ../../gcc/toplev.c:1878
#13 toplev_main (argc=12, argv=0x600ffffffffef128) at ../../gcc/toplev.c:1954
#14 0x40000000002989f0 in main (argc=12, argv=0x600ffffffffef128)
    at ../../gcc/main.c:37

Reply via email to