This is the mail archive of the
mailing list for the GCC project.
Re: [patch, fortran] PR 40628, front-end optimization pass
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Daniel Kraft <d at domob dot eu>
- Cc: Thomas Koenig <tkoenig at netcologne dot de>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 18 Jul 2010 21:11:38 -0700
- Subject: Re: [patch, fortran] PR 40628, front-end optimization pass
- References: <email@example.com> <4C42BF4D.firstname.lastname@example.org>
On 07/18/2010 01:46 AM, Daniel Kraft wrote:
Thomas Koenig wrote:
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.
I like the idea as long as we do not duplicate middle-end work. If we can
improve performance without sacrificing maintainability and correctness, I am
all for it. The idea of general passes is good. Rather than optimize.c maybe
call it early_pass.c or whatever.
Do any middle-end maintainers have an opinion on adding this optimization?