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: [tree-ssa] PATCH to gimplify_asm_expr for optimization/12525


On Tue, 2003-10-07 at 17:59, Jason Merrill wrote:

> I intended to fix this for memory operands by calling mark_addressable so
> they don't get renamed, but the must-alias pass decides that we don't really
> need the address after all.  Diego, any thoughts on how to prevent that?
> 
If no statement has an ADDR_EXPR for that variable, must-alias will
conclude that we don't need its address.  Is there some sort of
"force-addressable" flag that must-alias could use?  The pass is already
ignoring some TREE_ADDRESSABLE variables that cause problems if they are
marked non-addressable (pointers and arrays, for instance).

What do you call "memory operands" here?  Could a local variable become
a memory operand just because it's mentioned in an ASM_EXPR with a "m"
modifier?


Diego.


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