]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Enable pr108308.c test on all int32 targets [PR108308]
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Jan 2023 12:06:14 +0000 (13:06 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 11 Jan 2023 12:08:46 +0000 (13:08 +0100)
This test seems to rely on 32-bit int (and uses a wider constant
which shouldn't fit into int), I've initially enabled it on ilp32+lp64
target, but apparently it works on llp64 too, so I've changed it to
int32.

2023-01-11  Jakub Jelinek  <jakub@redhat.com>

PR target/108308
* gcc.dg/pr108308.c: Use int32 target rather than { ilp32 || lp64 }.

gcc/testsuite/gcc.dg/pr108308.c

index c22762690acb84d1f6ca391524b34ccb3fe0cc63..d5cc37d9f1203ea1c790ec95cd9905c54b244afb 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/108308 */
-/* { dg-do run { target { ilp32 || lp64 } } } */
+/* { dg-do run { target int32 } } */
 /* { dg-options "-Os -fno-tree-ccp" } */
 
 int a = 1, *d = &a, f = 2766708631, h;