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?


2014-10-06  Eric Botcazou  <ebotca...@adacore.com>

        * lra-assigns.c (assign_by_spills): Turn lra_assert into gcc_assert.


-- 
Eric Botcazou
Index: lra-assigns.c
===================================================================
--- lra-assigns.c	(revision 215843)
+++ lra-assigns.c	(working copy)
@@ -1332,7 +1332,7 @@ assign_by_spills (void)
 		    }
 		}
 	    }
-	  lra_assert (asm_p);
+	  gcc_assert (asm_p);
 	  break;
 	}
       /* This is a very rare event.  We can not assign a hard register

Reply via email to