From: Caroline Tice Date: Fri, 6 Sep 2019 14:54:48 +0000 (-0700) Subject: Fix testcase to not use LTO with -fvtable-verify. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94ea5c6a5102ebf77590e1f4583922dd474ff8de;p=gcc.git Fix testcase to not use LTO with -fvtable-verify. 2019-09-05 Caroline Tice 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b999a79a466..9de41ea0c29 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-09-06 Caroline Tice + + 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 * 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 4c373f7c927..9016226312a 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)