From: Richard Kenner Date: Thu, 26 Mar 1992 02:19:06 +0000 (-0500) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~13344 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c114787aa983c1d844837a448e4a552b7206fca9;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r587 --- diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index c07c26bd6334..d7c233fb3010 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 7214ce60a761..74899a33a241 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;