[Bug target/52795] FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE on {x86_64,i386}-apple-darwin{10,11} at -m64
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 21 08:31:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52795
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
Created attachment 39664
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39664&action=edit
Reorganize hot/cold output to allow atoms to be properly detected.
This is a proof-of-principle patch that reorganizes the output of the hot/cold
partitions so that section switches are only made when needed. Although it was
done to make the atom detection work with ld64, IMO - it makes the asm more
readable for linux too... but that's a side-effect of course.
This is a very invasive patch, because it touches debug output - so some way to
test more widely would be needed. However, worth testing as a resolution for
this problem.
More information about the Gcc-bugs
mailing list