[Bug tree-optimization/38985] [4.2/4.3/4.4 Regression] missing constraints for pointers accessed directly via their address

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 27 12:06:00 GMT 2009



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-01-27 12:06 -------
In the operand scanner we try to be clever ...

  else if (TREE_CODE (ptr) == INTEGER_CST)
    {
      /* If a constant is used as a pointer, we can't generate a real
         operand for it but we mark the statement volatile to prevent
         optimizations from messing things up.  */
      gimple_set_has_volatile_ops (stmt, true);
      return;

but that of course misses the fact that we miss all necessary conflicts.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38985



More information about the Gcc-bugs mailing list