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

            Bug ID: 59066
           Summary: Segmentation fault.
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexandre.hamez at gmail dot com

Created attachment 31188
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31188&action=edit
Preprocessed sources.

G++ crashes with the following backtrace :

g++ -std=c++11  ./bug.ii -O0
./bug.ii: In member function 'SDD<C> homomorphism<C>::operator()(SDD<C>) [with
C = conf0]':
./bug.ii:1203:60: internal compiler error: Segmentation fault
     return apply_binary_visitor(evaluation<C>(), **this, *x);

0x8a386f crash_signal
    ../.././gcc/toplev.c:332
0xa37012 make_decl_rtl(tree_node*)
    ../.././gcc/varasm.c:1197
0x64ac37 rtx_for_function_call
    ../.././gcc/calls.c:1675
0x64ac37 expand_call(tree_node*, rtx_def*, int)
    ../.././gcc/calls.c:2983
0x6f8f4b expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
    ../.././gcc/expr.c:10246
0x655e20 expand_call_stmt
    ../.././gcc/cfgexpand.c:2114
0x655e20 expand_gimple_stmt_1
    ../.././gcc/cfgexpand.c:2152
0x655e20 expand_gimple_stmt
    ../.././gcc/cfgexpand.c:2304
0x65668d expand_gimple_basic_block
    ../.././gcc/cfgexpand.c:4138
0x6586e6 gimple_expand_cfg
    ../.././gcc/cfgexpand.c:4657

G++ is called as follow:
g++ -std=c++11  ./bug.ii -O0

Reply via email to