From 8a2b77e7376a10b62a023843a64d4998fde5b5da Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 15 Nov 2001 10:09:43 -0500 Subject: 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 --- gcc/cp/method.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/cp/method.c') 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)); } -- cgit v1.2.1