diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/no-strict-overflow-4.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/no-strict-overflow-4.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/no-strict-overflow-4.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/no-strict-overflow-4.c deleted file mode 100644 index c3b57bba0..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/no-strict-overflow-4.c +++ /dev/null @@ -1,16 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-fno-strict-overflow -O2 -fdump-tree-optimized" } */ - -/* Source: Ian Lance Taylor. Dual of strict-overflow-4.c. */ - -/* We can only simplify the conditional when using strict overflow - semantics. */ - -int -foo (int i) -{ - return i + 1 > i; -} - -/* { dg-final { scan-tree-dump "\[^ \]*_.(\\\(D\\\))? (>|<) \[^ \]*_." "optimized" } } */ -/* { dg-final { cleanup-tree-dump "optimized" } } */ |