This is the mail archive of the gcc@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: Could we use VIEW_CONVERT_EXPR to build ADDR_EXPR ?


On Thu, Aug 19, 2010 at 4:55 PM, Fang, Changpeng <Changpeng.Fang@amd.com> wrote:
> My questions are:
>
> (1) Can we generate address expression for COMPONENT_REF and contains VIEW_CONVERT
> Â Â Âexpression (is it legal to do so)?

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.

Thanks,
Andrew Pinski


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