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 | |
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
-rw-r--r-- | boehm-gc/ChangeLog | 4 | ||||
-rw-r--r-- | boehm-gc/testsuite/boehm-gc.c/gctest.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/raw-string-3.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/lto/pr54625-1_0.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/lto/pr54625-2_0.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/gcov-14.c | 2 |
7 files changed, 18 insertions, 2 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 50a0802d9d8..94692f09a74 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 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; diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8749053a14b..154a7702d3c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,12 @@ 2014-10-06 Marek Polacek <polacek@redhat.com> + * 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. + +2014-10-06 Marek Polacek <polacek@redhat.com> + * gcc.target/i386/20040112-1.c: Fix defaulting to int. * gcc.target/i386/avxfp-1.c: Likewise. * gcc.target/i386/avxfp-2.c: Likewise. diff --git a/gcc/testsuite/c-c++-common/raw-string-3.c b/gcc/testsuite/c-c++-common/raw-string-3.c index 1dde113d255..326e30997cf 100644 --- a/gcc/testsuite/c-c++-common/raw-string-3.c +++ b/gcc/testsuite/c-c++-common/raw-string-3.c @@ -1,7 +1,7 @@ // If not c++0x/gnu99, the {,u,u8,U,L}R prefix should be parsed as separate // token. // { dg-do compile } -// { dg-options "" { target c } } +// { dg-options "-std=gnu89" { target c } } // { dg-options "-std=c++98" { target c++ } } const void *s0 = R"(a)"; // { dg-error "was not declared|undeclared" "undeclared" } diff --git a/gcc/testsuite/g++.dg/lto/pr54625-1_0.c b/gcc/testsuite/g++.dg/lto/pr54625-1_0.c index 5ab90ddddee..48bbdf02de7 100644 --- a/gcc/testsuite/g++.dg/lto/pr54625-1_0.c +++ b/gcc/testsuite/g++.dg/lto/pr54625-1_0.c @@ -3,6 +3,7 @@ float a; double sin (); +void speex_resampler_init_frac () { a = sin (0); diff --git a/gcc/testsuite/g++.dg/lto/pr54625-2_0.c b/gcc/testsuite/g++.dg/lto/pr54625-2_0.c index 6511ba5cc62..3e67d4f5b4e 100644 --- a/gcc/testsuite/g++.dg/lto/pr54625-2_0.c +++ b/gcc/testsuite/g++.dg/lto/pr54625-2_0.c @@ -3,6 +3,7 @@ float a; double sin (); +void update_filter () { a = sin (0); diff --git a/gcc/testsuite/gcc.misc-tests/gcov-14.c b/gcc/testsuite/gcc.misc-tests/gcov-14.c index de7ac0d2ab2..78dd7bedd76 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-14.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-14.c @@ -1,6 +1,6 @@ /* Test gcov extern inline. */ -/* { dg-options "-O2 -fprofile-arcs -ftest-coverage" } */ +/* { dg-options "-O2 -fprofile-arcs -ftest-coverage -fgnu89-inline" } */ /* The following line arranges that Darwin has behavior like elf weak import. */ /* { dg-additional-options "-flat_namespace -undefined suppress" { target *-*-darwin* } } */ /* { dg-require-weak "" } */ |