summaryrefslogtreecommitdiff
path: root/gcc/ada/frontend.adb
diff options
context:
space:
mode:
authorbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-17 20:51:30 +0000
committerbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-17 20:51:30 +0000
commit303e829182e62008667899110e4f22831d1c419d (patch)
treeafc9a30cea33ef608a09965e03afeb5bd25bc1da /gcc/ada/frontend.adb
parent9e5833d993fe743003c8efc99f475c499adec3ff (diff)
downloadgcc-303e829182e62008667899110e4f22831d1c419d.tar.gz
* frontend.adb: Move call to Check_Unused_Withs from Frontend, so
that it happens before modification of Sloc values for -gnatD. * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend, so that it happens before modification of Sloc values for -gnatD. * switch.adb: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/frontend.adb')
-rw-r--r--gcc/ada/frontend.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb
index 9aa1e7d16c9..bbfdaee5c8c 100644
--- a/gcc/ada/frontend.adb
+++ b/gcc/ada/frontend.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- $Revision: 1.84 $
+-- $Revision$
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@@ -302,6 +302,7 @@ begin
-- Output any messages for unreferenced entities
Output_Unreferenced_Messages;
+ Sem_Warn.Check_Unused_Withs;
end if;
-- Qualify all entity names in inner packages, package bodies, etc.,