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] Workaround for bootstrap problem on PPC/S390 (PR19853)


This works around the ICE compiling makegpr.adb on various units.
The problematic use of 'Unrestricted_Access here was unnecessary
and using 'Access in this case is preferred anyway.

Tested with bootstrap on powerpc-apple-darwin7.8.0,
and regression testing on i386-redhat-linux.

2005-02-15   <bosch@gnat.com>

	* makegpr.adb (Build_Library): Change unneeded 'Unrestricted_Access
	to 'Access. Also works around GCC PR19853.

Index: makegpr.adb
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/makegpr.adb,v
retrieving revision 1.16
diff -p -U2 -r1.16 makegpr.adb
--- makegpr.adb	3 Jan 2005 15:36:25 -0000	1.16
+++ makegpr.adb	15 Feb 2005 20:12:51 -0000
@@ -1367,5 +1367,5 @@ package body Makegpr is
       Driver_Name : Name_Id := No_Name;
 
-      Lib_Opts : Argument_List_Access := No_Argument'Unrestricted_Access;
+      Lib_Opts : Argument_List_Access := No_Argument'Access;
    begin
       Check_Archive_Builder;


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