This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/16585] current_function_has_computed_jump incorrectly changed in make_edges
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2004 16:34:06 -0000
- Subject: [Bug middle-end/16585] current_function_has_computed_jump incorrectly changed in make_edges
- References: <20040716065017.16585.zlomek@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-10-25 16:34 -------
I think the brute-force approach of just updating
current_function_has_computed_jump in a FOR_EACH_BB loop
after calling make_edges is a "good enough" fix for this
problem. We can figure out if we have computed jumps at
the tree level and keep it updated from there on.
I'm testing a patch to do exactly this.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-10-25 16:32:16 |2004-10-25 16:34:05
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16585