aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/env.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-08-01 15:23:32 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-01 15:23:32 +0200
commit84df40f7680c388bdb85cd859021013dd5c34197 (patch)
treebea83af31a5e3fb5b89d4ffbdd8ec590840e1e63 /gcc/ada/env.c
parentc7f0d2c0c5f24657874d7a4adeb504b3fe6c1f6f (diff)
downloadgcc-84df40f7680c388bdb85cd859021013dd5c34197.zip
gcc-84df40f7680c388bdb85cd859021013dd5c34197.tar.gz
gcc-84df40f7680c388bdb85cd859021013dd5c34197.tar.bz2
[multiple changes]
2011-08-01 Geert Bosch <bosch@adacore.com> * par-ch3.adb (P_Discrete_Choice_List): Improve error message for extra "," in choice list. 2011-08-01 Thomas Quinot <quinot@adacore.com> * exp_ch11.adb (Expand_N_Raise_Statement): Mark N_Raise_xxx_Error for explicit raise of a predefined exception as Comes_From_Source if the original N_Raise_Statement comes from source. 2011-08-01 Robert Dewar <dewar@adacore.com> * sinfo.ads: Add comment. * sem_ch6.adb: Minor reformatting. 2011-08-01 Robert Dewar <dewar@adacore.com> * freeze.adb (Freeze_Entity): Refine check for bad component size clause to avoid rejecting confirming clause when atomic/aliased present. 2011-08-01 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Find_Direct_Name, Analyze_Expanded_Name): use Is_LHS to better determine whether an entity reference is a write. * sem_util.adb (Is_LHS): refine predicate to handle assignment to a subcomponent. * lib-xref.adb (Output_References): Do no suppress a read reference at the same location as an immediately preceeding modify-reference, to handle properly in-out actuals. 2011-08-01 Tristan Gingold <gingold@adacore.com> * env.c (__gnat_setenv) [VMS]: Refine previous change. 2011-08-01 Quentin Ochem <ochem@adacore.com> * i-cstrin.adb (New_String): Changed implementation, now uses only the heap to compute the result. From-SVN: r177029
Diffstat (limited to 'gcc/ada/env.c')
-rw-r--r--gcc/ada/env.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/env.c b/gcc/ada/env.c
index 8115442c..e83a051 100644
--- a/gcc/ada/env.c
+++ b/gcc/ada/env.c
@@ -50,7 +50,6 @@ extern "C" {
#include <time.h>
#ifdef VMS
#include <unixio.h>
-#include <vms/descrip.h>
#endif
#if defined (__MINGW32__)
@@ -74,6 +73,10 @@ extern char** ppGlobalEnviron;
#include <crt_externs.h>
#endif
+#ifdef VMS
+#include <vms/descrip.h>
+#endif
+
#include "env.h"
void