diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-01-30 00:05:42 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-16 10:30:58 +0200 |
commit | 5fa02009e49c5f6d8a187db4cb87405b3ef43b88 (patch) | |
tree | 943a2249b8784b0c13b50a64a622c61c6df76aaa /gcc/ada/usage.adb | |
parent | ae334957c7dbbf3db6b612cd6f5fe058877abac4 (diff) | |
download | gcc-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