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: fix inline-asm/15740


On Tue, Dec 28, 2004 at 09:38:12PM -0500, Richard Kenner wrote:
>    Asm (Template => "nop", Inputs => Integer'Asm_Input ("m", A));
> 
> But it doesn't ICE, so can you explain in just slightly more detail
> what you had to change?

A, being referencable only from memory, must be marked TREE_ADDRESSABLE.

It must be done in the front end before gimplification starts, so that
we don't change a setting of TREE_ADDRESSABLE in the middle, which 
results in previously correct statements no longer being correct.


r~


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