http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-04 14:19:56 UTC --- (In reply to comment #3) > Hmm, are you saying gdb fooled me? Yes. > Any other suggestions how to debug it? Can you provide the output of (gdb) call debug_function (cfun->decl, TDF_UID) at the point of the crash? And eventually look which pass introduces the 'return XXX;' with XXX that does not match what you get with (gdb) call print_generic_expr (stderr, result, TDF_UID) ?