aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-01-30 00:05:42 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-16 10:30:58 +0200
commit5fa02009e49c5f6d8a187db4cb87405b3ef43b88 (patch)
tree943a2249b8784b0c13b50a64a622c61c6df76aaa /gcc/ada/usage.adb
parentae334957c7dbbf3db6b612cd6f5fe058877abac4 (diff)
downloadgcc-5fa02009e49c5f6d8a187db4cb87405b3ef43b88.zip
gcc-5fa02009e49c5f6d8a187db4cb87405b3ef43b88.tar.gz
gcc-5fa02009e49c5f6d8a187db4cb87405b3ef43b88.tar.bz2
ada: Fix crash on iterated component in expression function
The problem is that the freeze node generated for the type of a static subexpression present in the expression function is incorrectly placed inside instead of outside the function. gcc/ada/ * freeze.adb (Freeze_Expression): When the freezing is to be done outside the current scope, skip any scope that is an internal loop.
Diffstat (limited to 'gcc/ada/usage.adb')
0 files changed, 0 insertions, 0 deletions