diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-03-10 00:31:11 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-16 08:42:04 +0000 |
commit | e4acb82e97f8043dcd5e6b91b7d3c05d7b478b45 (patch) | |
tree | 14b481d7bbdc031858d7ac0460cb83c21b3118ed /gcc/ada/cstreams.c | |
parent | e6bdaa0299d459e4f0486793bcbeff1bbe75f8a1 (diff) | |
download | gcc-e4acb82e97f8043dcd5e6b91b7d3c05d7b478b45.zip gcc-e4acb82e97f8043dcd5e6b91b7d3c05d7b478b45.tar.gz gcc-e4acb82e97f8043dcd5e6b91b7d3c05d7b478b45.tar.bz2 |
[Ada] Fix internal error on iterated array aggregate
The front-end drops the declaration of a temporary on the floor because
Insert_Actions fails to climb up out of an N_Iterated_Component_Association
when the temporary is created during the analysis of its Discrete_Choices.
gcc/ada/
* exp_util.adb (Insert_Actions) <N_Iterated_Component_Association>:
Climb up out of the node if the actions come from Discrete_Choices.
Diffstat (limited to 'gcc/ada/cstreams.c')
0 files changed, 0 insertions, 0 deletions