Commit b3f8558a by Kaz Kojima

re PR target/39767 (libgcc2.c:562: internal compiler error: RTL check: expected…

re PR target/39767 (libgcc2.c:562: internal compiler error: RTL check: expected code 'reg', have 'ashiftrt' in rhs_regno, at rtl.h:1005)

	PR target/39767
	* config/sh/predicates.md (arith_operand): Check if the operand
	of TRUNCATE is a REG.

From-SVN: r146216
parent f57597d9
2009-04-16 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/39767
* config/sh/predicates.md (arith_operand): Check if the operand
of TRUNCATE is a REG.
2009-04-16 Kazu Hirata <kazu@codesourcery.com>
* cfgrtl.c (delete_insn_chain_and_edges): Remove.
......
......@@ -112,6 +112,7 @@
|| satisfies_constraint_Css (op))
return 1;
else if (GET_CODE (op) == TRUNCATE
&& GET_CODE (XEXP (op, 0)) == REG
&& ! system_reg_operand (XEXP (op, 0), VOIDmode)
&& (mode == VOIDmode || mode == GET_MODE (op))
&& (GET_MODE_SIZE (GET_MODE (op))
......
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