diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-29 16:08:02 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-29 16:08:02 +0200 |
commit | 422e02cfdf696450410b69d0c6491102ebc2970e (patch) | |
tree | ecd41f2d3e1efce20e9a370dd5399eae35d9ae03 /gcc/ada/frontend.adb | |
parent | 0677a1c750acae35d74a1d45d95c42d883cd58a6 (diff) | |
download | gcc-422e02cfdf696450410b69d0c6491102ebc2970e.zip gcc-422e02cfdf696450410b69d0c6491102ebc2970e.tar.gz gcc-422e02cfdf696450410b69d0c6491102ebc2970e.tar.bz2 |
[multiple changes]
2014-07-29 Thomas Quinot <quinot@adacore.com>
* sem_ch3.adb (Constrain_Corresponding_Record): For the case
of the subtype created for a record component, do not mark
the subtype as frozen. For one thing, this is anomalous (in
particular, the base type might not itself be frozen yet);
furthermore, proper freezing of the subtype must happen in any
case. So, we just mark the subtype as requiring delayed freezing
(and we'll actually freeze it when generating the init_proc of
the enclosing record).
Also change the name of the constrained record subtype (append a
'C' so that it is clearly different from the unconstrained record
type, "related_idV") to make debugging easier.
(Process_Full_View): When creating a full subtype for a pending
private subtype, re-establish the scope of the private subtype
so that we get proper visibility on outer discriminants.
* exp_ch3.adb (Build_Init_Statements): Freeze any component
subtype that is not frozen yet.
2014-07-29 Vincent Celier <celier@adacore.com>
* prj-proc.adb (Recursive_Process): Always initialize the
environment when the project is an aggregate project, even when
it is not the root tree.
From-SVN: r213197
Diffstat (limited to 'gcc/ada/frontend.adb')
0 files changed, 0 insertions, 0 deletions