http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47995
Maksim Rayskiy <maksim.rayskiy at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maksim.rayskiy at gmail dot | |com --- Comment #3 from Maksim Rayskiy <maksim.rayskiy at gmail dot com> 2011-04-26 19:51:11 UTC --- I want to add that segfault goes away if testcase is compiled with -fno-ipa-sra option. Also, the crash itself is a stack overflow because of infinite recursion in config/mips/mips.c: mips_find_pic_call_symbol -> mips_pic_call_symbol_from_set -> mips_find_pic_call_symbol -> ... I am not sure I understand what condition does not allow the recursion to break.