aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-10-13 16:28:19 -0700
committerDan Albert <danalbert@google.com>2015-10-13 16:28:19 -0700
commita8c075f72b231c37823661ba0d7d082a21cd39d9 (patch)
tree395aa3b848d56037292e50466643453485073018 /gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c
parent5aff2e0142aca13849b4e51de503e71d5010efa6 (diff)
downloadtoolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.tar.gz
toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.tar.bz2
toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.zip
Remove gcc-4.8.
Change-Id: Iee9c6985c613f58c82e33a91722d371579eb290f
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c')
-rw-r--r--gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c b/gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c
deleted file mode 100644
index cbd395871..000000000
--- a/gcc-4.8/gcc/testsuite/gcc.misc-tests/gcov-5b.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Check that branch percentages are calculated in variables
- that are large enough to hold the count. */
-
-/* { dg-options "-fprofile-arcs -ftest-coverage" } */
-/* { dg-do run { target native } } */
-
-#define LIMIT1 7000
-#define LIMIT2 7000
-
-int count;
-
-void incr_count ()
-{
- count++;
-}
-
-void doit (int i, int j)
-{
- if (i > j)
- incr_count ();
-}
-
-int main ()
-{
- int i, j;
-
- for (i = 0; i < LIMIT1; i++)
- for (j = 0; j < LIMIT2; j++)
- doit (i, j);
-
- return 0;
-}
-
-/* { dg-final { run-gcov branches { -b gcov-5b.c } } } */