diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-03-07 22:59:24 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:12:05 -0300 |
commit | b9b445ffe9086ee784d3d3b4f0c4fa15b0c905d8 (patch) | |
tree | b5ca8770543743502875eada55fcc44dfebd77d5 /gcc/fortran/expr.c | |
parent | 627d6f1c0492e97f17596ac141a9f403b0081842 (diff) | |
download | gcc-b9b445ffe9086ee784d3d3b4f0c4fa15b0c905d8.zip gcc-b9b445ffe9086ee784d3d3b4f0c4fa15b0c905d8.tar.gz gcc-b9b445ffe9086ee784d3d3b4f0c4fa15b0c905d8.tar.bz2 |
[Ada] Create constrained itypes for nested record aggregates
2020-06-11 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* sem_aggr.adb (Build_Constrained_Itype): Previously a declare
block, now a separate procedure; the only change is that now
New_Assoc_List might include components and an others clause,
which we ignore (while we deal with discriminants exactly as we
did before); extend a ??? comment about how this routine is
different from the Build_Subtype
(Resolve_Record_Aggregate): Create a constrained itype not just
for the outermost record aggregate, but for its inner record
aggregates as well.
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions