http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48159
Matthias Klose <doko at ubuntu dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doko at ubuntu dot com
--- Comment #2 from Matthias Klose <doko at ubuntu dot com> 2011-05-02 17:05:14
UTC ---
have a similiar build failure, but seen with both 4.6 and 4.7, so this seems to
be a 4.6 regression too. works with -O2 and below.
fails with 4.6 20110428 and trunk 20110419.
$ gcc -g -O3 -c psf.i
psf.c: In function 'psf_fit':
psf.c:300:6: internal compiler error: Segmentation fault
Please submit a full bug report,
Program received signal SIGSEGV, Segmentation fault.
0x000000000083e71a in build2_stat ()
(gdb) bt
#0 0x000000000083e71a in build2_stat ()
#1 0x00000000005490ee in gimple_assign_rhs_to_tree ()
#2 0x000000000080114e in insert_debug_temp_for_var_def ()
#3 0x0000000000801538 in insert_debug_temps_for_defs ()
#4 0x000000000062553a in gsi_remove ()
#5 0x0000000000763862 in ?? ()
#6 0x000000000076402f in ?? ()
#7 0x000000000069f0e9 in execute_one_pass ()
#8 0x000000000069f395 in execute_pass_list ()
#9 0x000000000069f3a7 in execute_pass_list ()
#10 0x000000000069f3a7 in execute_pass_list ()
#11 0x000000000076b051 in tree_rest_of_compilation ()
#12 0x00000000008a915f in ?? ()
#13 0x00000000008aadba in cgraph_optimize ()
#14 0x00000000008ab1ba in cgraph_finalize_compilation_unit ()
#15 0x00000000004b6e05 in c_write_global_declarations ()
#16 0x00000000007301be in toplev_main ()
#17 0x00007ffff625aeed in __libc_start_main (main=<value optimized out>,
argc=<value optimized out>,
ubp_av=<value optimized out>, init=<value optimized out>, fini=<value
optimized out>,
rtld_fini=<value optimized out>, stack_end=0x7fffffffe5e8) at
libc-start.c:228
#18 0x00000000004a67f9 in _start ()