rtsfind.ads: Add block IO versions of stream routines for Strings.
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2008 10:47:27 +0000 (12:47 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2008 10:47:27 +0000 (12:47 +0200)
commit585df50b0c63b895742726b556732faac623fa35
tree901aa00917dc6e453a022ff13c76ed721ac6fb44
parent20b40e7b4413bac4698d39675c32ce4b0eb61e45
rtsfind.ads: Add block IO versions of stream routines for Strings.

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.

From-SVN: r138511
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