re PR target/59787 ([ARM] mmx-2.c causes ICE when GCC is configured for cortex-a5/vfpv3-d16-fp16)

2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/59787
	* config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.

From-SVN: r206605
This commit is contained in:
Vladimir Makarov 2014-01-14 19:07:01 +00:00 committed by Vladimir Makarov
parent 3292e3767d
commit e940b2ec99
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
PR target/59787
* config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
PR target/59794

View File

@ -12439,7 +12439,7 @@ arm_coproc_mem_operand (rtx op, bool wb)
rtx ind;
/* Reject eliminable registers. */
if (! (reload_in_progress || reload_completed)
if (! (reload_in_progress || reload_completed || lra_in_progress)
&& ( reg_mentioned_p (frame_pointer_rtx, op)
|| reg_mentioned_p (arg_pointer_rtx, op)
|| reg_mentioned_p (virtual_incoming_args_rtx, op)