diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-07 01:34:37 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-07 01:34:37 +0000 |
| commit | c7c2ed3e70f8eb9aa97207161bba2a227e83d65c (patch) | |
| tree | dda8bb59b336f68156eb695afd8f5838ea1550fa | |
| parent | 46b3cd1047523f3a90cc2f5cd8233883f9ba7329 (diff) | |
| download | ppe42-gcc-c7c2ed3e70f8eb9aa97207161bba2a227e83d65c.tar.gz ppe42-gcc-c7c2ed3e70f8eb9aa97207161bba2a227e83d65c.zip | |
* decl2.c (mark_used): Do not synthesize thunks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60967 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
| -rw-r--r-- | gcc/cp/decl2.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9522ae6f168..b1b1a7591d1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index e5d1f02c576..85b6a2ede38 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -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) |

