diff options
author | Ed Schonberg <schonberg@adacore.com> | 2013-01-29 14:14:48 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-01-29 15:14:48 +0100 |
commit | 2808600b9f513ee8d428823cd1726a0d5fed004c (patch) | |
tree | 77b5b160aaa011a56fa148406f20b6b5e4e1e814 /gcc/ada/gnatcmd.adb | |
parent | a8acf832b414c9d5fbcc67f7d60c48fefec0d681 (diff) | |
download | gcc-2808600b9f513ee8d428823cd1726a0d5fed004c.zip gcc-2808600b9f513ee8d428823cd1726a0d5fed004c.tar.gz gcc-2808600b9f513ee8d428823cd1726a0d5fed004c.tar.bz2 |
sem_ch3.adb (Analyze_Subtype_Declaration): Inherit Is_Generic_Actual_Type flag in a nested instance.
2013-01-29 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Analyze_Subtype_Declaration): Inherit
Is_Generic_Actual_Type flag in a nested instance.
* sem_ch12.adb (Restore_Private_Views): Preserve
Is_Generic_Actual_Type flag if actual is a Generic_Actual_Type
of an enclosing instance.
* sem_util.adb (Corresponding_Generic_Type): Handle generic actual
which is an actual of an enclosing instance.
* sem_type.adb (Real_Actual): If a generic_actual_type is the
formal of an enclosing generic and thus renames the corresponding
actual, use the actual of the enclosing instance to resolve
spurious ambiguities in instantiations when two formals are
instantiated with the same actual.
From-SVN: r195538
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
0 files changed, 0 insertions, 0 deletions