OSDN Git Service

2006-02-13 Javier Miranda <miranda@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Feb 2006 09:45:00 +0000 (09:45 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Feb 2006 09:45:00 +0000 (09:45 +0000)
commitc372bc25ea01fcf5be57deb44efeb80a3c80db98
tree90881b527ff74f29dc63f194427a3d96b36d1497
parent2b8180a6c22f8237fcec723017ccb45e3d6e6117
2006-02-13  Javier Miranda  <miranda@adacore.com>

* sem_ch9.adb (Analyze_Protected_Type, Analyze_Task_Type): Check that
if this is the full-declaration associated with a private declaration
that implement interfaces, then the private type declaration must be
limited.
(Analyze_Single_Protected, Analyze_Single_Task): Do not mark the object
as aliased. The use of the 'access attribute is not available for such
object (for this purpose the object should be explicitly marked as
aliased, but being an anonymous type this is not possible).

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