diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-03-10 18:05:13 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-25 09:44:19 +0200 |
commit | 9e8094a2a20607871721275a466b2524cfe98124 (patch) | |
tree | b33fa1f73693bb5d6618030464b8b5718be6c391 /gcc/genmodes.cc | |
parent | 21e57cabf64612cbd3556b51054fa9c1de103faa (diff) | |
download | gcc-9e8094a2a20607871721275a466b2524cfe98124.zip gcc-9e8094a2a20607871721275a466b2524cfe98124.tar.gz gcc-9e8094a2a20607871721275a466b2524cfe98124.tar.bz2 |
ada: Fix internal error on declare-expression in post-condition
It comes from an incorrect node sharing in the expanded tree.
gcc/ada/
* sem_ch3.adb (Find_Type_Of_Object): Copy the object definition when
building the subtype declaration in the case of a spec expression.
Diffstat (limited to 'gcc/genmodes.cc')
0 files changed, 0 insertions, 0 deletions