This is the mail archive of the gcc-bugs@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]

[Bug ada/26096] Ada bootstrap fail in g-alleve.adb



------- Comment #2 from ebotcazou at gcc dot gnu dot org  2006-02-04 08:44 -------
> Is this supposed to work this way?

No, of course, the tree is broken from the very beginning.  The problem shows
up only on s390x because it features a low BIGGEST_ALIGNMENT for a 64-bit
target.

Could you try the following fix?

Index: decl.c
===================================================================
--- decl.c      (revision 110584)
+++ decl.c      (working copy)
@@ -1058,7 +1058,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entit

            gnu_new_var
              = create_var_decl (create_concat_name (gnat_entity, "ALIGN"),
-                                NULL_TREE, gnu_new_type, gnu_expr, false,
+                                NULL_TREE, gnu_new_type, NULL_TREE, false,
                                 false, false, false, NULL, gnat_entity);

            if (gnu_expr)


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu dot|
                   |org                         |
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-02-04 08:38:33         |2006-02-04 08:44:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26096


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