summaryrefslogtreecommitdiff
path: root/gcc/ada/g-sercom.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-01 09:52:51 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-01 09:52:51 +0000
commit43e39b42f3afb986f9d56d50706909fd075179ee (patch)
treeeeec9a706733f203876ebacade50c8506ca77123 /gcc/ada/g-sercom.ads
parent3c0e965b93664390caac96ffed4256975878d5f7 (diff)
downloadgcc-43e39b42f3afb986f9d56d50706909fd075179ee.tar.gz
2009-12-01 Ed Schonberg <schonberg@adacore.com>
* einfo.ads: Clarify use of Is_Private_Primitive. * sem_ch6.adb (Analyze_Subprogram_Declaration): An operation is a private primitive operation only if it is declared in the scope of the private controlling type. * exp_ch9.adb (Build_Wrapper_Spec): Build wrappers for private protected operations as well. 2009-12-01 Arnaud Charlet <charlet@adacore.com> * gnat1drv.adb (Adjust_Global_Switches): Disable front-end optimizations in CodePeer mode, to keep the tree as close to the source code as possible, and also to avoid inconsistencies between trees when using different optimization switches. 2009-12-01 Thomas Quinot <quinot@adacore.com> * scos.ads: Updated specification of source coverage obligation information. 2009-12-01 Thomas Quinot <quinot@adacore.com> * g-sercom.ads, g-sercom-mingw.adb, g-sercom-linux.adb, a-ststio.adb, s-commun.adb, s-commun.ads, g-socket.adb, g-socket.ads (System.Communications.Last_Index): For the case where no element has been transferred and Item'First = Stream_Element_Offset'First, raise CONSTRAINT_ERROR. 2009-12-01 Ed Schonberg <schonberg@adacore.com> * sem_ch10.adb (Install_Siblings): A private with_clause on some child unit U in an ancestor of the current unit must be ignored if the current unit has a regular with_clause on U. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-sercom.ads')
-rw-r--r--gcc/ada/g-sercom.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/g-sercom.ads b/gcc/ada/g-sercom.ads
index 5adeebe9b2d..a3c4b0c610b 100644
--- a/gcc/ada/g-sercom.ads
+++ b/gcc/ada/g-sercom.ads
@@ -92,8 +92,8 @@ package GNAT.Serial_Communications is
Last : out Ada.Streams.Stream_Element_Offset);
-- Read a set of bytes, put result into Buffer and set Last accordingly.
-- Last is set to Buffer'First - 1 if no byte has been read, unless
- -- Buffer'First = Stream_Element_Offset'First, in which case Last is
- -- set to Stream_Element_Offset'Last instead.
+ -- Buffer'First = Stream_Element_Offset'First, in which case
+ -- Constraint_Error raised instead.
overriding procedure Write
(Port : in out Serial_Port;