re PR ada/29015 (Ada 2005 observer pattern with mutually dependent packages and conta...
authorSamuel Tardieu <sam@rfc1149.net>
Wed, 16 Apr 2008 12:37:38 +0000 (12:37 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Wed, 16 Apr 2008 12:37:38 +0000 (12:37 +0000)
commit35c91e0571501b3d876e4e0c5b4cf33da758f1da
tree7129d76c3d30754954850039ec1009c661d0f75a
parent78347d72334be8ae1db5adc1c7b258cd8b98fad0
re PR ada/29015 (Ada 2005 observer pattern with mutually dependent packages and containers produces compiler error)

    gcc/ada/
PR ada/29015
* sem_ch12.adb (Instantiate_Type): Check whether the full view of
the type is known instead of the underlying type.

    gcc/testsuite/
PR ada/29015
* gnat.dg/incomplete1.ads, gnat.dg/incomplete2.ads,
gnat.dg/incomplete2.adb: New.

From-SVN: r134345
gcc/ada/ChangeLog
gcc/ada/sem_ch12.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/incomplete1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/incomplete2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/incomplete2.ads [new file with mode: 0644]