This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23455] load PRE is missing
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2005 13:46:30 -0000
- Subject: [Bug tree-optimization/23455] load PRE is missing
- References: <20050818075555.23455.bonzini@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-08-18 13:46 -------
Subject: Re: load PRE is missing
On Thu, 2005-08-18 at 13:44 +0000, bonzini at gcc dot gnu dot org wrote:
> ------- Additional Comments From bonzini at gcc dot gnu dot org 2005-08-18 13:44 -------
> outcnt aliases with outbuf
>
Then there is nothing to optimize in this testcase.
If you look at the code you want, you have exactly the same number of
loads from the global along the main path, and have actually *added* an
extra load along the other path.
This is *not* an optimization.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23455