From: Richard Biener Date: Fri, 26 Oct 2018 07:19:07 +0000 (+0000) Subject: re PR lto/87754 (ICE in odr_types_equivalent_p, at ipa-devirt.c:1250) X-Git-Tag: basepoints/gcc-10~3498 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99976e2700062d03a06412a92b345741f735deff;p=thirdparty%2Fgcc.git re PR lto/87754 (ICE in odr_types_equivalent_p, at ipa-devirt.c:1250) 2018-10-26 Richard Biener PR testsuite/87754 * g++.dg/lto/odr-1_0.C: Fix pattern. From-SVN: r265518 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 082e342f3f91..73739030993f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-10-26 Richard Biener + + PR testsuite/87754 + * g++.dg/lto/odr-1_0.C: Fix pattern. + 2018-10-26 Richard Biener PR tree-optimization/87746 diff --git a/gcc/testsuite/g++.dg/lto/odr-1_0.C b/gcc/testsuite/g++.dg/lto/odr-1_0.C index c59f169e4dc5..8eabe7b15830 100644 --- a/gcc/testsuite/g++.dg/lto/odr-1_0.C +++ b/gcc/testsuite/g++.dg/lto/odr-1_0.C @@ -3,6 +3,6 @@ struct a { // { dg-lto-warning "8: type 'struct a' violates the C\\+\\+ One Definition Rule" } struct b *ptr; // { dg-lto-message "13: the first difference of corresponding definitions is field 'ptr'" } }; -void test(struct a *) // { dg-lto-warning "6: warning: 'test' violates the C++ One Definition Rule" } +void test(struct a *) // { dg-lto-warning "6: warning: 'test' violates the C\\+\\+ One Definition Rule" } { }