diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-01-31 11:56:30 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-05 08:17:40 -0400 |
commit | bec136971a7a45de978c398b5ecaaea9d73eb501 (patch) | |
tree | 5ee620569a7ddf4590c8a6c25ee9a3f1bf256571 /gcc/gimple-expr.c | |
parent | e0fd1b9c9d906f9693bb4e7d56a37ec5adf4bc0a (diff) | |
download | gcc-bec136971a7a45de978c398b5ecaaea9d73eb501.zip gcc-bec136971a7a45de978c398b5ecaaea9d73eb501.tar.gz gcc-bec136971a7a45de978c398b5ecaaea9d73eb501.tar.bz2 |
[Ada] Fix assertion failure on double rederivation of private type
2020-06-05 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* sem_ch3.adb (Available_Full_View): New function returning
either the full or the underlying full view.
(Build_Full_Derivation): Add guard for the full view.
(Copy_And_Build): Retrieve the underlying full view, if any,
also if deriving a completion.
(Build_Derived_Private_Type): Use Available_Full_View throughout
to decide whether a full derivation must be done.
Diffstat (limited to 'gcc/gimple-expr.c')
0 files changed, 0 insertions, 0 deletions