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: [Patch, Fortran] PRs 36132, 29952, 36909 - optional array arg; temp array; missed opt


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


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