Commit 2d0db225 by Andrew MacLeod Committed by Andrew Macleod

error.c (dump_decl): Make sure there is lang_specific info before checking for DTOR and CTOR decls.


2004-09-16  Andrew MacLeod  <amacleod@redhat.com>

	* error.c (dump_decl): Make sure there is lang_specific info before
	checking for DTOR and CTOR decls.

From-SVN: r87610
parent 49f48e9f
2004-09-16 Andrew MacLeod <amacleod@redhat.com>
* error.c (dump_decl): Make sure there is lang_specific info before
checking for DTOR and CTOR decls.
2004-09-16 Nathan Sidwell <nathan@codesourcery.com>
* class.c (copy_virtuals): Remove.
......
......@@ -831,10 +831,10 @@ dump_decl (tree t, int flags)
/* Fall through. */
case FUNCTION_DECL:
if (DECL_GLOBAL_CTOR_P (t) || DECL_GLOBAL_DTOR_P (t))
dump_global_iord (t);
else if (! DECL_LANG_SPECIFIC (t))
if (! DECL_LANG_SPECIFIC (t))
pp_identifier (cxx_pp, "<built-in>");
else if (DECL_GLOBAL_CTOR_P (t) || DECL_GLOBAL_DTOR_P (t))
dump_global_iord (t);
else
dump_function_decl (t, flags);
break;
......
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