diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2001-11-15 10:09:43 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-11-15 10:09:43 -0500 |
commit | 8a2b77e7376a10b62a023843a64d4998fde5b5da (patch) | |
tree | 3a2e64bbd40a3c54769c05fc7a160ad65a8d29fc /gcc/cp/method.c | |
parent | 9bddde52b4cf9c9a4609e2288893c57a1da0abd7 (diff) | |
download | gcc-8a2b77e7376a10b62a023843a64d4998fde5b5da.tar.gz |
parse.y: Add ...
* parse.y: Add ... IDENTIFIER SCOPE and ... PTYPENAME SCOPE expansions.
* decl.c (make_typename_type): Handle getting a class template.
* search.c (lookup_field_r): A class template is good enough for
want_type.
* call.c (convert_like_real): Only use cp_convert for the bad part.
(standard_conversion): Also allow bad int->enum.
* typeck.c (ptr_reasonably_similar): Also allow functions to
interconvert. Pointers to same-size integers are reasonably
similar.
* cvt.c (convert_to_void): If we build a new COND_EXPR, always
give it void type.
From-SVN: r47060
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 4a12823dea2..24fd379933a 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -513,6 +513,9 @@ use_thunk (thunk_fndecl, emit_p) referenced. */ TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (thunk_fndecl)) = 1; + /* But we don't want debugging information about it. */ + DECL_IGNORED_P (thunk_fndecl) = 1; + expand_body (finish_function (0)); } |