re PR tree-optimization/34181 (FAIL: g++.dg/opt/anchor1.C (internal compiler error))
PR tree-optimization/34181 * method.c (use_thunk): Don't inline the call in the thunk. From-SVN: r130474
This commit is contained in:
parent
908a223518
commit
62cbbe84cf
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
@ -481,6 +481,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user