]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP: Fix testsuite failure on x86 with -m32
authorSandra Loosemore <sloosemore@baylibre.com>
Wed, 25 Sep 2024 02:59:53 +0000 (02:59 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Wed, 25 Sep 2024 03:10:41 +0000 (03:10 +0000)
commit6935bddd8f90dde6009a1b8dea9745788ceeefb1
treebf55ab3c5848938a0f4784135ce18660dc3a5384
parent2d8392c4e7e8232b5a5f037f5560e71573185291
OpenMP: Fix testsuite failure on x86 with -m32

The testcase decare-variant-duplicates.c added in commit
96246bff0bcd9e5cdec9e6cf811ee3db4997f6d4 failed on 32-bit x86
because on that target "i386" is defined as a preprocessor macro
and cannot be used as an identifier.  Fixed by rewriting that test
not to do that.

gcc/testsuite/ChangeLog
* c-c++-common/gomp/declare-variant-duplicates.c: Avoid using
"i386" as an identifier.
gcc/testsuite/c-c++-common/gomp/declare-variant-duplicates.c