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

            Bug ID: 59129
           Summary: assert fail for tree.c:4150
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 31216
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31216&action=edit
C source code

I just tried to compile package gplcver-2.12a-7.fc20 with
gcc 4.9 trunk dated 20131113. It said

v_vpi3.c: In function 'set_vpisfcall_retval':
v_vpi3.c:4542:13: internal compiler error: Segmentation fault
 static void set_vpisfcall_retval(struct h_t *hp, p_vpi_value value_p)
             ^
0xa76c9f crash_signal
    ../../src/trunk/gcc/toplev.c:334
0xcb8e83 build2_stat(tree_code, tree_node*, tree_node*, tree_node*)
    ../../src/trunk/gcc/tree.c:4150
0x67938c gimple_assign_rhs_to_tree(gimple_statement_d*)
    ../../src/trunk/gcc/cfgexpand.c:103
0xc35851 insert_debug_temp_for_var_def(gimple_stmt_iterator_d*, tree_node*)
    ../../src/trunk/gcc/tree-ssa.c:442
0xc35f49 insert_debug_temps_for_defs(gimple_stmt_iterator_d*)
    ../../src/trunk/gcc/tree-ssa.c:549
0x84607a gsi_remove(gimple_stmt_iterator_d*, bool)
    ../../src/trunk/gcc/gimple-iterator.c:563
0xf7d77c insert_trap_and_remove_trailing_statements
    ../../src/trunk/gcc/gimple-ssa-isolate-paths.c:110
0xf7e552 gimple_ssa_isolate_erroneous_paths
    ../../src/trunk/gcc/gimple-ssa-isolate-paths.c:305
0xf7e552 execute
    ../../src/trunk/gcc/gimple-ssa-isolate-paths.c:370
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.

Preprocessed source code attached. Flags -g -O2 required.

Reply via email to