[C++ PATCH] Fix PR 13701 g++.old-deja/g++.eh/cleanup2.C ICEs

Andrew Pinski pinskia@physics.uc.edu
Fri Jan 16 05:52:00 GMT 2004


After my last patch to fix the ICE in finish_fname_decls, I must have 
missed read the results as I did not see the regression of 
g++.old-deja/g++.eh/cleanup2.C.  This patch fixes the regression which 
I introduced.


Bootstrapped and tested on powerpc-apple-darwin7.2.0, OK?


ChangeLog:

	* c-common.c (lang_skip_eh): New variable.
	(finish_fname_decls): Use it instead of doing
	the loop.
	* c-common.h (lang_skip_eh): Declare.
	* c-objc-common (c_objc_common_init): Set
	lang_skip_eh to c_skip_eh.
	(c_skip_eh): New function.

cp/ChangeLog:
	* decl.c (cxx_init_decl_processing): Set
	lang_skip_eh to cp_skip_eh.
	(cp_skip_eh): New function.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr13701.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040116/ad11c53c/attachment.txt>


More information about the Gcc-patches mailing list