From c114787aa983c1d844837a448e4a552b7206fca9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 25 Mar 1992 21:19:06 -0500 Subject: [PATCH] *** empty log message *** From-SVN: r587 --- gcc/genattrtab.c | 2 +- gcc/genextract.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index c07c26bd633..d7c233fb301 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -635,7 +635,7 @@ check_attr_test (exp, is_const) else if (n_comma_elts (XSTR (exp, 1)) == 1) { - attr = find_attr (XEXP (exp, 0), 0); + attr = find_attr (XSTR (exp, 0), 0); if (attr == NULL) { if (! strcmp (XSTR (exp, 0), "alternative")) diff --git a/gcc/genextract.c b/gcc/genextract.c index 7214ce60a76..74899a33a24 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -125,7 +125,7 @@ mark_operand_seen (opno) if (opno >= operand_seen_length) { operand_seen_length *= 2; - operand_seen = (char *) xrealloc (operand_seen_length); + operand_seen = (char *) xrealloc (operand_seen, operand_seen_length); } operand_seen[opno] = 1;