This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix PR rtl-optimization/42461


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]