aarch64 tests gated on ifunc support
Aarch64 test cases now require ifunc support, ensuring they only run on systems where it's available.
Several test cases for the aarch64 architecture have been updated to require support for indirect functions (ifuncs). This change gates the execution of these tests, ensuring they are only run on platforms that provide ifunc capabilities. This prevents test suite failures on aarch64 targets where ifunc support is not present or not enabled, improving the reliability of the test suite.
In Details
Multiple C and C++ test cases targeting aarch64 have been modified to include a dg-require directive for ifunc support. This ensures that these tests, which likely depend on or test ifunc functionality, are only executed on aarch64 configurations where indirect functions are available and functional. This is a standard practice to ensure test suite stability across diverse target configurations.
- ifunc
- Indirect function, a mechanism allowing dynamic selection of function implementations at runtime, often used for performance optimizations or platform-specific code.
- aarch64
- The 64-bit execution state of the ARMv8-A architecture and later.
- testsuite
- A collection of programs and scripts used to verify the correctness and functionality of a software project, in this case, the GCC compiler.