https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126923
--- Comment #24 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://gcc.gnu.org/g:9107afafcda6c361499b9f2f01d4d5901e5dd71d commit r17-3569-g9107afafcda6c361499b9f2f01d4d5901e5dd71d Author: H.J. Lu <[email protected]> Date: Tue Aug 18 09:14:47 2026 +0800 pr82625.C: Compile with -march=x86-64 pr82625.C has __attribute__ ((target ("default"))) unsigned bar() { ... } and __attribute__ ((target ("avx"))) unsigned bar() { ... } GCC generates different assembly codes on AVX512 machines when GCC is configured with --with-arch=native --with-cpu=native Compile pr82625.C with -march=x86-64 so that only AVX will be enabled by target attribute. PR testsuite/126923 * g++.target/i386/pr82625.C (dg-options): Add -march=x86-64. Signed-off-by: H.J. Lu <[email protected]>
