aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2019-09-06 07:54:48 -0700
committerCaroline Tice <ctice@gcc.gnu.org>2019-09-06 07:54:48 -0700
commit94ea5c6a5102ebf77590e1f4583922dd474ff8de (patch)
treee8f42363c0de8856a9bf901166be9f29700724a3
parent4ef5bbd81536351d78bae8dc22c8ebdc6e6c6500 (diff)
downloadgcc-94ea5c6a5102ebf77590e1f4583922dd474ff8de.zip
gcc-94ea5c6a5102ebf77590e1f4583922dd474ff8de.tar.gz
gcc-94ea5c6a5102ebf77590e1f4583922dd474ff8de.tar.bz2
Fix testcase to not use LTO with -fvtable-verify.
2019-09-05 Caroline Tice <cmtice@google.com> PR testsuite/91670 * g++.dg/ubsan/pr59415.C: Disable LTO, since test uses -fvtable-verify, and the two options are no longer allowed together. From-SVN: r275460
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/g++.dg/ubsan/pr59415.C2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b999a79..9de41ea 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2019-09-06 Caroline Tice <cmtice@google.com>
+
+ PR testsuite/91670
+ * g++.dg/ubsan/pr59415.C: Disable LTO, since test uses
+ -fvtable-verify, and the two options are no longer allowed
+ together.
+
2019-09-06 Nathan Sidwell <nathan@acm.org>
* c-c++-common/cpp/line-1.c: New.
diff --git a/gcc/testsuite/g++.dg/ubsan/pr59415.C b/gcc/testsuite/g++.dg/ubsan/pr59415.C
index 4c373f7..9016226 100644
--- a/gcc/testsuite/g++.dg/ubsan/pr59415.C
+++ b/gcc/testsuite/g++.dg/ubsan/pr59415.C
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-fsanitize=null -Wall -fvtable-verify=std" } */
+/* { dg-options "-fsanitize=null -Wall -fvtable-verify=std -fno-lto" } */
void
foo (void)