diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-06 13:48:31 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-06 13:48:31 +0000 |
commit | 1b7bd30b5d339d2c23ffb7975a9cee0be35869fb (patch) | |
tree | d325801cc702802ea64fab43396aa17ea57dea6f /boehm-gc/testsuite | |
parent | b45a1938dc58ec4684cb27eb492a6e4438fa9f3f (diff) | |
download | gcc-1b7bd30b5d339d2c23ffb7975a9cee0be35869fb.tar.gz |
boehm-gc/
* testsuite/boehm-gc.c/gctest.c: Fix defaulting to int.
gcc/testsuite/
* c-c++-common/raw-string-3.c: Use -std=gnu89 for C.
* g++.dg/lto/pr54625-1_0.c: Fix defaulting to int.
* g++.dg/lto/pr54625-2_0.c: Likewise.
* gcc.misc-tests/gcov-14.c: Use -fgnu89-inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215943 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/testsuite')
-rw-r--r-- | boehm-gc/testsuite/boehm-gc.c/gctest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/boehm-gc/testsuite/boehm-gc.c/gctest.c b/boehm-gc/testsuite/boehm-gc.c/gctest.c index 1180ab152ad..cc03e96e554 100644 --- a/boehm-gc/testsuite/boehm-gc.c/gctest.c +++ b/boehm-gc/testsuite/boehm-gc.c/gctest.c @@ -1701,6 +1701,7 @@ int APIENTRY WinMain(HINSTANCE instance, HINSTANCE prev, LPSTR cmd, int n) #ifdef PCR +int test() { PCR_Th_T * th1; @@ -1738,6 +1739,7 @@ void * thr_run_one_test(void * arg) #endif #if defined(GC_SOLARIS_THREADS) && !defined(GC_SOLARIS_PTHREADS) +int main() { thread_t th1; @@ -1781,6 +1783,7 @@ main() --> bad news #endif +int main() { pthread_t th1; |