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: allow asm in-out memory operands again


Hi,

On Thu, 6 May 2004, Richard Henderson wrote:

> Due to popular demand, and the fact that it's simple enough to
> expand ("+m"(x)) -> ("=m"(x) : "m"(x)).
> 
> The stmt.c hunk I applied to 3.4.  We already do the right thing
> there; the warning was added for presumed tree-ssa changes.

I don't see this.  The 3.4 stmt.c:expand_asm_operands still simply 
generates a matching input constraint for all inout constraint independend 
of if they allow registers or not.  *this* is what breaks reload sometimes 
and the reason for the warning.


Ciao,
Michael.


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