aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-03-16 10:39:37 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-26 09:29:16 +0200
commitc8def50f5cb208c29591cec14609f33d2dec92eb (patch)
tree73d5a1a44a4a9d9bbf0f25a0f55a5260014a088e /gcc/fortran
parent0c1d2675f964808b042b9fafae2c540933bb8269 (diff)
downloadgcc-c8def50f5cb208c29591cec14609f33d2dec92eb.zip
gcc-c8def50f5cb208c29591cec14609f33d2dec92eb.tar.gz
gcc-c8def50f5cb208c29591cec14609f33d2dec92eb.tar.bz2
ada: Use context variables in expansion of aggregates
Code cleanup; semantics is unaffected. gcc/ada/ * exp_aggr.adb (Build_Constrained_Type): Remove local constants that were shadowing equivalent global constants; replace a wrapper that calls Make_Integer_Literal with a numeric literal; remove explicit Aliased_Present parameter which is equivalent to the default value. (Check_Bounds): Remove unused initial value. (Expand_Array_Aggregate): Use aggregate type from the context.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions