This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] patch to fix PR20822
- From: "Rolf Ebert" <rolf dot ebert dot gcc at gmx dot de>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Apr 2005 09:40:02 +0200 (MEST)
- Subject: Re: [Ada] patch to fix PR20822
>* Florian Weimer:
>
>> * Rolf Ebert:
>>
>>> + String'Write (Stream (F), S);
>>
>> Has this any impact on build time? IIRC, your change causes each
>> character to be written out independently.
Perhaps. But most probably you cannot measure the difference. It is used
to write a single file of a few 100kB once per build step. I'd say who
cares about a few milli-seconds build time even on a slow Pentium III.
>Sorry for the follow-up. Does this work on VMS?
>
>>> + Character'Write (Stream (F), ASCII.LF);
>
>(I don't know anything about VMS, only that it has an option to
>represent text file lines in the form "line length + content",
>instead of the more widely used "content + line terminator.)
I don't know. I simply followed the approach in
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02615.html by Robert Dewar.
See his patch in that message. I simply redit his changes to xgnatugn.adb.
Rolf
--
+++ GMX - Die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail