This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Sep 2016 08:31:16 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-52795-4@http.gcc.gnu.org/bugzilla/>
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.