aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-path.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-02-17 18:20:01 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-13 08:04:30 +0000
commit0145570e89270c33d4cf2a0abd2a215f09456789 (patch)
tree39316f38895b94b3474aa598ad3aabf83b35f391 /gcc/gimple-range-path.cc
parent83bacaa9b5d8b652f311633ca9584ea56cd71d86 (diff)
downloadgcc-0145570e89270c33d4cf2a0abd2a215f09456789.zip
gcc-0145570e89270c33d4cf2a0abd2a215f09456789.tar.gz
gcc-0145570e89270c33d4cf2a0abd2a215f09456789.tar.bz2
[Ada] Fix compiler crash on FOR iteration scheme over container
The front-end drops a freeze node on the floor because it puts the node into the Condition_Actions of an N_Iteration_Scheme of a FOR loop. gcc/ada/ * exp_util.adb (Insert_Actions) <N_Iteration_Scheme>: Check that it is a WHILE iteration scheme before using Condition_Actions.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions