This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR rtl-optimization/42461
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Jun 2010 11:30:17 +0200
- Subject: Re: Fix PR rtl-optimization/42461
- References: <201006072302.04043.ebotcazou@adacore.com>
On Mon, Jun 7, 2010 at 11:02 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> This is a missed optimization due the EH rewrite from last year: the RTL DCE
> pass doesn't eliminate calls to pure/const functions any longer.
>
> Tested on x86_64-suse-linux. ?I'd like to put this on the 4.5 branch as well,
> any objections from RMs?
Ok for trunk. Ok for 4.5 after a while.
Richard.
>
> 2010-06-07 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?PR rtl-optimization/42461
> ? ? ? ?* dce.c (deletable_insn_p): Return true for const or pure calls again.
> ? ? ? ?* except.c (insn_could_throw_p): Return false if !flag_exceptions.
>
>
> 2010-06-07 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* gcc.dg/pr42461.c: New test.
>
>
> --
> Eric Botcazou
>