OSDN Git Service

2008-08-06 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Aug 2008 10:03:21 +0000 (10:03 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Aug 2008 10:03:21 +0000 (10:03 +0000)
commit23459b95cbc0efc2c4f71d1775c8da56429ffd25
tree96c5fcb8e6db82bb4d5426f17a684a057387a004
parent9afa58a5b90c96bce0e094a6377350e9765504fd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138790 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch8.adb