aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/attr-may-alias-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/attr-may-alias-1.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/attr-may-alias-1.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/attr-may-alias-1.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/attr-may-alias-1.c
deleted file mode 100644
index 30e2bca6f..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/attr-may-alias-1.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2" } */
-/* { dg-final { scan-assembler "dont_delete" } } */
-
-typedef struct { int x; } __attribute__((may_alias)) S;
-
-extern void dont_delete (void);
-
-void f(S *s, float *f)
-{
- s->x = 1;
- *f = 0;
- if (s->x != 1)
- dont_delete ();
-}