This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Aliasing violation generated by fold_builtin_memcmp?
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 29 Sep 2005 20:32:26 -0400
- Subject: Re: Aliasing violation generated by fold_builtin_memcmp?
- References: <200509300008.j8U08IT3029381@53v30g15.boeblingen.de.ibm.com>
> Any suggestions how to fix this?
The easiest thing is to store a version of unsigned_char_type_node
somewhere that has it's TYPE_ALIAS_SET set to 0, and use it there.
Whether this is the best solution, i'll leave to others :)
>
> Bye,
> Ulrich
>