diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-12-12 22:14:54 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-02 04:58:04 -0400 |
commit | 5c726f3e42e227fdca32289e99b815988c40481a (patch) | |
tree | 5c8843917c2e7e69f095333f2d4753a6b36315cb /gcc/ada/cstreams.c | |
parent | e386872e9c949297b76172c6a7c703117f8026d0 (diff) | |
download | gcc-5c726f3e42e227fdca32289e99b815988c40481a.zip gcc-5c726f3e42e227fdca32289e99b815988c40481a.tar.gz gcc-5c726f3e42e227fdca32289e99b815988c40481a.tar.bz2 |
[Ada] Fix bogus error for clause on derived type with variant part
2020-06-02 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* sem_ch3.adb (Replace_Components): Rename into...
(Replace_Discriminants): ...this. Replace girder discriminants
with non-girder ones. Do not replace components.
* sem_ch13.adb (Check_Record_Representation_Clause): Deal with
non-girder discriminants correctly.
Diffstat (limited to 'gcc/ada/cstreams.c')
0 files changed, 0 insertions, 0 deletions