* gnatcmd.adb (GNATCmd): For all tools other than gnatmake, allow
shared library projects to import projects that are not shared library
projects.
2010-10-11 Javier Miranda <miranda@adacore.com>
* debug.adb: Document that switch -gnatd.o generates the CIL listing.
2010-10-11 Arnaud Charlet <charlet@adacore.com>
* sem_prag.adb (Process_Suppress_Unsuppress): Only ignore
Suppress/Unsuppress pragmas in codepeer mode on user code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165296
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-10-11 Vincent Celier <celier@adacore.com>
+
+ * gnatcmd.adb (GNATCmd): For all tools other than gnatmake, allow
+ shared library projects to import projects that are not shared library
+ projects.
+
+2010-10-11 Javier Miranda <miranda@adacore.com>
+
+ * debug.adb: Document that switch -gnatd.o generates the CIL listing.
+
+2010-10-11 Arnaud Charlet <charlet@adacore.com>
+
+ * sem_prag.adb (Process_Suppress_Unsuppress): Only ignore
+ Suppress/Unsuppress pragmas in codepeer mode on user code.
+
2010-10-11 Javier Miranda <miranda@adacore.com>
* exp_ch6.adb (Expand_Call): For VM platforms, add missing expansion of
-- d.l Use Ada 95 semantics for limited function returns
-- d.m For -gnatl, print full source only for main unit
-- d.n Print source file names
- -- d.o
+ -- d.o Generate .NET listing of CIL code
-- d.p
-- d.q
-- d.r Enable OK_To_Reorder_Components in non-variant records
-- compiler has a bug -- these are the files that need to be included
-- in a bug report.
+ -- d.o documentation missing ???
+
-- d.r Forces the flag OK_To_Reorder_Components to be set in all record
-- base types that have no discriminants.
Program_Name (Command_List (The_Command).Unixcmd.all, "gnat");
end if;
+ -- For all tools other than gnatmake, allow shared library projects to
+ -- import projects that are not shared library projects.
+
+ if The_Command /= Make then
+ Opt.Unchecked_Shared_Lib_Imports := True;
+ end if;
+
-- Locate the executable for the command
Exec_Path := Locate_Exec_On_Path (Program.all);
-- Start of processing for Process_Suppress_Unsuppress
begin
- -- Ignore pragma Suppress/Unsuppress in codepeer mode: we want to
- -- generate checks for analysis purposes, as set by -gnatC.
+ -- Ignore pragma Suppress/Unsuppress in codepeer mode on user code:
+ -- we want to generate checks for analysis purposes, as set by -gnatC
- if CodePeer_Mode then
+ if CodePeer_Mode and then Comes_From_Source (N) then
return;
end if;