aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_attr.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2010-10-22 09:19:51 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-10-22 11:19:51 +0200
commit8110ee3b6349ae4b1a369996a25161dc6a0f067e (patch)
treefb2dd57e04140daa06885584791bb5dbdce45d10 /gcc/ada/sem_attr.ads
parentca8e13e8554d22976e5afa8a73aab6531976486a (diff)
downloadgcc-8110ee3b6349ae4b1a369996a25161dc6a0f067e.zip
gcc-8110ee3b6349ae4b1a369996a25161dc6a0f067e.tar.gz
gcc-8110ee3b6349ae4b1a369996a25161dc6a0f067e.tar.bz2
checks.adb (Apply_Predicate_Check): Remove attempt at optimization when subtype is the same...
2010-10-22 Robert Dewar <dewar@adacore.com> * checks.adb (Apply_Predicate_Check): Remove attempt at optimization when subtype is the same, caused legitimate checks to be missed. * exp_ch13.adb (Build_Predicate_Function): Use Nearest_Ancestor to get inheritance from right entity. * freeze.adb (Freeze_Entity): Use Nearest_Ancestor to freeze in the derived type case if the ancestor type has predicates. * sem_aux.ads, sem_aux.adb (Nearest_Ancestor): New function. * sem_prag.adb (Check_Enabled): Minor code reorganization. From-SVN: r165807
Diffstat (limited to 'gcc/ada/sem_attr.ads')
0 files changed, 0 insertions, 0 deletions