From: Richard Biener Date: Fri, 8 Mar 2024 07:26:15 +0000 (+0100) Subject: testsuite/108355 - make gcc.dg/tree-ssa/ssa-fre-104.c properly XFAIL X-Git-Tag: basepoints/gcc-15~757 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bd04d9ae2d5447fd11fa43db20371140e955eff;p=thirdparty%2Fgcc.git testsuite/108355 - make gcc.dg/tree-ssa/ssa-fre-104.c properly XFAIL The testcase only XFAILs on targets where int has an alignment of sizeof(int). Align the respective array this way to make it XFAIL consistenlty. PR testsuite/108355 * gcc.dg/tree-ssa/ssa-fre-104.c: Align e. --- diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-104.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-104.c index 425c32dd93c7..52756bb7e40d 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-104.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-104.c @@ -8,7 +8,7 @@ int d; void bar25_(void); void foo(void); int main() { - int e[][1] = {0, 0, 0, 0, 0, 1}; + int __attribute__((aligned(sizeof(int)))) e[][1] = {0, 0, 0, 0, 0, 1}; for (;;) { bar25_(); /* We should optimistically treat a == 0 because of the bounds of