From 316b941e5bf55ade4db5ad4c2f6a6af6a60badef Mon Sep 17 00:00:00 2001 From: charlet Date: Fri, 8 Oct 2010 10:45:13 +0000 Subject: 2010-10-08 Thomas Quinot * xsnames.adb: Remove obsolete file. * make.adb, sem_ch8.adb, einfo.ads: Minor reformatting. 2010-10-08 Ed Schonberg * exp_aggr.adb: Complete previous change. 2010-10-08 Ed Schonberg * sem_ch6.adb (Check_Return_Subtype): The subtype indication in an extended return must match statically the return subtype of the enclosing function if the type is an elementary type or if it is constrained. 2010-10-08 Vincent Celier * prj-nmsc.adb (Add_Source): Report all duplicate units and source file names. Do not report the same duplicate unit several times. * prj.ads (Source_Data): New Boolean component Duplicate_Unit, defaulted to False, to avoid reporting the same unit as duplicate several times. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165160 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/prj.ads | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/ada/prj.ads') diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads index 4fc6c93a669..84c825ff661 100644 --- a/gcc/ada/prj.ads +++ b/gcc/ada/prj.ads @@ -765,6 +765,9 @@ package Prj is Naming_Exception : Boolean := False; -- True if the source has an exceptional name + Duplicate_Unit : Boolean := False; + -- True when a duplicate unit has been reported for this source + Next_In_Lang : Source_Id := No_Source; -- Link to another source of the same language in the same project end record; @@ -799,6 +802,7 @@ package Prj is Switches_Path => No_Path, Switches_TS => Empty_Time_Stamp, Naming_Exception => False, + Duplicate_Unit => False, Next_In_Lang => No_Source); package Source_Paths_Htable is new Simple_HTable -- cgit v1.2.1