exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream attribute into a...
commit99269cf58648ce57df8dd0c3660122252e7198db
authorEd Schonberg <schonberg@adacore.com>
Mon, 13 Jul 2009 10:09:44 +0000 (13 10:09 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 13 Jul 2009 10:09:44 +0000 (13 12:09 +0200)
treec9d79f22ee854da91dc4e89b60991b31a39362fa
parent32404665670241aa41589352c2fb9805f5aac4c6
exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream attribute into a call of the corresponding suprogram...

2009-07-13  Ed Schonberg  <schonberg@adacore.com>

* exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream
attribute into a call of the corresponding suprogram, create extra
formals for the subprogram, because it may be a renaming whose
analysis does not create extra formals.

From-SVN: r149564
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb