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
+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
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
--- /dev/null
+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;
+}