This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Could we use VIEW_CONVERT_EXPR to build ADDR_EXPR ?
________________________________________
>No you should not generate addresses for VCEs that contain a SSA_NAME.
> I think you should check if get_base_address is a
>is_gimple_addressable inside gather_memory_references_ref.
There, TREE_CODE ( get_base_address (ref)) == SSA_NAME
and get_base_address (ref) is is_gimple_addressable.
However, address expression containing SSA_NAME is NOT considered
as a gimple address.
Thanks,
Changpeng