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



             Bug #: 56848

           Summary: [4.7 Regression] ICE (segfault) with the 4.7.3 release

                    candidate

    Classification: Unclassified

           Product: gcc

           Version: 4.7.3

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: middle-end

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: d...@gcc.gnu.org





Created attachment 29808

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29808

preprocessed source



lowering to -O1 works around it. r197184 does work, r197476 not.



$ gcc -c -g -O2 perf_event.i arch/x86/kernel/cpu/perf_event.c: In function

'get_segment_base':

arch/x86/kernel/cpu/perf_event.c:1887:1: internal compiler error: Segmentation

fault

Please submit a full bug report,

with preprocessed source if appropriate.



(gdb) bt

#0  0x0000000000bd312d in ?? ()

#1  0x0000000000bd305e in ?? ()

#2  0x0000000000bd2c6b in ?? ()

#3  0x0000000000bd357d in ?? ()

#4  0x0000000000bd51b0 in deps_analyze_insn(deps_desc*, rtx_def*) ()

#5  0x0000000000bd5603 in sched_analyze(deps_desc*, rtx_def*, rtx_def*) ()

#6  0x0000000000760d12 in sched_rgn_compute_dependencies(int) ()

#7  0x00000000007635f2 in schedule_insns() ()

#8  0x0000000000763a41 in ?? ()

#9  0x000000000070b778 in execute_one_pass(opt_pass*) ()

#10 0x000000000070bad5 in execute_pass_list(opt_pass*) ()

#11 0x000000000070bae7 in execute_pass_list(opt_pass*) ()

#12 0x000000000070bae7 in execute_pass_list(opt_pass*) ()

#13 0x00000000007e5439 in tree_rest_of_compilation(tree_node*) ()

#14 0x0000000000592afa in ?? ()

#15 0x000000000059434c in cgraph_optimize() ()

#16 0x00000000005947fa in cgraph_finalize_compilation_unit() ()

#17 0x00000000004d44e8 in c_write_global_declarations() ()

#18 0x000000000079edce in toplev_main(int, char**) ()

#19 0x00007ffff670dea5 in __libc_start_main () from

/lib/x86_64-linux-gnu/libc.so.6

#20 0x00000000004c3351 in _start ()

Reply via email to