This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/31797] [4.2/4.3 Regression] infinite loop in tree-ssa-pre or ICE



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]