This is the mail archive of the gcc@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]

Aliasing problems in GNU Chill?


I was reading through andps.c in libchill recently and came across this.

  else if (bitlength <= SET_SHORT_SIZE)
    {
      *((SET_SHORT *)out) = *((SET_SHORT *)left) &
                            *((SET_SHORT *)right);
      MASK_UNUSED_SHORT_BITS((SET_SHORT *)out, bitlength);
    }

It appears to me that this suffers from the same aliasing problems that we've 
been hearing about recently. No?

David Starner - dstarner98@aasaa.ofe.org


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