[PATCH] Support for known unknown alignment

Jay Foad jay.foad@gmail.com
Mon Apr 23 14:08:00 GMT 2012


On 23 April 2012 14:30, Richard Guenther <rguenther@suse.de> wrote:
> Well, CCP simply tracks known-bits and derives the alignment
> value from that.  If tem & -tem computes as zero that means
> val->mask.low is all zeros.

Doesn't that mean that all bits are known? So you could set:

  pi->align = 1 << 32; // or some suitably large power of two
  pi->misalign = val->value;

Jay.



More information about the Gcc-patches mailing list