aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/gcov-14.c
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 /gcc/testsuite/gcc.misc-tests/gcov-14.c
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 'gcc/testsuite/gcc.misc-tests/gcov-14.c')
-rw-r--r--gcc/testsuite/gcc.misc-tests/gcov-14.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-14.c b/gcc/testsuite/gcc.misc-tests/gcov-14.c
index de7ac0d..78dd7be 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 "" } */