re PR ipa/61160 (wrong code with -O3 (or ICE: verify_cgraph_node failed: edge points to wrong declaration))

2014-07-24  Martin Jambor  <mjambor@suse.cz>

	PR ipa/61160
	* g++.dg/ipa/pr61160-2.C (main): Always return zero.

From-SVN: r212987
This commit is contained in:
Martin Jambor 2014-07-24 15:03:22 +02:00 committed by Martin Jambor
parent a12f7ac870
commit 472411664e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-07-24 Martin Jambor <mjambor@suse.cz>
PR ipa/61160
* g++.dg/ipa/pr61160-2.C (main): Always return zero.
2014-07-24 Richard Biener <rguenther@suse.de>
PR ipa/61823

View File

@ -39,5 +39,6 @@ void *test (MMixin & anExample)
int main ()
{
CExample c;
return (test (c) != &c);
test (c);
return 0;
}