On Mon, Oct 6, 2014 at 12:02 PM, Eric Botcazou <ebotca...@adacore.com> wrote: > Hi, > > we have run into a case on the ARM where LRA silently generates wrong code in > release mode, while reload (-mno-lra) would stop with the usual spill failure. > > Tested on x86_64-suse-linux, OK for the mainline?
The docs on the asm_p flags say there is sth wrong with the asm constraints so maybe better do if (!asm_p) error_at (loc, "...."); with an appropriate message and location? Richard. > > 2014-10-06 Eric Botcazou <ebotca...@adacore.com> > > * lra-assigns.c (assign_by_spills): Turn lra_assert into gcc_assert. > > > -- > Eric Botcazou