aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-10-26 11:35:52 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-10-26 11:35:52 +0100
commita9fdbccb850f3f81ea9c7dcb31e34c1f22a39ac4 (patch)
tree7956deed6960b44b0c07139d7420983b4e1e1b25 /gcc
parentf8ac2f077a4a36e3a7c54b289ef4a4ada15af357 (diff)
downloadgcc-a9fdbccb850f3f81ea9c7dcb31e34c1f22a39ac4.zip
gcc-a9fdbccb850f3f81ea9c7dcb31e34c1f22a39ac4.tar.gz
gcc-a9fdbccb850f3f81ea9c7dcb31e34c1f22a39ac4.tar.bz2
[multiple changes]
2015-10-26 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Analyze_Formal_Package_Declaration): Do not set Box_Present when the formal part is (others => <>) even though it is equivalent to a formal part (<>), because ASIS tools depend on the syntactic setting of this flag. 2015-10-26 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch13.adb: Minor reformatting. * einfo.ads: Minor typo. 2015-10-26 Joel Brobecker <brobecker@adacore.com brobecker> * adaint.c (__gnat_open_new_temp): Use mkstemp on Android. From-SVN: r229318
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog16
-rw-r--r--gcc/ada/adaint.c4
-rw-r--r--gcc/ada/einfo.ads2
-rw-r--r--gcc/ada/sem_ch13.adb3
4 files changed, 20 insertions, 5 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d0f3e5f..1bb4fdc 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,21 @@
2015-10-26 Ed Schonberg <schonberg@adacore.com>
+ * sem_ch12.adb (Analyze_Formal_Package_Declaration): Do not set
+ Box_Present when the formal part is (others => <>) even though
+ it is equivalent to a formal part (<>), because ASIS tools depend
+ on the syntactic setting of this flag.
+
+2015-10-26 Hristian Kirtchev <kirtchev@adacore.com>
+
+ * sem_ch13.adb: Minor reformatting.
+ * einfo.ads: Minor typo.
+
+2015-10-26 Joel Brobecker <brobecker@adacore.com brobecker>
+
+ * adaint.c (__gnat_open_new_temp): Use mkstemp on Android.
+
+2015-10-26 Ed Schonberg <schonberg@adacore.com>
+
* sem_ch12.adb (Analyze_Formal_Package_Declaration): Code clean up.
* sem_ch13.adb (Check_Inherited_Indexing): New inner procedure
of Check_Indexing_Functions, to verify that a derived type with an
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index 6849cd1..cb3e82c 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -983,8 +983,8 @@ __gnat_open_new_temp (char *path, int fmode)
strcpy (path, "GNAT-XXXXXX");
#if (defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) \
- || defined (__linux__) || defined (__GLIBC__)) && !defined (__vxworks) \
- || defined (__DragonFly__)
+ || defined (__linux__) || defined (__GLIBC__) || defined (__ANDROID__) \
+ || defined (__DragonFly__)) && !defined (__vxworks)
return mkstemp (path);
#elif defined (__Lynx__)
mktemp (path);
diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads
index 201da87..e2a236a 100644
--- a/gcc/ada/einfo.ads
+++ b/gcc/ada/einfo.ads
@@ -3899,7 +3899,7 @@ package Einfo is
-- Requires_Overriding (Flag213)
-- Defined in all subprograms and entries. Set for subprograms that
-- require overriding as defined by RM-2005-3.9.3(6/2). Note that this
--- is True only for implicitly declare subprograms; it is not set on the
+-- is True only for implicitly declared subprograms; it is not set on the
-- parent type's subprogram. See also Is_Abstract_Subprogram.
-- Return_Present (Flag54)
diff --git a/gcc/ada/sem_ch13.adb b/gcc/ada/sem_ch13.adb
index fea90d1..e3b6bf7 100644
--- a/gcc/ada/sem_ch13.adb
+++ b/gcc/ada/sem_ch13.adb
@@ -4014,8 +4014,7 @@ package body Sem_Ch13 is
else
Illegal_Indexing
- ("indexing function already inherited "
- & "from parent type");
+ ("indexing function already inherited from parent type");
Error_Msg_NE
("!override & instead",
N, Entity (Expression (Inherited)));