[Patch, Fortran] PRs 36132, 29952, 36909 - optional array arg; temp array; missed opt
Tobias Burnus
tobias.burnus@physik.fu-berlin.de
Mon Jul 28 22:17:00 GMT 2008
Hello Ralf,
thanks for the nits, as pre-checkin they come to late. How about
checking them in yourself? The patch is hereby preapproved.
> > --- gcc/fortran/lang.opt (Revision 138185)
> > +++ gcc/fortran/lang.opt
> [...]
> > +Produce a warning at runtime if a array temporary has been created
> > for a procedure argument
>
> an array temporary
> > +sometimes useful in optimization, in order to avoid such temporaries.
>
> for optimization
The latter happens if one does copy and paste without really reading the
copied sentences. The following should be corrected as well:
| -Warray-temporaries
| Warn about array temporaries generated by the compiler. The
| information generated by this warning is sometimes useful
| in optimization, in order to avoid such temporaries.
in -> for optimization.
Tobias
More information about the Gcc-patches
mailing list