From: mpolacek Date: Mon, 6 Oct 2014 13:48:31 +0000 (+0000) Subject: * testsuite/boehm-gc.c/gctest.c: Fix defaulting to int. gcc/testsuite/ * c-c++-common... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35ef672168421fb53a6108b97921434c812804c1;p=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 --- diff --git a/ChangeLog b/ChangeLog index 50a0802d..94692f09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-06 Marek Polacek + + * testsuite/boehm-gc.c/gctest.c: Fix defaulting to int. + 2014-05-13 Bernd Edlinger Fix current cygwin-64 build problems. diff --git a/testsuite/boehm-gc.c/gctest.c b/testsuite/boehm-gc.c/gctest.c index 1180ab15..cc03e96e 100644 --- a/testsuite/boehm-gc.c/gctest.c +++ b/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;