diff options
author | Eugene Rozenfeld <erozen@microsoft.com> | 2021-08-02 17:22:34 -0700 |
---|---|---|
committer | Eugene Rozenfeld <erozen@microsoft.com> | 2021-08-03 14:26:27 -0700 |
commit | 0ed093c7c3f755bc1cd80e5186abeb2f5c50ee0c (patch) | |
tree | 0690e09e10ca5029f5847d60a454c9e2d95af22a /libgcc | |
parent | f9ad3d5339faaaed6e15a7b27d90fbc66eb72f37 (diff) | |
download | gcc-0ed093c7c3f755bc1cd80e5186abeb2f5c50ee0c.zip gcc-0ed093c7c3f755bc1cd80e5186abeb2f5c50ee0c.tar.gz gcc-0ed093c7c3f755bc1cd80e5186abeb2f5c50ee0c.tar.bz2 |
Fix indir-call-prof-2.c with AutoFDO
indir-call-prof-2.c has -fno-early-inlining but AutoFDO can't work without
early inlining (it needs to match the inlining of the profiled binary).
I changed profopt.exp to always pass -fearly-inlining for AutoFDO.
With that change the indirect call inlining in indir-call-prof-2.c happens in the early inliner
so I changed the dg-final-use-autofdo.
Contributes to fixing PR gcov-profile/71672
gcc/testsuite/ChangeLog:
* gcc.dg/tree-prof/indir-call-prof-2.c: Fix dg-final-use-autofdo.
* lib/profopt.exp: Pass -fearly-inlining when compiling with AutoFDO.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions