Hello,

The function is only used in i386 and rs6000 target specific code (which don't support the `target_version` attribute) so would have no effect on its own.

Additionally, when it became clear this ACLE compliance series wouldn't make GCC 15 we have added a warning for Aarch64 in gcc 14 and 15 to inform users that FMV behaviour is in beta and will change (commit e5798872281).

Alfie

On 29/03/2025 17:05, Yangyu Chen wrote:


On 27 Mar 2025, at 16:45, Alfie Richards <alfie.richa...@arm.com> wrote:


Notably this respects target_version semantics where an unannotated
function can be the default version.

gcc/ChangeLog:

* attribs.cc (is_function_default_version): Add target_version logic.
---
gcc/attribs.cc | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)

<v3-0005-Update-is_function_default_version-to-work-with-t.patch>

Should we have this for GCC 15?


Reply via email to