aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.cc
diff options
context:
space:
mode:
authorMartin Uecker <uecker@tugraz.at>2024-06-23 09:10:20 +0200
committerMartin Uecker <uecker@gcc.gnu.org>2024-07-09 23:21:04 +0200
commit5b46f196cdb62af0e611315ea411938d756a0ad1 (patch)
tree736d49286f282c96e2e3fd59a16c405bc4b440e3 /gcc/c/c-decl.cc
parent7825c07bbaf503c47ecedd87e3d64be003b24f2c (diff)
downloadgcc-5b46f196cdb62af0e611315ea411938d756a0ad1.zip
gcc-5b46f196cdb62af0e611315ea411938d756a0ad1.tar.gz
gcc-5b46f196cdb62af0e611315ea411938d756a0ad1.tar.bz2
Fix test errors after r15-1394 for sizeof(int)==sizeof(long) [PR115545]
Some tests added to test the type of redeclarations of enumerators in r15-1394 fail on architectures where sizeof(long) == sizeof(int). Adapt tests to use long long and/or accept that long long is selected as type for the enumerator. PR testsuite/115545 gcc/testsuite/ * gcc.dg/pr115109.c: Adapt test. * gcc.dg/c23-tag-enum-6.c: Adapt test. * gcc.dg/c23-tag-enum-7.c: Adapt test.
Diffstat (limited to 'gcc/c/c-decl.cc')
0 files changed, 0 insertions, 0 deletions