public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5105] testsuite: Enable pr108308.c test on all int32 targets [PR108308]
@ 2023-01-11 12:08 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-01-11 12:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b39c1bea5bae9aee1df25cab1064f983b9ec6941
commit r13-5105-gb39c1bea5bae9aee1df25cab1064f983b9ec6941
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Jan 11 13:06:14 2023 +0100
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 <jakub@redhat.com>
PR target/108308
* gcc.dg/pr108308.c: Use int32 target rather than { ilp32 || lp64 }.
Diff:
---
gcc/testsuite/gcc.dg/pr108308.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/pr108308.c b/gcc/testsuite/gcc.dg/pr108308.c
index c22762690ac..d5cc37d9f12 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-11 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 12:08 [gcc r13-5105] testsuite: Enable pr108308.c test on all int32 targets [PR108308] Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).