From f378ebf14df0952eae870c9865bab8326aa8f137 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 17 Jun 2015 11:09:54 -0700 Subject: Delete old versions of GCC. Change-Id: I710f125d905290e1024cbd67f48299861790c66c --- .../testsuite/libmudflap.cth/pass37-frag.c | 58 ---------------------- 1 file changed, 58 deletions(-) delete mode 100644 gcc-4.7/libmudflap/testsuite/libmudflap.cth/pass37-frag.c (limited to 'gcc-4.7/libmudflap/testsuite/libmudflap.cth/pass37-frag.c') diff --git a/gcc-4.7/libmudflap/testsuite/libmudflap.cth/pass37-frag.c b/gcc-4.7/libmudflap/testsuite/libmudflap.cth/pass37-frag.c deleted file mode 100644 index 877803c1e..000000000 --- a/gcc-4.7/libmudflap/testsuite/libmudflap.cth/pass37-frag.c +++ /dev/null @@ -1,58 +0,0 @@ -#include -#include -#include -#include - -static void * -func (void *p) -{ - int *counter = (int *) p; - unsigned i; - - for (i=0; i<100; i++) - { - (*counter) ++; - { - int array[17]; - unsigned x = i % (sizeof(array)/sizeof(array[0])); - /* VRP could prove that x is within [0,16], but until then, the - following access will ensure that array[] is registered to - libmudflap. */ - array[x] = i; - } - sched_yield (); /* sleep (1); */ - } - - return (NULL); -} - - -int main () -{ - int rc; - unsigned i; - enum foo { NT=10 }; - pthread_t threads[NT]; - int counts[NT]; - - - for (i=0; i