aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/make.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-06-11 14:29:22 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-06-11 14:29:22 +0200
commitdda3871423cbbdfc549a98034201f2c6e2e0d8ab (patch)
tree31866ba5fbc32c722c467efac24c59f04eeb55e7 /gcc/ada/make.adb
parent810241a5bfdbe0a3921916d3287eba6ef59ab575 (diff)
downloadgcc-dda3871423cbbdfc549a98034201f2c6e2e0d8ab.zip
gcc-dda3871423cbbdfc549a98034201f2c6e2e0d8ab.tar.gz
gcc-dda3871423cbbdfc549a98034201f2c6e2e0d8ab.tar.bz2
[multiple changes]
2014-06-11 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Subprogram_Body_Contract): Do not attempt analysis if error has been posted on subprogram body. 2014-06-11 Ed Schonberg <schonberg@adacore.com> * sem_ch13.adb (Analyze_Stream_TSS_Definition): Apply legality rule given in RM 13.1 (8/1) for operational attributes to stream attributes: the attribute must apply to a first subtype. Fixes missing errors in ACATS test bdd2004. 2014-06-11 Robert Dewar <dewar@adacore.com> * exp_ch3.adb (Build_Record_Init_Proc): Don't build for variant record type if restriction No_Implicit_Conditionals is active. (Expand_N_Object_Declaration): Don't allow default initialization for variant record type if restriction No_Implicit_Condition is active. (Build_Variant_Record_Equality): Don't build for variant record type if restriction No_Implicit_Conditionals is active. * exp_ch4.adb (Expand_N_Op_Eq): Error if variant records with No_Implicit_Conditionals. * sem_aux.ads, sem_aux.adb (Has_Variant_Part): New function. 2014-06-11 Ramon Fernandez <fernandez@adacore.com> * i-cstrin.ads: Update comments. 2014-06-11 Ed Schonberg <schonberg@adacore.com> * sem_res.adb (Resolve_Selected_Component): Handle properly a selected component whose prefix is overloaded, when none of the interpretations matches the expected type. 2014-06-11 Bob Duff <duff@adacore.com> * make.adb (Wait_For_Available_Slot): Give a more informative error message; if the ALI file is not found, print the full path of what it's looking for. From-SVN: r211456
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r--gcc/ada/make.adb9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index e8acb4e..6e07eb1 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- 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- --
@@ -3728,6 +3728,13 @@ package body Make is
Inform
(Data.Lib_File,
"WARNING: ALI or object file not found after compile");
+
+ if not Is_Regular_File
+ (Get_Name_String (Name_Id (Data.Full_Lib_File)))
+ then
+ Inform (Data.Full_Lib_File, "not found");
+ end if;
+
Record_Failure (Data.Full_Source_File, Data.Source_Unit);
end if;
end if;