This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31797] [4.2/4.3 Regression] infinite loop in tree-ssa-pre or ICE
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2007 15:13:36 -0000
- Subject: [Bug tree-optimization/31797] [4.2/4.3 Regression] infinite loop in tree-ssa-pre or ICE
- References: <bug-31797-8160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from mark at codesourcery dot com 2007-05-12 16:13 -------
Subject: Re: [4.2/4.3 Regression] infinite loop
in tree-ssa-pre or ICE
rguenth at gcc dot gnu dot org wrote:
> +
> + /* If the RHS has side-effects, reset has_volatile_ops. */
> + if (TREE_CODE (stmt) == MODIFY_EXPR
> + && TREE_SIDE_EFFECTS (TREE_OPERAND (stmt, 1)))
> + ann->has_volatile_ops = true;
> }
Richard, thanks for working on this! Would you please run a test cycle?
If you're comfortable with the patch, please check it in and let me
know; this looks like a good fix.
Thanks,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31797