Re: [PATCH] libgomp: Compile tests with -march=i486 if needed

2021-06-09 Thread Jeff Law via Gcc-patches
On 6/6/2021 7:03 AM, H.J. Lu via Gcc-patches wrote: Don't add -march=i486 if atomic compare-and-swap is supported on 'int'. This fixes libgomp tests with "-march=x86-64 -m32 -fcf-protection". * testsuite/lib/libgomp.exp (libgomp_init): Don't add -march=i486 if atomic compare-a

[PATCH] libgomp: Compile tests with -march=i486 if needed

2021-06-06 Thread H.J. Lu via Gcc-patches
Don't add -march=i486 if atomic compare-and-swap is supported on 'int'. This fixes libgomp tests with "-march=x86-64 -m32 -fcf-protection". * testsuite/lib/libgomp.exp (libgomp_init): Don't add -march=i486 if atomic compare-and-swap is supported on 'int'. --- libgomp/testsuite/lib