This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.0.2 Status (Ada)
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: laurent at guerby dot net
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 29 Sep 05 07:32:46 EDT
- Subject: Re: GCC 4.0.2 Status (Ada)
The patch to restore Ada bootstrap is a one liner: just revert
the gimplify.c part of 2005-09-24 Richard Henderson's change
in your tree (see below).
The real fix is below, though I haven't run it throuh a testing cycle yet.
I was wondering how this ever worked:
*** stor-layout.c 12 Sep 2005 13:49:56 -0000 1.242
--- stor-layout.c 29 Sep 2005 11:27:37 -0000
*************** set_sizetype (tree type)
*** 1967,1972 ****
--- 1970,1977 ----
TYPE_UID (t) = TYPE_UID (bitsizetype);
TYPE_IS_SIZETYPE (t) = 1;
+
/* Replace our original stub bitsizetype. */
memcpy (bitsizetype, t, tree_size (bitsizetype));
+ TYPE_MAIN_VARIANT (bitsizetype) = bitsizetype;
if (TYPE_UNSIGNED (type))