This is the mail archive of the gcc@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]
Other format: [Raw text]

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))


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