diff options
author | Bob Duff <duff@adacore.com> | 2023-08-23 08:14:07 -0400 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-09-05 13:05:15 +0200 |
commit | d54e996a25d34d1cfaa5fd1de5127668bb43755a (patch) | |
tree | 73f6ae3a3e123849b7d814755e16c7f07cba2411 /gcc/c | |
parent | 9be6a698f95f94a27307208cdb90bd2018182071 (diff) | |
download | gcc-d54e996a25d34d1cfaa5fd1de5127668bb43755a.zip gcc-d54e996a25d34d1cfaa5fd1de5127668bb43755a.tar.gz gcc-d54e996a25d34d1cfaa5fd1de5127668bb43755a.tar.bz2 |
ada: Fix crash on selected component lookup in generic instance
This patch fixes a compiler crash on selected component lookup in an instance
of a generic unit when the relevant type is an itype.
gcc/ada/
* sem_ch4.adb (Find_Component_In_Instance): Check that
Declaration_Node (Par) is not Empty, as it is for itypes.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions