Hello world, finally, here's the first attempt at a front-end optimization pass. Right now, it fixes PR 40626 and optimizes comparisons between variables (which only really is relevant for character comparisons). Many more things could (and should) be added over time. This now passes regression-testing for trunk. OK for trunk? Thomas 2010-0717 Thomas Koenig * Make-lang.in: Add fortran/optimize.o. * gfortran.h: Add prototype for gfc_optimize_namespace. * trans-decl.c (gfc_generate_function_code): If optimizing, call gfc_optimize_namespace. * optimize.c: New file. 2010-0717 Thomas Koenig * trim_optimize_1.f90: New test. * character_comparision_1.f90: New test.