This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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.


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