aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-01-10 21:08:04 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-09 09:27:29 +0000
commit9a9d06f7115d18d57fa603d6b80a53912607a703 (patch)
treeff56f21f6c126960dd479a3219811c37f36d703e /gcc/ada/init.c
parenta72fd98bf5f1e57fa2ebbacff832bd4f753fd874 (diff)
downloadgcc-9a9d06f7115d18d57fa603d6b80a53912607a703.zip
gcc-9a9d06f7115d18d57fa603d6b80a53912607a703.tar.gz
gcc-9a9d06f7115d18d57fa603d6b80a53912607a703.tar.bz2
[Ada] Remove repeated analysis of attribute prefixes
At the beginning of Analyze_Attribute routine we analyze the attribute prefix. There is no need to repeat this analysis in branches for individual attributes. Code cleanup related to various Analyze/Resolve routines. gcc/ada/ * sem_attr.adb (Analyze_Attribute): Remove calls to Analyze for attributes Identity, Priority, Ref, Restriction_Set, To_Address and for tasking-related attributes Callable, Terminated and Storage_Size.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions