PR tree-optimization/34181
* method.c (use_thunk): Don't inline the call in the thunk.
From-SVN: r130474
2007-11-27 Jakub Jelinek <jakub@redhat.com>
+ PR tree-optimization/34181
+ * method.c (use_thunk): Don't inline the call in the thunk.
+
PR c++/34213
* tree.c (decl_linkage): Static data members and static member
functions in anonymous ns classes are lk_external.
argarray[i] = a;
t = build_call_a (alias, i, argarray);
CALL_FROM_THUNK_P (t) = 1;
+ CALL_CANNOT_INLINE_P (t) = 1;
if (VOID_TYPE_P (TREE_TYPE (t)))
finish_expr_stmt (t);