aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c
deleted file mode 100644
index 3caf1cb6f..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow=1" } */
-
-/* Based on strict-overflow-5.c. */
-
-/* We can only unroll when using strict overflow semantics. But we
- don't issue a warning for relying on undefined overflow in
- loops. */
-
-int foo (int i)
-{
- int index;
- int r=0;
-
- for (index = i; index <= i+4; index+=2)
- r++;
-
- return r;
-}