Index: tree-ssa-structalias.c
===================================================================
--- tree-ssa-structalias.c      (revision 199289)
+++ tree-ssa-structalias.c      (working copy)
@@ -475,21 +475,21 @@ struct constraint_expr

   /* Offset, in bits, of this constraint from the beginning of
      variables it ends up referring to.

      IOW, in a deref constraint, we would deref, get the result set,
      then add OFFSET to each member.   */
   HOST_WIDE_INT offset;
 };

 /* Use 0x8000... as special unknown offset.  */
-#define UNKNOWN_OFFSET ((HOST_WIDE_INT)-1 << (HOST_BITS_PER_WIDE_INT-1)) +#define UNKNOWN_OFFSET ((HOST_WIDE_INT) 1 << (HOST_BITS_PER_WIDE_INT-1))

This is still undefined behaviour (shifting a 1 into the sign bit)?


Segher

Reply via email to