Commit 4c4646b5 by Mark Mitchell Committed by Mark Mitchell

* decl2.c (mark_used): Do not synthesize thunks.

From-SVN: r60967
parent 63e5f567
2003-01-06 Mark Mitchell <mark@codesourcery.com> 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 * class.c (layout_class_type): Correct handling of unnamed
bitfields wider than their types. bitfields wider than their types.
......
...@@ -4614,6 +4614,7 @@ mark_used (tree decl) ...@@ -4614,6 +4614,7 @@ mark_used (tree decl)
if (TREE_CODE (decl) == FUNCTION_DECL if (TREE_CODE (decl) == FUNCTION_DECL
&& DECL_NONSTATIC_MEMBER_FUNCTION_P (decl) && DECL_NONSTATIC_MEMBER_FUNCTION_P (decl)
&& DECL_ARTIFICIAL (decl) && DECL_ARTIFICIAL (decl)
&& !DECL_THUNK_P (decl)
&& ! DECL_INITIAL (decl) && ! DECL_INITIAL (decl)
/* Kludge: don't synthesize for default args. */ /* Kludge: don't synthesize for default args. */
&& current_function_decl) && current_function_decl)
......
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