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