http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54793
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-25 09:35:17 UTC --- Created attachment 29271 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29271 gcc48-pr54793.patch So, e.g. this seems to work for me from quick testing. The insn chain scanning is there e.g. to emit the profiler stuff right away when final_start_function is called from output_mi_thunk on various targets.