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]

[PATCH] Fix c/69643, named address space wrong-code


In gimple_fold_indirect_ref, we STRIP_NOPS, find the ADDR_EXPR, and fold everything away.

I can't imagine it ever being correct to drop an address space change between pointers, so I've modified tree_nop_conversion_p. Anything else seems to require more checks every places we use STRIP_NOPS.

Ok?


r~

Attachment: z
Description: Text document


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