aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/scng.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/scng.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/scng.adb')
-rw-r--r--gcc/ada/scng.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/scng.adb b/gcc/ada/scng.adb
index 3f1c3a9..2b35c9a 100644
--- a/gcc/ada/scng.adb
+++ b/gcc/ada/scng.adb
@@ -2533,10 +2533,12 @@ package body Scng is
-- End loop past format effectors. The exit from this loop is by
-- executing a return statement following completion of token scan
- -- (control never falls out of this loop to the code which follows)
+ -- (control never falls out of this loop to the code that follows).
end loop;
+ pragma Assert (False);
+
-- Wide_Character scanning routine. On entry we have encountered the
-- initial character of a wide character sequence.