[committed] Fix Ada bootstrap

Andrew Pinski pinskia@physics.uc.edu
Sat Jul 9 15:50:00 GMT 2005


The problem here is that we use fields on CONST_DECLs which have no
meaning and now we check for this.
This fixes by checking before trying to set those fields.

Committed as pre-approved by Geert Bosch on IRC.

Thanks,
Andrew Pinski

ada/ChangeLog:
	* utils.c (create_var_decl): Only set DECL_COMMON on
	VAR_DECLs. Only set SET_DECL_ASSEMBLER_NAME on
	VAR_OR_FUNCTION_DECL_P.


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


More information about the Gcc-patches mailing list