diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr42952.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr42952.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr42952.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr42952.c deleted file mode 100644 index db8782af3..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr42952.c +++ /dev/null @@ -1,19 +0,0 @@ -/* { dg-do run } */ -/* { dg-options "-fno-tree-ccp -fno-tree-fre" } */ - -extern void abort (void); - -static int g[1]; - -static int * const p = &g[0]; -static int * const q = &g[0]; - -int main(void) -{ - g[0] = 1; - *p = 0; - *p = *q; - if (g[0] != 0) - abort (); - return 0; -} |