From: Jakub Jelinek Date: Wed, 11 Jan 2023 12:06:14 +0000 (+0100) Subject: testsuite: Enable pr108308.c test on all int32 targets [PR108308] X-Git-Tag: basepoints/gcc-14~2102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b39c1bea5bae9aee1df25cab1064f983b9ec6941;p=thirdparty%2Fgcc.git testsuite: Enable pr108308.c test on all int32 targets [PR108308] 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 PR target/108308 * gcc.dg/pr108308.c: Use int32 target rather than { ilp32 || lp64 }. --- diff --git a/gcc/testsuite/gcc.dg/pr108308.c b/gcc/testsuite/gcc.dg/pr108308.c index c22762690acb..d5cc37d9f120 100644 --- a/gcc/testsuite/gcc.dg/pr108308.c +++ b/gcc/testsuite/gcc.dg/pr108308.c @@ -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;