From: Arnaud Charlet Date: Wed, 15 Apr 2009 09:04:56 +0000 (+0000) Subject: sync1.ads: Fix error now flagged by gnat. X-Git-Tag: releases/gcc-4.5.0~6611 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6891bd6c7195e0b8d1e25a712f70d03e5b05a482;p=thirdparty%2Fgcc.git sync1.ads: Fix error now flagged by gnat. * gnat.dg/sync1.ads: Fix error now flagged by gnat. * gnat.dg/specs/limited1.ads: Ditto. From-SVN: r146088 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 422ef07b747d..f55193f6e850 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-04-15 Arnaud Charlet + + * gnat.dg/sync1.ads: Fix error now flagged by gnat. + * gnat.dg/specs/limited1.ads: Ditto. + 2009-04-14 Michael Meissner PR testsuite/39769 diff --git a/gcc/testsuite/gnat.dg/specs/limited1.ads b/gcc/testsuite/gnat.dg/specs/limited1.ads index 268eb227a320..375cf66f5797 100644 --- a/gcc/testsuite/gnat.dg/specs/limited1.ads +++ b/gcc/testsuite/gnat.dg/specs/limited1.ads @@ -5,8 +5,6 @@ package limited1 is type Buffer is limited interface; type Synchronous_Buffer_Type is synchronized interface and Buffer; - type Client_Buffer_Type is new Synchronous_Buffer_Type with private; private - type Client_Buffer_Type is new Synchronous_Buffer_Type with null record; end limited1; diff --git a/gcc/testsuite/gnat.dg/sync1.ads b/gcc/testsuite/gnat.dg/sync1.ads index 81c2f4aabebb..35349773f881 100644 --- a/gcc/testsuite/gnat.dg/sync1.ads +++ b/gcc/testsuite/gnat.dg/sync1.ads @@ -1,7 +1,7 @@ package sync1 is type Chopstick_Type is synchronized interface; - type Chopstick is new Chopstick_Type with private; + type Chopstick is synchronized new Chopstick_Type with private; private protected type Chopstick is new Chopstick_Type with entry Pick_Up;