Commit c8d560fa by Roger Sayle Committed by Roger Sayle

genpreds.c (write_match_code_switch): Correctly use XSTR instead of XEXP to…

genpreds.c (write_match_code_switch): Correctly use XSTR instead of XEXP to extract the operands of a MATCH_CODE rtx.


	* genpreds.c (write_match_code_switch): Correctly use XSTR instead
	of XEXP to extract the operands of a MATCH_CODE rtx.

From-SVN: r115076
parent 32df442a
2006-06-29 Roger Sayle <roger@eyesopen.com>
* genpreds.c (write_match_code_switch): Correctly use XSTR instead
of XEXP to extract the operands of a MATCH_CODE rtx.
2006-06-28 Andrew Pinski <pinskia@gmail.com>
* tree.c (tree_size): Do not waste tail padding in
......
......@@ -543,8 +543,8 @@ write_predicate_expr (rtx exp)
static void
write_match_code_switch (rtx exp)
{
const char *codes = (const char *) XEXP (exp, 0);
const char *path = (const char *) XEXP (exp, 1);
const char *codes = XSTR (exp, 0);
const char *path = XSTR (exp, 1);
const char *code;
fputs (" switch (GET_CODE (", stdout);
......
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