diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-04-27 11:14:31 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-19 04:17:10 -0400 |
commit | a4dafb8b92e00e2f783bf8915b17f1f450eff227 (patch) | |
tree | 1a666e633d620d85f2080e45587f6123278fe2c0 /gcc/dump-context.h | |
parent | 66bd7af5cca12b8f0470d1e8cf347ae2de1e928f (diff) | |
download | gcc-a4dafb8b92e00e2f783bf8915b17f1f450eff227.zip gcc-a4dafb8b92e00e2f783bf8915b17f1f450eff227.tar.gz gcc-a4dafb8b92e00e2f783bf8915b17f1f450eff227.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/dump-context.h')
0 files changed, 0 insertions, 0 deletions