diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-04-27 11:14:31 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:14:05 -0300 |
commit | f42f7e22e52183eaf071594cce3028ed8d80b106 (patch) | |
tree | 0a48720ea6f49cfd640b7b4661be892ac007d7d8 /gcc/fortran/interface.c | |
parent | 092d63c0fb681013eef475fccdac2d44181120e3 (diff) | |
download | gcc-f42f7e22e52183eaf071594cce3028ed8d80b106.zip gcc-f42f7e22e52183eaf071594cce3028ed8d80b106.tar.gz gcc-f42f7e22e52183eaf071594cce3028ed8d80b106.tar.bz2 |
[Ada] Simplify processing of 'Valid_Scalars on array types
2020-06-19 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* exp_attr.adb (Expand_N_Attribute_Reference): Do not call
Scalar_Part_Present on the array component's type.
(Build_Array_VS_Func): Remove Comp_Typ parameter, because it can
be easily computed from the Array_Top parameter *and redundant
parameters are confusing and error-prone).
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions