Commit ab1672a3 by Jim Wilson Committed by Jim Wilson

Fix -O0 core dump reported by Fred Fish.

	* config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
	note if it is non-NULL.

From-SVN: r28653
parent fbb72466
Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
* config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
note if it is non-NULL.
Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
* except.h (eh_nesting_info): Add new structure defintion.
......
......@@ -3123,7 +3123,10 @@ machine_dependent_reorg (first)
rtx note
= find_regno_note (last_float_move, REG_UNUSED, 0);
PUT_MODE (note, REG_INC);
/* If we are not optimizing, then there may not be
a note. */
if (note)
PUT_MODE (note, REG_INC);
*last_float_addr = r0_inc_rtx;
}
......
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