On Fri, 20 Aug 2010, Fang, Changpeng wrote: > > > ________________________________________ > > >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.
You simply can't take an address of such thing. Look at IVOPTs, it has measures to avoid this stuff. Richard.