diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-05-11 18:21:29 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-07 05:26:53 -0400 |
commit | 4ea624b0f9957a454467bfd0c856b87c90012cf4 (patch) | |
tree | 8699a3f8d55ac9018ceb6d8552848ce712fc2ba8 /gcc | |
parent | 1948dcab167efef1d00117d71c440aff0319dbda (diff) | |
download | gcc-4ea624b0f9957a454467bfd0c856b87c90012cf4.zip gcc-4ea624b0f9957a454467bfd0c856b87c90012cf4.tar.gz gcc-4ea624b0f9957a454467bfd0c856b87c90012cf4.tar.bz2 |
[Ada] Remove extra checks for non-static context from resolving 'Update
gcc/ada/
* sem_attr.adb (Resolve_Attribute): Do not call
Check_Non_Static_Context.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sem_attr.adb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index d267811..b04b231 100644 --- a/gcc/ada/sem_attr.adb +++ b/gcc/ada/sem_attr.adb @@ -11999,13 +11999,10 @@ package body Sem_Attr is if Nkind (C) /= N_Aggregate then Analyze_And_Resolve (C, Etype (Indx)); - Check_Non_Static_Context (C); - else C_E := First (Expressions (C)); while Present (C_E) loop Analyze_And_Resolve (C_E, Etype (Indx)); - Check_Non_Static_Context (C_E); Next (C_E); Next_Index (Indx); |