aboutsummaryrefslogtreecommitdiff
path: root/gcc/genpreds.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genpreds.c')
-rw-r--r--gcc/genpreds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genpreds.c b/gcc/genpreds.c
index 30fd389..b07abed 100644
--- a/gcc/genpreds.c
+++ b/gcc/genpreds.c
@@ -138,6 +138,7 @@ write_predicate_subfunction (struct pred_data *p)
printf ("static inline int\n"
"%s_1 (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)\n",
p->name);
+ print_rtx_ptr_loc (p->c_block);
if (p->c_block[0] == '{')
fputs (p->c_block, stdout);
else
@@ -377,7 +378,7 @@ write_predicate_expr (const char *name, rtx exp)
break;
case MATCH_TEST:
- fputs (XSTR (exp, 0), stdout);
+ print_c_condition (XSTR (exp, 0));
break;
default: