* decl2.c (mark_used): Do not synthesize thunks.
From-SVN: r60967
This commit is contained in:
parent
63e5f5679c
commit
4c4646b541
|
@ -1,5 +1,7 @@
|
|||
2003-01-06 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl2.c (mark_used): Do not synthesize thunks.
|
||||
|
||||
* class.c (layout_class_type): Correct handling of unnamed
|
||||
bitfields wider than their types.
|
||||
|
||||
|
|
|
@ -4614,6 +4614,7 @@ mark_used (tree decl)
|
|||
if (TREE_CODE (decl) == FUNCTION_DECL
|
||||
&& DECL_NONSTATIC_MEMBER_FUNCTION_P (decl)
|
||||
&& DECL_ARTIFICIAL (decl)
|
||||
&& !DECL_THUNK_P (decl)
|
||||
&& ! DECL_INITIAL (decl)
|
||||
/* Kludge: don't synthesize for default args. */
|
||||
&& current_function_decl)
|
||||
|
|
Loading…
Reference in New Issue