[Patch, Fortran] PRs 36132, 29952, 36909 - optional array arg; temp array; missed opt
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Mon Jul 28 21:58:00 GMT 2008
Hello Tobias,
a couple of typing nits:
* Tobias Burnus wrote on Sun, Jul 27, 2008 at 10:15:13AM CEST:
> --- gcc/fortran/lang.opt (Revision 138185)
> +++ gcc/fortran/lang.opt (Arbeitskopie)
> @@ -156,6 +156,10 @@ fblas-matmul-limit=
> Fortran RejectNegative Joined UInteger
> -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
>
> +fcheck-array-temporaries
> +Fortran
> +Produce a warning at runtime if a array temporary has been created for a procedure argument
an array temporary
> --- gcc/fortran/invoke.texi (Revision 138185)
> +++ gcc/fortran/invoke.texi (Arbeitskopie)
> @@ -1168,6 +1168,17 @@ the compilation of the main program.
> In the future this may also include other forms of checking, e.g., checking
> substring references.
>
> +
> +@item fcheck-array-temporaries
> +@opindex @code{fcheck-array-temporaries}
> +@cindex checking array temporaries
> +Warns at run time when for passing an actual argument a temporary array
> +had to be generated. The information generated by this warning is
> +sometimes useful in optimization, in order to avoid such temporaries.
for optimization
> +Note: The warning is only printed once per location.
Cheers,
Ralf
More information about the Gcc-patches
mailing list