This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Fix outputting of debug info for things marked *INTERNAL*


How about this?

2001-02-10  Jason Merrill  <jason@redhat.com>

	* class.c (clone_function_decl): Set DECL_IGNORED_P on the
	original, imaginary function.

*** class.c.~1~	Tue Feb  6 16:29:13 2001
--- class.c	Sat Feb 10 10:27:33 2001
*************** clone_function_decl (fn, update_method_v
*** 4387,4392 ****
--- 4387,4395 ----
        if (update_method_vec_p)
  	add_method (DECL_CONTEXT (clone), clone, /*error_p=*/0);
      }
+ 
+   /* We don't want debugging information for this imaginary function.  */
+   DECL_IGNORED_P (fn) = 1;
  }
  
  /* For each of the constructors and destructors in T, create an


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]