Commit 500fc80f by Kazu Hirata Committed by Kazu Hirata

re PR target/13721 (SEGV on inline-asm)

	PR target/13721
	* config/h8300/h8300.c (byte_reg): Call abort() if asked to
	print a operand other than a register.

From-SVN: r77539
parent 2e071734
2004-02-09 Kazu Hirata <kazu@cs.umass.edu>
PR target/13721
* config/h8300/h8300.c (byte_reg): Call abort() if asked to
print a operand other than a register.
2004-02-09 Roger Sayle <roger@eyesopen.com>
* fold-const.c (fold) <NOP_EXPR>: Use the original type conversion
......
......@@ -338,6 +338,9 @@ byte_reg (rtx x, int b)
"r4l", "r4h", "r5l", "r5h", "r6l", "r6h", "r7l", "r7h"
};
if (!REG_P (x))
abort ();
return names_small[REGNO (x) * 2 + b];
}
......
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