From: Steve Kargl <sgk@troutmask.apl.washington.edu>
To: Thomas Koenig <tkoenig@netcologne.de>
Cc: "fortran@gcc.gnu.org" <fortran@gcc.gnu.org>,
gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [patch, fortran] Final TRIM optimizations
Date: Mon, 13 Jun 2011 03:18:00 -0000 [thread overview]
Message-ID: <20110612224153.GA10301@troutmask.apl.washington.edu> (raw)
In-Reply-To: <4DF53C82.1030202@netcologne.de>
On Mon, Jun 13, 2011 at 12:24:02AM +0200, Thomas Koenig wrote:
> Hello world,
>
> this is the last round of TRIM optimizations. This patch extends the
> treatment of trailing TRIMs in concatenations to comparisions. It also
> does a bit of code cleanup by removing some duplication, and by not
> changing the rhs in optimize_assignment.
>
> OK for trunk?
>
> Thomas
>
> 2011-06-13 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> * frontend-passes.c (remove_trim): New function.
> (optimize_assignment): Use it.
> (optimize_comparison): Likewise. Return correct status
> for previous change.
>
> 2011-06-13 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> * gfortran.dg/trim_optimize_8.f90: New test case.
OK.
--
Steve
prev parent reply other threads:[~2011-06-12 22:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-13 2:48 Thomas Koenig
2011-06-13 3:18 ` Steve Kargl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110612224153.GA10301@troutmask.apl.washington.edu \
--to=sgk@troutmask.apl.washington.edu \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=tkoenig@netcologne.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).