This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]