OSDN Git Service

2008-08-01 Hristian Kirtchev <kirtchev@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 2008 10:47:27 +0000 (10:47 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 2008 10:47:27 +0000 (10:47 +0000)
commitb9f24e67ccca753dcd167db04c239929542477d2
tree901aa00917dc6e453a022ff13c76ed721ac6fb44
parentacf8ff3cc74bf973aa3e4f2a4cde891af96a3c75
2008-08-01  Hristian Kirtchev  <kirtchev@adacore.com>

* rtsfind.ads: Add block IO versions of stream routines for Strings.

* bindgen.adb, gnat_rm.texi, gnat_ugn.texi, opt.ads,
sem_prag.adb, snames.adb, snames.ads, snames.h,
par-prag.adb: Undo Canonical_Streams related changes.

* s-rident.ads: Add new restriction No_Stream_Optimizations.

* s-ststop.ads, s-ststop.adb: Comment reformatting.
Define enumeration type to designate different IO mechanisms.
Enchance generic package Stream_Ops_Internal to include an
implementation of Input and Output.

* exp_attr.adb (Find_Stream_Subprogram): If restriction
No_Stream_Optimization is active, choose the default byte IO
implementations of stream attributes for Strings.
Otherwise use the corresponding block IO version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138511 138bc75d-0d04-0410-961f-82ee72b054a4
15 files changed:
gcc/ada/ChangeLog
gcc/ada/bindgen.adb
gcc/ada/exp_attr.adb
gcc/ada/gnat_rm.texi
gcc/ada/gnat_ugn.texi
gcc/ada/opt.ads
gcc/ada/par-prag.adb
gcc/ada/rtsfind.ads
gcc/ada/s-rident.ads
gcc/ada/s-ststop.adb
gcc/ada/s-ststop.ads
gcc/ada/sem_prag.adb
gcc/ada/snames.adb
gcc/ada/snames.ads
gcc/ada/snames.h