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

Jason Merrill jason@redhat.com
Sat Feb 10 02:39:00 GMT 2001


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



More information about the Gcc-patches mailing list