This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25809] missed PRE optimization - move "invariant casts" out of loops
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2006 14:27:57 -0000
- Subject: [Bug tree-optimization/25809] missed PRE optimization - move "invariant casts" out of loops
- References: <bug-25809-8585@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dberlin at gcc dot gnu dot org 2006-01-17 14:27 -------
Subject: Re: missed PRE optimization - move
"invariant casts" out of loops
rguenth at gcc dot gnu dot org wrote:
> ------- Comment #1 from rguenth at gcc dot gnu dot org 2006-01-17 11:47 -------
> Confirmed. LIM could do it also, and it looks like its a full redundancy even.
>
>
Well, PRE certainly can't sink the one assignment out the bottom, but it
should be able to move the one to the top :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25809