On Wed, Jan 11, 2023 at 05:10:50AM -0500, NightStrike wrote: > Ok, then: > > /* { dg-do run { target { { ilp32 || lp64 } || llp64 } } } */ > > or even: > > /* { dg-do run { target { ! int16 } } } */ > > Though I'd point out that in your original message, you only cared > about the "important targets". I don't think nonexistent ones where > sizeof(int) == 8 qualifies :)
I've committed following after regtesting it on x86_64-linux and i686-linux: 2023-01-11 Jakub Jelinek <ja...@redhat.com> PR target/108308 * gcc.dg/pr108308.c: Use int32 target rather than { ilp32 || lp64 }. --- gcc/testsuite/gcc.dg/pr108308.c.jj 2023-01-06 10:52:24.982461493 +0100 +++ gcc/testsuite/gcc.dg/pr108308.c 2023-01-11 13:04:51.036789536 +0100 @@ -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; Jakub