diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-02-22 22:26:01 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-16 10:49:31 +0200 |
commit | 55d11e8751e070e38f981e308d84dfde23c2af3d (patch) | |
tree | 5dbd2096ded532622d0e2eeee0f1d7752a38a082 /gcc/tree-vectorizer.h | |
parent | f5c78702f9436bfa5a0cf1f87b6004ead79c5892 (diff) | |
download | gcc-55d11e8751e070e38f981e308d84dfde23c2af3d.zip gcc-55d11e8751e070e38f981e308d84dfde23c2af3d.tar.gz gcc-55d11e8751e070e38f981e308d84dfde23c2af3d.tar.bz2 |
ada: Improve recovery from illegal occurrence of 'Old in if_expression
Fix assertion failure in developer builds which happened when the THEN
expression contains an illegal occurrence of 'Old and the type of the
THEN expression is left as Any_Type, but there is no ELSE expression.
gcc/ada/
* sem_ch4.adb (Analyze_If_Expression): Add guard for
if_expression without an ELSE part.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions