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

Ada on powerpc-darwin


The following patch allows bootstrap of c,ada on mailine
(and probably 3.4) using the 3.3 c,ada compiler available on
www.macada.org (together with some minor configure/Makefile changes).

Without it, the stage1 compiler ICEs when compiling sem_prag.adb.

What is the policy on such "workaround" patches? (except
that I need a comment and/or explicit ChangeLog :).

Laurent

--- sem_prag.adb.orig	2004-03-18 22:21:22.000000000 +0100
+++ sem_prag.adb	2004-03-18 22:21:48.000000000 +0100
@@ -3441,7 +3441,9 @@
             --  suppress check for any check id value.
 
             if C = All_Checks then
-               Scope_Suppress := (others => Suppress_Case);
+	       for I in Scope_Suppress'Range loop
+		  Scope_Suppress (I) := Suppress_Case;
+	       end loop;
             else
                Scope_Suppress (C) := Suppress_Case;
             end if;



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