This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18046] Missed jump threading optimization
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2006 15:57:46 -0000
- Subject: [Bug tree-optimization/18046] Missed jump threading optimization
- References: <bug-18046-280@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from law at redhat dot com 2006-03-21 15:57 -------
We've got zero chance of threading the jump in this case until the
partially redundant load from "i" is removed.
Daniel -- there's a pretty obvious redundant load from the global
variable "i" in this testcase. I haven't investigated why PRE
is missing this obvious redundancy.
Jeff
--
law at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18046