http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48253
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-23 13:01:54 UTC --- Created attachment 23757 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23757 aranges2.c Another testcase, this one needs profile feedback (i.e. run compile/link first with the options and -fprofile-generate, run, compile again with -fprofile-use). On this testcase we can see other bugs, e.g. DW_AT_ranges for f1 DW_TAG_subprogram is wrong, it covers twice the same range, once perhaps with a few extra bytes of padding before it, and then not at all the cold part.