aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ada/atree.adb1
-rw-r--r--gcc/ada/atree.ads1
-rw-r--r--gcc/ada/fmap.adb2
-rw-r--r--gcc/ada/fname-sf.adb2
-rw-r--r--gcc/ada/libgnat/a-direct.adb1
-rw-r--r--gcc/ada/libgnat/s-bignum.adb1
-rw-r--r--gcc/ada/sem_ch12.adb2
7 files changed, 2 insertions, 8 deletions
diff --git a/gcc/ada/atree.adb b/gcc/ada/atree.adb
index bb4c3b4..08e3667 100644
--- a/gcc/ada/atree.adb
+++ b/gcc/ada/atree.adb
@@ -31,6 +31,7 @@ with Opt; use Opt;
with Output; use Output;
with Sinfo.Utils; use Sinfo.Utils;
with System.Storage_Elements;
+with Unchecked_Conversion;
package body Atree is
diff --git a/gcc/ada/atree.ads b/gcc/ada/atree.ads
index 417a7ab..9d01cfc 100644
--- a/gcc/ada/atree.ads
+++ b/gcc/ada/atree.ads
@@ -52,7 +52,6 @@ with Types; use Types;
with Seinfo; use Seinfo;
with System; use System;
with Table;
-with Unchecked_Conversion;
package Atree is
diff --git a/gcc/ada/fmap.adb b/gcc/ada/fmap.adb
index afa9ee4..0fa4649 100644
--- a/gcc/ada/fmap.adb
+++ b/gcc/ada/fmap.adb
@@ -34,8 +34,6 @@ pragma Warnings (Off);
with System.OS_Lib; use System.OS_Lib;
pragma Warnings (On);
-with Unchecked_Conversion;
-
with GNAT.HTable;
package body Fmap is
diff --git a/gcc/ada/fname-sf.adb b/gcc/ada/fname-sf.adb
index 39ce267..bb72b30 100644
--- a/gcc/ada/fname-sf.adb
+++ b/gcc/ada/fname-sf.adb
@@ -30,8 +30,6 @@ with Osint; use Osint;
with Types; use Types;
with System.OS_Lib; use System.OS_Lib;
-with Unchecked_Conversion;
-
package body Fname.SF is
----------------------
diff --git a/gcc/ada/libgnat/a-direct.adb b/gcc/ada/libgnat/a-direct.adb
index 2c07cc4..7a65587 100644
--- a/gcc/ada/libgnat/a-direct.adb
+++ b/gcc/ada/libgnat/a-direct.adb
@@ -38,7 +38,6 @@ use Ada.Directories.Hierarchical_File_Names;
with Ada.Strings.Fixed;
with Ada.Strings.Maps; use Ada.Strings.Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
-with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
with Interfaces.C;
diff --git a/gcc/ada/libgnat/s-bignum.adb b/gcc/ada/libgnat/s-bignum.adb
index 9377102..93f2229 100644
--- a/gcc/ada/libgnat/s-bignum.adb
+++ b/gcc/ada/libgnat/s-bignum.adb
@@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------
-with Ada.Unchecked_Conversion;
with System.Generic_Bignums;
with System.Secondary_Stack; use System.Secondary_Stack;
with System.Shared_Bignums; use System.Shared_Bignums;
diff --git a/gcc/ada/sem_ch12.adb b/gcc/ada/sem_ch12.adb
index 963f353..6a914ec 100644
--- a/gcc/ada/sem_ch12.adb
+++ b/gcc/ada/sem_ch12.adb
@@ -5708,9 +5708,9 @@ package body Sem_Ch12 is
Set_Scope (Inst_Id, Current_Scope);
Set_Entity (Gen_Id, Gen_Unit);
- Set_Is_Instantiated (Gen_Unit);
if In_Extended_Main_Source_Unit (N) then
+ Set_Is_Instantiated (Gen_Unit);
Generate_Reference (Gen_Unit, N);
end if;