* config/i386/i386.c (add_parameter_dependencies): Stop
backward scan at the insn before the incoming head.
(ix86_dependencies_evaluation_hook): Skip debug insns. Stop
if first_arg is head.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192957
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-10-29 Alexandre Oliva <aoliva@redhat.com>
+
+ PR debug/54693
+ * config/i386/i386.c (add_parameter_dependencies): Stop
+ backward scan at the insn before the incoming head.
+ (ix86_dependencies_evaluation_hook): Skip debug insns. Stop
+ if first_arg is head.
+
2012-10-29 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-protos.h (aarch64_load_tp): New proto.
rtx first_arg = NULL;
bool is_spilled = false;
+ head = PREV_INSN (head);
+
/* Find nearest to call argument passing instruction. */
while (true)
{
rtx first_arg = NULL;
if (reload_completed)
return;
+ while (head != tail && DEBUG_INSN_P (head))
+ head = NEXT_INSN (head);
for (insn = tail; insn != head; insn = PREV_INSN (insn))
if (INSN_P (insn) && CALL_P (insn))
{
}
}
insn = first_arg;
+ if (insn == head)
+ break;
}
}
else if (first_arg)