Re: Register conflicts between output memory address and output register

2018-04-19 Thread Ulrich Weigand
Matthew Fortune wrote: > If however the address of my_mem is lowered after IRA i.e. when validating > constraints in LRA then IRA has nothing to do as the address is just a > symbol_ref. When LRA resolves the constraint for the address it introduces > a register for the output memory address but d

Register conflicts between output memory address and output register

2018-04-17 Thread Matthew Fortune
Hi, I've been investigating some quirks of register allocation when handling some inline asm. The behaviour is non-intuitive but I am not sure if it is a bug or not. This is back on GCC 6 so I'm still reviewing to see if anything changed in this area since then. The inline asm in question is: in