Commit e9fcdd9f by Richard Guenther Committed by Richard Biener

re PR tree-optimization/46154 (ICE: failed to reclaim unneeded function with…

re PR tree-optimization/46154 (ICE: failed to reclaim unneeded function with -fipa-cp -fipa-cp-clone)

2010-11-03  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/46154
	* g++.dg/torture/pr46154.C: New testcase.

From-SVN: r166311
parent 754e97fb
2010-11-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46154
* g++.dg/torture/pr46154.C: New testcase.
2010-11-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45733
* gcc.dg/pr45733.c: New testcase.
......
/* { dg-do compile } */
/* { dg-options "-fipa-cp-clone" } */
struct S
{
virtual int foo ()
{
return foo () == 0;
}
virtual void baz ();
};
void A ()
{
S s;
s.foo ();
}
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