exp_attr.adb (Find_Stream_Subprogram): Check the base type instead of the type when...
authorHristian Kirtchev <kirtchev@adacore.com>
Thu, 31 Jul 2008 10:27:04 +0000 (12:27 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 31 Jul 2008 10:27:04 +0000 (12:27 +0200)
commitb2c6b35f24ba203e027caa8e5206810d3d6ae265
tree7a1b90c5a983af5483ae958b4c0e2a7e98b51891
parenta66495761c21febaa3b0f4d1ac22f5e3d414244b
exp_attr.adb (Find_Stream_Subprogram): Check the base type instead of the type when...

2008-07-31  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_attr.adb (Find_Stream_Subprogram): Check the base type instead
of the type when looking for stream subprograms for type String,
Wide_String and Wide_Wide_String.

* s-ststop.adb: Change the initialization expression of constant
Use_Block_IO.

From-SVN: r138383
gcc/ada/exp_attr.adb
gcc/ada/s-ststop.adb