aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr35771.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr35771.h')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr35771.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr35771.h b/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr35771.h
deleted file mode 100644
index 7b921c41b..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr35771.h
+++ /dev/null
@@ -1,30 +0,0 @@
-typedef TYPE __attribute__((aligned(1))) unaligned;
-
-extern void abort (void);
-
-
-TYPE __attribute__((noinline))
-foo (TYPE a1, TYPE a2, TYPE a3, TYPE a4,
- TYPE a5, TYPE a6, TYPE a7, TYPE a8,
- int b1, int b2, int b3, int b4, int b5, int b6, int b7, unaligned y)
-{
- return y;
-}
-
-void
-do_test (void)
-{
- unaligned x;
- TYPE y = { 0 };
- x = y;
- y = foo (y, y, y, y, y, y, y, y, 1, 2, 3, 4, 5, 6, -1, x);
- if (__builtin_memcmp (&y, &x, sizeof (y)) != 0)
- abort ();
-}
-
-int
-main (void)
-{
- do_test ();
- return 0;
-}