------- Comment #3 from bugzilla-gcc at thewrittenword dot com 2008-03-28 20:58 ------- (In reply to comment #2) > (In reply to comment #1) > > ld is running at this time so I doubt this is a GCC bug. > > The Pid it is referring to ("Pid 18929 received a SIGSEGV for stack growth > failure.") is /opt/build/china/gcc-4.2.3-objdir/./gcc/xgcc.
Seems to be recursing in cancel_option until stack runs out: Breakpoint 5, cancel_option (opt_idx=30, next_opt_idx=0, orig_next_opt_idx=555) at /opt/build/gcc-4.2.3/gcc/opts-common.c:118 118 if (cl_options [next_opt_idx].neg_index == opt_idx) (gdb) n 121 if (cl_options [next_opt_idx].neg_index != orig_next_opt_idx) (gdb) 122 return cancel_option (opt_idx, cl_options [next_opt_idx].neg_index, (gdb) Breakpoint 5, cancel_option (opt_idx=30, next_opt_idx=0, orig_next_opt_idx=555) at /opt/build/gcc-4.2.3/gcc/opts-common.c:118 118 if (cl_options [next_opt_idx].neg_index == opt_idx) (gdb) 121 if (cl_options [next_opt_idx].neg_index != orig_next_opt_idx) (gdb) 122 return cancel_option (opt_idx, cl_options [next_opt_idx].neg_index, (gdb) Breakpoint 5, cancel_option (opt_idx=30, next_opt_idx=0, orig_next_opt_idx=555) at /opt/build/gcc-4.2.3/gcc/opts-common.c:118 118 if (cl_options [next_opt_idx].neg_index == opt_idx) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169