sem_ch12.adb (Validate_Array_Type_Instance): Only apply complex visibility check...
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 09:40:19 +0000 (11:40 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 09:40:19 +0000 (11:40 +0200)
commitba3fa650377b5a8fcea6a9f2cb01628c0885f910
tree1f591f8af9c1510292e9b5dfb7f27511cb9ea326
parent628a4180a38c05435b0c5d8e0190e2a6f7e54c38
sem_ch12.adb (Validate_Array_Type_Instance): Only apply complex visibility check on the component type if the simple test fails.

2008-08-05  Ed Schonberg  <schonberg@adacore.com>

* sem_ch12.adb (Validate_Array_Type_Instance): Only apply complex
visibility check on the component type if the simple test fails.

From-SVN: r138697
gcc/ada/ChangeLog
gcc/ada/sem_ch12.adb