diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 17:00:07 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 17:00:07 +0200 |
commit | c7b9d548d3533d6b48dcdfb882e5ce424f3d53c4 (patch) | |
tree | 7c103ec324c6cd435eba748f5cb247d9dbf56a77 /gcc/ada/link.c | |
parent | 1138cf593bb768234faf88f77ca26db0184b5d29 (diff) | |
download | gcc-c7b9d548d3533d6b48dcdfb882e5ce424f3d53c4.zip gcc-c7b9d548d3533d6b48dcdfb882e5ce424f3d53c4.tar.gz gcc-c7b9d548d3533d6b48dcdfb882e5ce424f3d53c4.tar.bz2 |
[multiple changes]
2011-08-02 Gary Dismukes <dismukes@adacore.com>
* sem_ch6.adb (Check_Conformance): Revise the check for nonconforming
null exclusions to test Can_Never_Be_Null on the anonymous access types
of the formals rather than testing the formals themselves. Exclude this
check in cases where the Old_Formal is marked as a controlling formal,
to avoid issuing spurious errors for bodies completing dispatching
operations (due to the flag not getting set on controlling access
formals in body specs).
(Find_Corresponding_Spec): When checking full and subtype conformance of
subprogram bodies in instances, pass Designated and E in that order, for
consistency with the expected order of the formals (New_Id followed by
Old_Id).
2011-08-02 Robert Dewar <dewar@adacore.com>
* sem_ch8.adb: Minor reformatting.
From-SVN: r177172
Diffstat (limited to 'gcc/ada/link.c')
0 files changed, 0 insertions, 0 deletions