[ patch, committed] Warn about array temporary creation in front end optimization
Thomas Koenig
tkoenig@netcologne.de
Tue Mar 29 08:12:00 GMT 2011
Hello world,
I have committed the attached patch as obvious, revision 171653, after
regression-testing.
Thomas
2011-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>
* frontend-passes.c (create_var): Warn about creating an
array temporary if requested.
2011-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/function_optimize_1.f90: Add -Warray-temporaries,
check for corresponding warning.
2011-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>
* frontend-passes.c (create_var): Warn about creating an
array temporary if requested.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p-warn.diff
Type: text/x-patch
Size: 1351 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110329/0f4d473e/attachment.bin>
More information about the Gcc-patches
mailing list