[patch, fortran] Front-end optimizations for contained namespaces
Thomas Koenig
tkoenig@netcologne.de
Fri Sep 3 21:03:00 GMT 2010
Hello world,
this patch makes sure that front-end optimizations are also applied to
contained procedures.
Regression-tested. OK for trunk?
Thomas
2010-09-03 Thomas Koenig <tkoenig@gcc.gnu.org>
* dump_parse_tree (gfc_run_passes): Call optimize_namespace
instead of optimize_code.
(optimize_namespace): New function.
2010-09-03 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/trim_optimize_2.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100903/a09e751b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trim_optimize_2.f90
Type: text/x-fortran
Size: 849 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100903/a09e751b/attachment-0001.bin>
More information about the Fortran
mailing list