Add "--program-suffix" in configuration stage via binsuffix defination.
For example, if binsuffix is set to "-12" the binary will be compiled
as below format:
gcc-12
cpp-12
...
The binsuffix is set to %{nil} to make sure the files name are same
with previous release.
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
Current default package name is scl_prefix-*, some product need to
customized the package name under specific product policy.
After this change, if we set the configuration as below:
%global scl_prefix %{nil}
%global gcc_ver %{gcc_major}
gcc12/cpp12 will be the new package name.
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
We set up INLINE_HINT_known_hot hint only when we have profile feedback,
now add function attribute judgement for it, when both caller and callee
have __attribute__((hot)), we will also set up INLINE_HINT_known_hot hint
for it.
With this patch applied,
ADL Multi-copy: 538.imagic_r 16.7%
ICX Multi-copy: 538.imagic_r 15.2%
CLX Multi-copy: 538.imagic_r 12.7%
Znver3 Multi-copy: 538.imagic_r 10.6%
Arm Multi-copy: 538.imagic_r 13.4%
gcc/ChangeLog
* ipa-inline-analysis.cc (do_estimate_edge_time): Add function attribute
judgement for INLINE_HINT_known_hot hint.
gcc/testsuite/ChangeLog:
* gcc.dg/ipa/inlinehint-6.c: New test.
url:https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1b9a5cc9ec08e9f239dd2096edcc447b7a72f64a