+2015-10-27 Arnaud Charlet <charlet@adacore.com>
+
+ * gnat1drv.adb: Remove hard coded restrictions.
+
+2015-10-27 Pascal Obry <obry@adacore.com>
+
+ * a-dirval-mingw.adb: Minor reformatting.
+
2015-10-27 Javier Miranda <miranda@adacore.com>
* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Improve previous patch.
-- B o d y --
-- (Windows Version) --
-- --
--- Copyright (C) 2004-2014, Free Software Foundation, Inc. --
+-- Copyright (C) 2004-2015, 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- --
if Name'Length >= 2
and then Name (Start + 1) = ':'
and then
- (Name (Start) in 'A' .. 'Z' or else
- Name (Start) in 'a' .. 'z')
+ (Name (Start) in 'A' .. 'Z'
+ or else Name (Start) in 'a' .. 'z')
then
Start := Start + 2;
loop
-- Look for the start of the next directory or file name
- while Start <= Name'Last and then
- (Name (Start) = '\' or Name (Start) = '/')
+ while Start <= Name'Last
+ and then (Name (Start) = '\' or Name (Start) = '/')
loop
Start := Start + 1;
end loop;
Unnest_Subprogram_Mode := True;
Back_Annotate_Rep_Info := True;
- -- Enable some restrictions systematically to simplify the generated
- -- code. Note that restriction checks are also disabled in C mode,
- -- see Restrict.Check_Restriction.
-
- Restrict.Restrictions.Set (No_Exception_Registration) := True;
- Restrict.Restrictions.Set (No_Initialize_Scalars) := True;
- Restrict.Restrictions.Set (No_Task_Hierarchy) := True;
- Restrict.Restrictions.Set (No_Abort_Statements) := True;
- Restrict.Restrictions.Set (Max_Asynchronous_Select_Nesting) := True;
- Restrict.Restrictions.Value (Max_Asynchronous_Select_Nesting) := 0;
-
-- Set operating mode to Generate_Code to benefit from full front-end
-- expansion (e.g. generics).