Fix testcase to not use LTO with -fvtable-verify.
authorCaroline Tice <cmtice@google.com>
Fri, 6 Sep 2019 14:54:48 +0000 (07:54 -0700)
committerCaroline Tice <ctice@gcc.gnu.org>
Fri, 6 Sep 2019 14:54:48 +0000 (07:54 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ubsan/pr59415.C

index b999a79a466a6e7ef9bb38d07d78cde108a922a5..9de41ea0c29bffaa6fab968f126a1d6f8cc62eac 100644 (file)
@@ -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.
index 4c373f7c9273aa2fec2e798f328a1b687a7197fe..9016226312ad6fcd71c6ee57052e7fb9d0161738 100644 (file)
@@ -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)