Commit 7f091984 by Dehao Chen Committed by Dehao Chen

re PR middle-end/54649 (Go bootstrap failed)

2012-09-21  Dehao Chen  <dehao@google.com>

	PR go/54649
	PR tree-optimization/54655
	* g++.dg/pr54655.C: New testcase.

From-SVN: r191615
parent 62d4d60c
2012-09-21 Dehao Chen <dehao@google.com>
PR go/54649
PR tree-optimization/54655
* g++.dg/pr54655.C: New testcase.
2012-09-21 Richard Guenther <rguenther@suse.de> 2012-09-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54647 PR tree-optimization/54647
......
// { dg-do compile }
/* { dg-options "-O1" } */
extern "C" class A
{
};
template <typename T> class B:A
{
public:
B (int *, T);
~B ()
{
}
};
bool a;
inline void
fn1 ()
{
switch (0)
case 0:
{
B <int*> b (0, 0);
if (a)
break;
}
}
void
fn2 ()
{
fn1 ();
}
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