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

            Bug ID: 61631
           Summary: [4.10 regression] ICE unwind-dw2.c:1639:5: internal
                    compiler error: Segmentation fault
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

r212073 FAIL
r211865 PASS

Fedora 20, x86_64

configure --enable-checking=fold --disable-multilib
make
[stage1 pass]
[...]
/home/dimhen/build/gcc_current/./gcc/xgcc
-B/home/dimhen/build/gcc_current/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC 
  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fpic -mlong-double-80 -I. -I. -I../.././gcc
-I/home/dimhen/src/gcc_current/libgcc -I/home/dimhen/src/gcc_current/libgcc/.
-I/home/dimhen/src/gcc_current/libgcc/../gcc
-I/home/dimhen/src/gcc_current/libgcc/../include
-I/home/dimhen/src/gcc_current/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF
unwind-dw2.dep -fexceptions -c /home/dimhen/src/gcc_current/libgcc/unwind-dw2.c
-fvisibility=hidden -DHIDE_EXPORTS
/home/dimhen/src/gcc_current/libgcc/unwind-dw2.c: In function
'uw_install_context_1':
/home/dimhen/src/gcc_current/libgcc/unwind-dw2.c:1639:5: internal compiler
error: Segmentation fault
     _Unwind_SetSpColumn (target, target->cfa, &sp_slot);
     ^
0xae996b crash_signal
    /home/dimhen/src/gcc_current/gcc/toplev.c:337
0x86e62f fold_checksum_tree
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14759
0x86ec3e fold_checksum_tree
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14861
0x86ed58 fold_checksum_tree
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14872
0x86e832 fold_checksum_tree
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14791
0x86e832 fold_checksum_tree
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14791
0x86e400 fold(tree_node*)
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14706
0x66bab7 c_fully_fold_internal
    /home/dimhen/src/gcc_current/gcc/c-family/c-common.c:1365
0x66af75 c_fully_fold(tree_node*, bool, bool*)
    /home/dimhen/src/gcc_current/gcc/c-family/c-common.c:1097
0x62bcdf convert_arguments
    /home/dimhen/src/gcc_current/gcc/c/c-typeck.c:3112
0x62b569 build_function_call_vec(unsigned int, vec<unsigned int, va_heap,
vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*, vec<tree_node*, va_gc,
vl_embed>*)
    /home/dimhen/src/gcc_current/gcc/c/c-typeck.c:2903
0x62b9e2 c_build_function_call_vec(unsigned int, vec<unsigned int, va_heap,
vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*, vec<tree_node*, va_gc,
vl_embed>*)
    /home/dimhen/src/gcc_current/gcc/c/c-typeck.c:2988
0x655b4b c_parser_postfix_expression_after_primary
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:7729
0x655598 c_parser_postfix_expression
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:7563
0x652814 c_parser_unary_expression
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:6502
0x651d88 c_parser_cast_expression
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:6340
0x650b7d c_parser_binary_expression
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:6155
0x6505c2 c_parser_conditional_expression
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5931
0x65034a c_parser_expr_no_commas
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5849
0x65612e c_parser_expression
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:7856
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.
make[3]: *** [unwind-dw2.o] Error 1
make[3]: Leaving directory
`/home/dimhen/build/gcc_current/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/dimhen/build/gcc_current'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/dimhen/build/gcc_current'
make: *** [all] Error 2


$ /home/dimhen/build/gcc_current/./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/home/dimhen/build/gcc_current/./gcc/xgcc
Target: x86_64-unknown-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure --enable-checking=fold
--disable-multilib
Thread model: posix
gcc version 4.10.0 20140627 (experimental) [trunk revision 212073] (GCC)

Reply via email to