This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR tree-optimization/18184 (pointer mode conversions ignored)
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: weigand at i1 dot informatik dot uni-erlangen dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Oct 04 15:37:40 EDT
- Subject: Re: [PATCH] Fix PR tree-optimization/18184 (pointer mode conversions ignored)
I don't know what the semantics of a conversion from a pointer with
TYPE_REF_CAN_ALIAS_ALL to an equivalent pointer type without that
flag is (or vice versa). There's certainly no code generation involved;
and I don't even know for sure whether the TYPE_REF_CAN_ALIAS_ALL flag
needs to be preserved in that situation ...
I think it does because alias.c cares and it's used in code generation.
Do you have an example where this matters?
I could construct one, but it would be artifical and obscure.