]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Apr 2017 09:47:33 +0000 (11:47 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Apr 2017 09:47:33 +0000 (11:47 +0200)
commitc6840e83cc062932453294d553b7bfeafe54e0c1
treef35ad9006b621996f6c30498512736d0f14f5150
parentf2a54683c6700df37ba3c0c99d7142fae89d59b1
[multiple changes]

2017-04-25  Bob Duff  <duff@adacore.com>

* sem_ch8.adb (Use_One_Type): If a use_type_clause
is redundant, set its Used_Operations to empty. This is only
necessary for use clauses that appear in the parent of a generic
child unit, because those use clauses get reanalyzed when we
instantiate the generic, and we don't want the Used_Operations
carried over from the original context (where it was probably
not redundant).

2017-04-25  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch6.adb: Minor reformatting.

From-SVN: r247169
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch8.adb