Aliasing violation generated by fold_builtin_memcmp?
Richard Henderson
rth@redhat.com
Fri Sep 30 01:30:00 GMT 2005
On Fri, Sep 30, 2005 at 02:08:18AM +0200, Ulrich Weigand wrote:
> tree cst_uchar_node = build_type_variant (unsigned_char_type_node, 1, 0);
> tree cst_uchar_ptr_node = build_pointer_type (cst_uchar_node);
...
> Any suggestions how to fix this?
Try
cst_uchar_ptr_node
= build_pointer_type_for_mode (cst_uchar_node, ptr_mode, true);
which is apparently in use by the Ada front end, but only if a
certain pragma is given. Dunno how reliably that's likely to work.
r~
More information about the Gcc
mailing list