sem_type.adb (Has_Compatible_Type): Complete support for synchronized types when...
authorJavier Miranda <miranda@adacore.com>
Thu, 31 Jul 2008 12:46:35 +0000 (14:46 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 31 Jul 2008 12:46:35 +0000 (14:46 +0200)
commit15e4986cda84e26a3f9e676e0dc97dd31d0014ca
treed8ab650bb620688a5d3cac9758d6014e6c92838c
parente84e11ba0a57e5a319504d4f0197aad385f85e80
sem_type.adb (Has_Compatible_Type): Complete support for synchronized types when...

2008-07-31  Javier Miranda  <miranda@adacore.com>

* sem_type.adb (Has_Compatible_Type): Complete support for synchronized
types when the candidate type is a synchronized type.

* sem_res.adb (Resolve_Actuals): Reorganize code handling synchronized
types, and complete management of synchronized types adding missing
code to handle formal that is a synchronized type.

* sem_ch4.adb (Try_Primitive_Operation): Avoid testing attributes that
are not available and cause the compiler to blowup. Found compiling
test with switch -gnatc

* sem_ch6.adb (Check_Synchronized_Overriding): Remove local subprogram
Has_Correct_Formal_Mode plus code cleanup.

From-SVN: r138400
gcc/ada/sem_ch4.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_res.adb
gcc/ada/sem_type.adb