aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/fe.h
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2022-08-29 13:26:30 -0700
committerMarc Poulhiès <poulhies@adacore.com>2022-09-12 10:16:50 +0200
commit1588e8872ac0eb0d34a35b2f4dc9539ce10f4746 (patch)
tree4f58a0d3026e61638a16793f1365a80809729108 /gcc/ada/fe.h
parent4a46f59cb360013e11591a1e0d4cdc09f4b7dee1 (diff)
downloadgcc-1588e8872ac0eb0d34a35b2f4dc9539ce10f4746.zip
gcc-1588e8872ac0eb0d34a35b2f4dc9539ce10f4746.tar.gz
gcc-1588e8872ac0eb0d34a35b2f4dc9539ce10f4746.tar.bz2
[Ada] bugbox referencing INOX prefixed view of primitive op of modular type
The -gnatX switch enables naming a prefixed view of a subprogram with an untagged prefix. Compiling such a reference where the prefix is of a modular type could result in an internal compiler error. gcc/ada/ * sem_ch4.adb (Analyze_Selected_Component): Avoid initializing the local variable Comp if the variable is not going to be subsequently referenced. This is a correctness issue because the call to First_Entity can fail.
Diffstat (limited to 'gcc/ada/fe.h')
0 files changed, 0 insertions, 0 deletions