Commit bf6817f2 by Martin Jambor Committed by Martin Jambor

re PR tree-optimization/47714 (verify_ssa fails with error: invalid argument to gimple call)

2011-03-09  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/47714
	* cp/method.c (use_thunk): Clear addressable flag of thunk arguments.

	* testsuite/g++.dg/torture/pr47714.C: New test.

From-SVN: r170822
parent 5d304e47
2011-03-09 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/47714
* method.c (use_thunk): Clear addressable flag of thunk arguments.
2011-03-08 Dodji Seketeli <dodji@redhat.com>
PR c++/47705
......
......@@ -372,6 +372,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
DECL_CONTEXT (x) = thunk_fndecl;
SET_DECL_RTL (x, NULL);
DECL_HAS_VALUE_EXPR_P (x) = 0;
TREE_ADDRESSABLE (x) = 0;
t = x;
}
a = nreverse (t);
......
2011-03-09 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/47714
* g++.dg/torture/pr47714.C: New test.
2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/47755
......
struct A { virtual ~A () {} };
struct B { virtual ~B () {} };
struct C { virtual const A *foo (int) const = 0; };
struct E : public B, public A { };
struct F : public C
{
virtual const E *foo (int) const;
};
void bar (int &);
const E *
F::foo (int x) const
{
bar (x);
return __null;
}
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