mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 05:50:27 +08:00
[multiple changes]
2014-06-11 Robert Dewar <dewar@adacore.com> * make.adb, sem_res.adb: Minor reformatting. 2014-06-11 Thomas Quinot <quinot@adacore.com> * a-astaco.ads, a-tags.ads, s-excdeb.ads, a-tgdico.ads, a-stmaco.ads, a-except-2005.ads, s-except.ads, a-taside.ads, a-dynpri.ads, a-chahan.ads, a-sytaco.ads, s-stalib.ads, a-strmap.ads: Change pragmas Preelaborate_05 to just Preelaborate in runtime units, and similarly change Pure_05 to just Pure. From-SVN: r211457
This commit is contained in:
parent
dda3871423
commit
9926efec78
@ -1,3 +1,15 @@
|
||||
2014-06-11 Robert Dewar <dewar@adacore.com>
|
||||
|
||||
* make.adb, sem_res.adb: Minor reformatting.
|
||||
|
||||
2014-06-11 Thomas Quinot <quinot@adacore.com>
|
||||
|
||||
* a-astaco.ads, a-tags.ads, s-excdeb.ads, a-tgdico.ads, a-stmaco.ads,
|
||||
a-except-2005.ads, s-except.ads, a-taside.ads, a-dynpri.ads,
|
||||
a-chahan.ads, a-sytaco.ads, s-stalib.ads, a-strmap.ads: Change pragmas
|
||||
Preelaborate_05 to just Preelaborate in runtime units, and similarly
|
||||
change Pure_05 to just Pure.
|
||||
|
||||
2014-06-11 Ed Schonberg <schonberg@adacore.com>
|
||||
|
||||
* sem_ch6.adb (Analyze_Subprogram_Body_Contract): Do not attempt
|
||||
|
@ -27,7 +27,7 @@
|
||||
with Ada.Task_Identification;
|
||||
|
||||
package Ada.Asynchronous_Task_Control is
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
pragma Unimplemented_Unit;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -34,8 +34,7 @@
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
package Ada.Characters.Handling is
|
||||
pragma Preelaborate;
|
||||
pragma Pure_05;
|
||||
pragma Pure;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
----------------------------------------
|
||||
|
@ -17,7 +17,7 @@ with System;
|
||||
with Ada.Task_Identification;
|
||||
|
||||
package Ada.Dynamic_Priorities is
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
procedure Set_Priority
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -51,7 +51,7 @@ with System.Standard_Library;
|
||||
with System.Traceback_Entries;
|
||||
|
||||
package Ada.Exceptions is
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- In accordance with Ada 2005 AI-362.
|
||||
|
||||
type Exception_Id is private;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -36,8 +36,7 @@
|
||||
with Ada.Characters.Latin_1;
|
||||
|
||||
package Ada.Strings.Maps.Constants is
|
||||
pragma Preelaborate;
|
||||
pragma Pure_05;
|
||||
pragma Pure;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
Control_Set : constant Character_Set;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -36,8 +36,7 @@
|
||||
with Ada.Characters.Latin_1;
|
||||
|
||||
package Ada.Strings.Maps is
|
||||
pragma Preelaborate;
|
||||
pragma Pure_05;
|
||||
pragma Pure;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
--------------------------------
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -38,7 +38,7 @@ with System.Task_Primitives;
|
||||
with Ada.Finalization;
|
||||
|
||||
package Ada.Synchronous_Task_Control is
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
type Suspension_Object is limited private;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2011, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -37,7 +37,7 @@ with System;
|
||||
with System.Storage_Elements;
|
||||
|
||||
package Ada.Tags is
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
type Tag is private;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
@ -37,7 +37,7 @@ with System;
|
||||
with System.Tasking;
|
||||
|
||||
package Ada.Task_Identification is
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- In accordance with Ada 2005 AI-362
|
||||
|
||||
type Task_Id is private;
|
||||
|
@ -25,7 +25,7 @@ generic
|
||||
function Ada.Tags.Generic_Dispatching_Constructor
|
||||
(The_Tag : Tag;
|
||||
Params : not null access Parameters) return T'Class;
|
||||
pragma Preelaborate_05 (Generic_Dispatching_Constructor);
|
||||
pragma Preelaborate (Generic_Dispatching_Constructor);
|
||||
pragma Import (Intrinsic, Generic_Dispatching_Constructor);
|
||||
-- Note: the reason that we use Preelaborate_05 here is so that this will
|
||||
-- compile fine during the normal build procedures. In Ada 2005 mode (which
|
||||
|
@ -3730,7 +3730,7 @@ package body Make is
|
||||
"WARNING: ALI or object file not found after compile");
|
||||
|
||||
if not Is_Regular_File
|
||||
(Get_Name_String (Name_Id (Data.Full_Lib_File)))
|
||||
(Get_Name_String (Name_Id (Data.Full_Lib_File)))
|
||||
then
|
||||
Inform (Data.Full_Lib_File, "not found");
|
||||
end if;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 2006-2013, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 2006-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- GNAT is free software; you can redistribute it and/or modify it under --
|
||||
-- terms of the GNU General Public License as published by the Free Soft- --
|
||||
@ -39,7 +39,7 @@ with System.Standard_Library;
|
||||
|
||||
package System.Exceptions_Debug is
|
||||
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- To let Ada.Exceptions "with" us and let us "with" Standard_Library
|
||||
|
||||
package SSL renames System.Standard_Library;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 2006-2013, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 2006-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- GNAT is free software; you can redistribute it and/or modify it under --
|
||||
-- terms of the GNU General Public License as published by the Free Soft- --
|
||||
@ -33,7 +33,7 @@ pragma Compiler_Unit_Warning;
|
||||
|
||||
package System.Exceptions is
|
||||
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
-- To let Ada.Exceptions "with" us and let us "with" Standard_Library
|
||||
|
||||
ZCX_By_Default : constant Boolean;
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- GNAT is free software; you can redistribute it and/or modify it under --
|
||||
-- terms of the GNU General Public License as published by the Free Soft- --
|
||||
@ -54,7 +54,7 @@ with Ada.Unchecked_Conversion;
|
||||
|
||||
package System.Standard_Library is
|
||||
pragma Warnings (Off);
|
||||
pragma Preelaborate_05;
|
||||
pragma Preelaborate;
|
||||
pragma Warnings (On);
|
||||
|
||||
subtype Big_String is String (1 .. Positive'Last);
|
||||
|
@ -9213,7 +9213,7 @@ package body Sem_Res is
|
||||
Get_Next_Interp (I, It);
|
||||
end loop Search;
|
||||
|
||||
-- There must be a legal interpreations at this point.
|
||||
-- There must be a legal interpretation at this point
|
||||
|
||||
pragma Assert (Found);
|
||||
Resolve (P, It1.Typ);
|
||||
@ -9243,7 +9243,6 @@ package body Sem_Res is
|
||||
if Is_Access_Type (Etype (P)) then
|
||||
T := Designated_Type (Etype (P));
|
||||
Check_Fully_Declared_Prefix (T, P);
|
||||
|
||||
else
|
||||
T := Etype (P);
|
||||
end if;
|
||||
|
Loading…
x
Reference in New Issue
Block a user