aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch4.ads
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-04-03 16:54:39 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-05-29 10:23:19 +0200
commit5f691c62b5fee61f72352dac324c3fef57cc8511 (patch)
tree7ca8d8095c6d6a621bfbe4603f2868e2c951bfc6 /gcc/ada/sem_ch4.ads
parent41448347f4464bceed9c09d9f1401c40118b8797 (diff)
downloadgcc-5f691c62b5fee61f72352dac324c3fef57cc8511.zip
gcc-5f691c62b5fee61f72352dac324c3fef57cc8511.tar.gz
gcc-5f691c62b5fee61f72352dac324c3fef57cc8511.tar.bz2
ada: Restore parent link for both lists and nodes in class-wide condition
When preanalysing class-wide conditions, we restore "Function (Object)" to its original "Object.Function" notation. This requires the Parent links to be fixed. We did it for nodes; now we do it for lists as well. This patch is enough to fix assertion failure in CCG and to make the tree well-connected. Perhaps there is a more elegant solution, but that remains to be investigated. gcc/ada/ * contracts.adb (Fix_Parent): Fir part both for lists and nodes.
Diffstat (limited to 'gcc/ada/sem_ch4.ads')
0 files changed, 0 insertions, 0 deletions