This is the mail archive of the gcc-help@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]

Re: g77 question


Steve wrote:

> Sorry to interrupt the highly technical c/c++ questions, but when using
> g77 it appears that -pipe and -xf77-cpp-input will not work together
> (source code is just redirected to stdout) Is this expected behaviour?

Yep, a regression w.r.t. gcc/g77-2.95.  I'll file a bug report.

> One other question. Frre format writes to Fortran unit numbers appear to
> be automatically wrapping text at some predefined column number (about
> 80 I think). Is this standard behaviour (no other Fortran compiler I've
> used exhibits this behaviour) and is there a way of stopping it?

You'll probably mean list directed output, i.e., something along the
lines of:

      DIMENSION A(10)
      DATA A /10*1.1/
      PRINT*, A
      END

It is Standard behaviour, because the Standard leaves the choice of the
actual format used to print the contents of A to the processor
(compiler).
If you want a particular format, you have to supply one (e.g.,
'(10F7.2)').

Hope this helps,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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