diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-05-08 16:17:33 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-06-15 09:59:33 +0200 |
commit | 3b3e181be8e628e2ebddb3133f7247366e06aa09 (patch) | |
tree | 627dc735fcaaa9272b06e4610b8b434d7dc0db63 /gcc/vec.cc | |
parent | be54247f74f54ec883e7677a78d6ec1bd97b1e76 (diff) | |
download | gcc-3b3e181be8e628e2ebddb3133f7247366e06aa09.zip gcc-3b3e181be8e628e2ebddb3133f7247366e06aa09.tar.gz gcc-3b3e181be8e628e2ebddb3133f7247366e06aa09.tar.bz2 |
ada: Fix aspect Linker_Section ignored on subprogram body
The compiler is waiting for the freeze node of the body, but it is never
generated since the freezing of the body is not delayed. The change also
removes an obsolete piece of code.
gcc/ada/
* sem_ch13.adb (Analyze_Aspect_Specifications): Add missing items
in the list of aspects handled by means of Insert_Pragma.
<Aspect_Linker_Section>: Remove obsolete code. Do not delay the
processing of the aspect if the entity is already frozen.
Diffstat (limited to 'gcc/vec.cc')
0 files changed, 0 insertions, 0 deletions