public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9382] testsuite/108355 - make gcc.dg/tree-ssa/ssa-fre-104.c properly XFAIL
@ 2024-03-08  7:28 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2024-03-08  7:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0bd04d9ae2d5447fd11fa43db20371140e955eff

commit r14-9382-g0bd04d9ae2d5447fd11fa43db20371140e955eff
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Mar 8 08:26:15 2024 +0100

    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:
---
 gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-104.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 425c32dd93c..52756bb7e40 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-08  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08  7:28 [gcc r14-9382] testsuite/108355 - make gcc.dg/tree-ssa/ssa-fre-104.c properly XFAIL Richard Biener

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).