diff options
author | Arnaud Charlet <charlet@adacore.com> | 2020-06-30 12:06:12 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-16 03:34:54 -0400 |
commit | 4b97cbeed9e4538c22f2c1d2bef8429f494735b2 (patch) | |
tree | 104b479b64329e79c8f1abd2c739e72f74176e84 | |
parent | 524301457dd42c12bb76dc4ff47d8e270e39ef65 (diff) | |
download | gcc-4b97cbeed9e4538c22f2c1d2bef8429f494735b2.zip gcc-4b97cbeed9e4538c22f2c1d2bef8429f494735b2.tar.gz gcc-4b97cbeed9e4538c22f2c1d2bef8429f494735b2.tar.bz2 |
[Ada] Preelaborate rules not fully enforced
gcc/ada/
* sem_cat.adb (Is_Primary): Handle N_Range properly.
-rw-r--r-- | gcc/ada/sem_cat.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/sem_cat.adb b/gcc/ada/sem_cat.adb index be1e67e..7872c68 100644 --- a/gcc/ada/sem_cat.adb +++ b/gcc/ada/sem_cat.adb @@ -2121,6 +2121,7 @@ package body Sem_Cat is | N_Index_Or_Discriminant_Constraint | N_Membership_Test | N_Op + | N_Range => return True; |