aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_disp.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2017-04-25 14:03:43 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2017-04-25 14:03:43 +0200
commit8f34c90bb2ca334c7e8fab6b23b1e0499fafb161 (patch)
tree8436bb18ba169fa04c104b935b606d39f87419e1 /gcc/ada/sem_disp.adb
parent4f9c5d5c4892e584a42b98f8d8643ce0b7b76490 (diff)
downloadgcc-8f34c90bb2ca334c7e8fab6b23b1e0499fafb161.zip
gcc-8f34c90bb2ca334c7e8fab6b23b1e0499fafb161.tar.gz
gcc-8f34c90bb2ca334c7e8fab6b23b1e0499fafb161.tar.bz2
[multiple changes]
2017-04-25 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Same_Value): String literals are compile-time values, and comparing them must use Expr_Value_S. 2017-04-25 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Complete_Object_Interpretation): If an explicit dereference is introduced for the object, and the object is overloaded, do not check whether it is aliased, because it may include an implicit dereference. * sem_type.adb (Disambiguate): If two interpretations are access attribute types with the same designated type keep either of them and do not report an ambiguity. A true ambiguity will be reported elsewhere. 2017-04-25 Bob Duff <duff@adacore.com> * a-numeri.ads: Change the encoding of Greek letter Pi from brackets encoding to UTF-8. Use pragma Wide_Character_Encoding to indicate the encoding. We considered using a byte order mark (BOM), but that causes various trouble (misc software eats the BOM, if you have a patch with a BOM, then it's not at the start of the patch, so it's not a BOM, the BOM affects with-ing files, etc.). * scng.adb, s-wchcnv.adb: Minor. 2017-04-25 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch3.adb, sem_ch8.adb, sem_disp.adb: Minor reformatting. From-SVN: r247197
Diffstat (limited to 'gcc/ada/sem_disp.adb')
-rw-r--r--gcc/ada/sem_disp.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_disp.adb b/gcc/ada/sem_disp.adb
index e322894..68e3e1e 100644
--- a/gcc/ada/sem_disp.adb
+++ b/gcc/ada/sem_disp.adb
@@ -575,7 +575,7 @@ package body Sem_Disp is
-- but will be legal in overridings of the operation.
elsif (Is_Subprogram (Scop)
- or else Chars (Scop) = Name_Postcondition)
+ or else Chars (Scop) = Name_Postcondition)
and then
(Is_Abstract_Subprogram (Scop)
or else