]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
*** 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 c07c26bd63346fb838d8bc371df2a72becb86645..d7c233fb30100bdfb04dddd402c3a6a9000108a3 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 7214ce60a7612aa2f7eed48b250d28f5074615d8..74899a33a2415cca04e7ebf91b6f6832dc09e5b7 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;