Commit 3eb96d01 by Uros Bizjak Committed by Uros Bizjak

alpha.c (alpha_and_function): Handle NULL_RTX returned from prev_active_insn.

	* config/alpha/alpha.c (alpha_and_function): Handle NULL_RTX returned
	from prev_active_insn.

From-SVN: r150802
parent 164709cf
2009-08-16 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_and_function): Handle NULL_RTX returned
from prev_active_insn.
2009-08-16 Anatoly Sokolov <aesok@post.ru> 2009-08-16 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.h (AVR_HAVE_8BIT_SP): New macros. * config/avr/avr.h (AVR_HAVE_8BIT_SP): New macros.
......
...@@ -8603,7 +8603,7 @@ alpha_end_function (FILE *file, const char *fnname, tree decl ATTRIBUTE_UNUSED) ...@@ -8603,7 +8603,7 @@ alpha_end_function (FILE *file, const char *fnname, tree decl ATTRIBUTE_UNUSED)
insn = get_last_insn (); insn = get_last_insn ();
if (!INSN_P (insn)) if (!INSN_P (insn))
insn = prev_active_insn (insn); insn = prev_active_insn (insn);
if (CALL_P (insn)) if (insn && CALL_P (insn))
output_asm_insn (get_insn_template (CODE_FOR_nop, NULL), NULL); output_asm_insn (get_insn_template (CODE_FOR_nop, NULL), NULL);
#if TARGET_ABI_OSF #if TARGET_ABI_OSF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment