diff options
author | Eugene Rozenfeld <erozen@microsoft.com> | 2021-08-02 18:36:09 -0700 |
---|---|---|
committer | Eugene Rozenfeld <erozen@microsoft.com> | 2021-08-03 14:36:33 -0700 |
commit | 285aa6895d479bed8e72ad363290846645b6faa0 (patch) | |
tree | 90d3dc66ddf7d0008b575b91b69b4f0889231d1f /libgcc | |
parent | 9265b378531391498ec1727f67a45da72a6c07e9 (diff) | |
download | gcc-285aa6895d479bed8e72ad363290846645b6faa0.zip gcc-285aa6895d479bed8e72ad363290846645b6faa0.tar.gz gcc-285aa6895d479bed8e72ad363290846645b6faa0.tar.bz2 |
Fix indirect call inlining with AutoFDO
The histogram value for indirect calls was incorrectly set up.
That is fixed now.
With this change the tree-prof tests checking indirect call inlining with AutoFDO
in gcc.dg and g++.dg are passing.
Resolves:
PR gcov-profile/71672 - inlining indirect calls does not work with autofdo
gcc/ChangeLog:
PR gcov-profile/71672
* auto-profile.c (afdo_indirect_call): Fix setup of the historgram value for indirect calls.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions