*** empty log message ***
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 26 Mar 1992 02:19:06 +0000 (21:19 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 26 Mar 1992 02:19:06 +0000 (21:19 -0500)
From-SVN: r587

gcc/genattrtab.c
gcc/genextract.c

index c07c26b..d7c233f 100644 (file)
@@ -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"))
index 7214ce6..74899a3 100644 (file)
@@ -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;