summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr61296-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr61296-1.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/pr61296-1.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr61296-1.c b/gcc/testsuite/gcc.target/i386/pr61296-1.c
new file mode 100644
index 00000000000..751dee022cf
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/pr61296-1.c
@@ -0,0 +1,27 @@
+/* PR target/61296 */
+/* { dg-do compile { target { *-*-linux* } } } */
+/* { dg-options "-O2" } */
+
+struct foo
+{
+ char i1[8];
+ char i2[8];
+ char i3[8];
+ char i4[8];
+ char i5[8];
+ char i6[8];
+ char i7[8];
+ char i8[8];
+ char i9[8];
+ char i10[8];
+ char i11[8];
+ char i12[8];
+ char i13[8];
+ char i14[8];
+ char i15[8];
+ char i16[8];
+};
+
+struct foo x = { 1 };
+
+/* { dg-final { scan-assembler ".align\[ \t]*32\[^:]*\[\n\r]x:" } } */