From: Piotr Trojanek Date: Mon, 11 May 2020 16:21:29 +0000 (+0200) Subject: [Ada] Remove extra checks for non-static context from resolving 'Update X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ea624b0f9957a454467bfd0c856b87c90012cf4;p=gcc.git [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. --- diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index d2678110f65..b04b2313bcf 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);