[Bug testsuite/96180] gcc.dg/torture/pr96133.c FAILs
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 13 09:31:48 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96180
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |testsuite
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, yeah - the testcase assumes the target upps alignment of 'a' a bit from
its requirement of 'int' ... guess changing a to require bigger alignment
helps?
diff --git a/gcc/testsuite/gcc.dg/torture/pr96133.c
b/gcc/testsuite/gcc.dg/torture/pr96133.c
index 8d051ce2913..ac31a7141c4 100644
--- a/gcc/testsuite/gcc.dg/torture/pr96133.c
+++ b/gcc/testsuite/gcc.dg/torture/pr96133.c
@@ -1,7 +1,7 @@
/* { dg-do run } */
typedef int T;
-static const T a[2][3] = { { 1, 2, 3 }, { 4, 5, 6 } };
+static const T a[2][3] __attribute__((aligned(2*sizeof(T)))) = { { 1, 2, 3 },
{ 4, 5, 6 } };
typedef T v2 __attribute__((vector_size(2*sizeof(T))));
int
More information about the Gcc-bugs
mailing list