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
This commit is contained in:
Caroline Tice 2019-09-06 07:54:48 -07:00 committed by Caroline Tice
parent 4ef5bbd815
commit 94ea5c6a51
2 changed files with 8 additions and 1 deletions

View 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.

View 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)