summaryrefslogtreecommitdiffstats
path: root/gcc/ada/link.c
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 15:30:55 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 15:30:55 +0000
commit9b94c9e77eadf74ab499c42f7d501e14c0268f12 (patch)
treedca6bc667fec0d4019625565da962cad56295847 /gcc/ada/link.c
parent1d95eb48fa9e0996564cfdbbe0518f34a0bcb42b (diff)
downloadppe42-gcc-9b94c9e77eadf74ab499c42f7d501e14c0268f12.tar.gz
ppe42-gcc-9b94c9e77eadf74ab499c42f7d501e14c0268f12.zip
2011-08-02 Vincent Celier <celier@adacore.com>
* link.c: Only import "auto-host.h" when building the gnattools. 2011-08-02 Yannick Moy <moy@adacore.com> * sem_util.adb: Inter-unit inlining does not work for a subprogram which calls a local subprogram, so extract subprogram from Mark_Non_ALFA_Subprogram_Body. 2011-08-02 Javier Miranda <miranda@adacore.com> * exp_ch9.adb (Extract_Dispatching_Call): If the type of the dispatching object is an access type then return an explicit dereference in the Object out-mode parameter. 2011-08-02 Gary Dismukes <dismukes@adacore.com> * sem_ch3.adb (Analyze_Subtype_Declaration): Generate range compatibility checks for all indexes of an array subtype, not just the first. Reset Has_Dynamic_Range_Check on the subtype before each potential check to ensure that Insert_Range_Checks will not elide any of the dynamic checks. 2011-08-02 Yannick Moy <moy@adacore.com> * par-prag.ad (Process_Restrictions_Or_Restriction_Warnings): recognize SPARK restriction at parsing time. * scng.adb (Scan): Generate a token Tok_SPARK_Hide for a SPARK HIDE directive only if the SPARK restriction is set for this unit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/link.c')
-rw-r--r--gcc/ada/link.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/link.c b/gcc/ada/link.c
index 3c21c975e8e..b8fd835c2d8 100644
--- a/gcc/ada/link.c
+++ b/gcc/ada/link.c
@@ -37,7 +37,10 @@ extern "C" {
#endif
#include <string.h>
+
+#ifdef IN_GCC
#include "auto-host.h"
+#endif
/* objlist_file_supported is set to 1 when the system linker allows */
/* response file, that is a file that contains the list of object files. */
OpenPOWER on IntegriCloud