Commit 99976e27 by Richard Biener Committed by Richard Biener

re PR lto/87754 (ICE in odr_types_equivalent_p, at ipa-devirt.c:1250)

2018-10-26  Richard Biener  <rguenther@suse.de>

	PR testsuite/87754
	* g++.dg/lto/odr-1_0.C: Fix pattern.

From-SVN: r265518
parent 7ea4b8ed
2018-10-26 Richard Biener <rguenther@suse.de>
PR testsuite/87754
* g++.dg/lto/odr-1_0.C: Fix pattern.
2018-10-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/87746
* gcc.dg/pr87746.c: New testcase.
......
......@@ -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" }
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment