aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2014-10-06 13:48:31 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2014-10-06 13:48:31 +0000
commit63b9f71bb35359333efbc5a57073abea111eb496 (patch)
treed325801cc702802ea64fab43396aa17ea57dea6f /boehm-gc
parent1a3e2d6925021e6521782aa17d55043017b758da (diff)
downloadgcc-63b9f71bb35359333efbc5a57073abea111eb496.zip
gcc-63b9f71bb35359333efbc5a57073abea111eb496.tar.gz
gcc-63b9f71bb35359333efbc5a57073abea111eb496.tar.bz2
gctest.c: Fix defaulting to int.
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. From-SVN: r215943
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/testsuite/boehm-gc.c/gctest.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 50a0802..94692f0 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-06 Marek Polacek <polacek@redhat.com>
+
+ * testsuite/boehm-gc.c/gctest.c: Fix defaulting to int.
+
2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
Fix current cygwin-64 build problems.
diff --git a/boehm-gc/testsuite/boehm-gc.c/gctest.c b/boehm-gc/testsuite/boehm-gc.c/gctest.c
index 1180ab1..cc03e96 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;