aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch11.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2016-04-20 10:59:02 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2016-04-20 10:59:02 +0200
commit776fbb7478011611c58ba664a4c8ef3a0df8f75f (patch)
treea315c178373ebadba5cbdbb438ee08abaa5cf2c8 /gcc/ada/sem_ch11.adb
parent60d393e89c924e71208f72a7007e16dc8720bcc9 (diff)
downloadgcc-776fbb7478011611c58ba664a4c8ef3a0df8f75f.zip
gcc-776fbb7478011611c58ba664a4c8ef3a0df8f75f.tar.gz
gcc-776fbb7478011611c58ba664a4c8ef3a0df8f75f.tar.bz2
[multiple changes]
2016-04-20 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch13.adb (Add_Invariant): Do not replace the saved expression of an invariatn aspect when inheriting a class-wide type invariant as this clobbers the existing expression. Do not use New_Copy_List as it is unnecessary and leaves the parent pointers referencing the wrong part of the tree. Do not replace the type references for ASIS when inheriting a class-wide type invariant as this clobbers the existing replacement. 2016-04-20 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Build_Explicit_Dereference): If the designated expression is an entity name, generate reference to the entity because it will not be resolved again. From-SVN: r235238
Diffstat (limited to 'gcc/ada/sem_ch11.adb')
0 files changed, 0 insertions, 0 deletions