[patch] Turn 1 lra_assert into 1 gcc_assert
Richard Biener
richard.guenther@gmail.com
Mon Oct 6 11:35:00 GMT 2014
On Mon, Oct 6, 2014 at 12:02 PM, Eric Botcazou <ebotcazou@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 <ebotcazou@adacore.com>
>
> * lra-assigns.c (assign_by_spills): Turn lra_assert into gcc_assert.
>
>
> --
> Eric Botcazou
More information about the Gcc-patches
mailing list