This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Aliasing problems in GNU Chill?
- To: gcc at gcc dot gnu dot org
- Subject: Aliasing problems in GNU Chill?
- From: David Starner <dstarner98 at aasaa dot ofe dot org>
- Date: Wed, 1 Sep 1999 14:41:04 -0500
- Reply-To: dstarner98 at aasaa dot ofe dot org
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