sem_ch3.adb (Analyze_Component_Declaration): Protect against misuse of incomplete...
authorEd Schonberg <schonberg@adacore.com>
Wed, 6 Aug 2008 10:03:21 +0000 (12:03 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Aug 2008 10:03:21 +0000 (12:03 +0200)
commit3c829e3c37712de210300f03fe32c8fb8ff547ba
tree96c5fcb8e6db82bb4d5426f17a684a057387a004
parent65aa315eeaa188f0da06fbb10b32f9b3436c1cb9
sem_ch3.adb (Analyze_Component_Declaration): Protect against misuse of incomplete type.

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

* sem_ch3.adb (Analyze_Component_Declaration): Protect against misuse
of incomplete type.

* sem_ch8.adb (Analyze_Object_Renaming): Diagnose properly a renaming
of a formal parameter of an incomplete type. Improve error message for
other improper uses of incomplete types.

From-SVN: r138790
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch8.adb