aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/fold-plusnot-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/fold-plusnot-1.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/fold-plusnot-1.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/fold-plusnot-1.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/fold-plusnot-1.c
deleted file mode 100644
index 81ddf46d6..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/fold-plusnot-1.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* PR middle-end/30322 */
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-original" } */
-
-int test1(int a)
-{
- return a + ~a;
-}
-
-int test2(int b)
-{
- return ~b + b;
-}
-
-unsigned int test3(unsigned int c)
-{
- return c + ~c;
-}
-
-unsigned int test4(unsigned int d)
-{
- return ~d + d;
-}
-
-/* { dg-final { scan-tree-dump-times "\\+ a" 0 "original" } } */
-/* { dg-final { scan-tree-dump-times "\\+ b" 0 "original" } } */
-/* { dg-final { scan-tree-dump-times "\\+ c" 0 "original" } } */
-/* { dg-final { scan-tree-dump-times "\\+ d" 0 "original" } } */
-/* { dg-final { cleanup-tree-dump "original" } } */
-