]> gcc.gnu.org Git - gcc.git/commit
gomp: testsuite: improve compatibility of bad-array-section-3.c [PR113428]
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 6 Mar 2024 13:41:02 +0000 (13:41 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 11 Mar 2024 15:51:35 +0000 (15:51 +0000)
commitc27b30552e6cc789425d3628d294dafc5f3a0861
tree0b4f1122edae05f25182b69050a26d235cee02a1
parent8410402272038aae7e4b2bd76df38607a78cad95
gomp: testsuite: improve compatibility of bad-array-section-3.c [PR113428]

This test generates different warnings on ilp32 targets because the size
of an integer matches the size of a pointer.  Avoid this by using
signed char.

gcc/testsuite:

PR testsuite/113428
* gcc.dg/gomp/bad-array-section-c-3.c: Use signed char instead
of int.
gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c
This page took 0.070801 seconds and 6 git commands to generate.