diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-03-22 15:38:34 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-06-18 04:36:53 -0400 |
commit | f86c2f9c8e5d7d02cc6b79fc80a647a9a27e23f2 (patch) | |
tree | 9ec4741e9dbe9d1917cd7a0faca55b8906cf4b06 /gcc/fortran | |
parent | a34ce7c5dff5281eb06e82d0b2fb8e3fe6a36ac7 (diff) | |
download | gcc-f86c2f9c8e5d7d02cc6b79fc80a647a9a27e23f2.zip gcc-f86c2f9c8e5d7d02cc6b79fc80a647a9a27e23f2.tar.gz gcc-f86c2f9c8e5d7d02cc6b79fc80a647a9a27e23f2.tar.bz2 |
[Ada] Reuse Package_Specification in Is_Incomplete_Or_Private_Type
gcc/ada/
* sem_aux.adb (Package_Specification): Add assertions to confirm
the kind of the of parameter and returned node.
* sem_ch12.adb (Remove_Parent): Reorder conditions; this change
appears to be semantically neutral, but is enough to avoid the
problematic call to Package_Specification.
* sem_util.adb (Is_Incomplete_Or_Private_Type): Replace loop
with a call to Package_Specification.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions