utah rcsid 1.6 87/01/20 22:00:38: equop() used to lump all 'leftover'
authorDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sat, 12 Dec 1987 12:16:12 +0000 (04:16 -0800)
committerDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sat, 12 Dec 1987 12:16:12 +0000 (04:16 -0800)
instructions together; now these instructions are specifically tested to
ensure that they have the same name.

SCCS-vsn: old/pcc/c2.vax/c21.c 4.20

usr/src/old/pcc/c2.vax/c21.c

index b5d31ad..54bcc52 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)c21.c 4.19 %G%";
+static char sccsid[] = "@(#)c21.c 4.20 %G%";
 #endif
 /* char C21[] = {"@(#)c21.c 1.83 80/10/16 21:18:22 JFR"}; /* sccs ident */
 
 #endif
 /* char C21[] = {"@(#)c21.c 1.83 80/10/16 21:18:22 JFR"}; /* sccs ident */
 
@@ -986,6 +986,8 @@ struct node *p2;
 
        if (p1->combop != p2->combop)
                return(0);
 
        if (p1->combop != p2->combop)
                return(0);
+       if (p1->combop == 0 && p1->pop != p2->pop)
+               return(0);
        if (p1->op>0 && p1->op<MOV)
                return(0);
        switch (p1->combop) {
        if (p1->op>0 && p1->op<MOV)
                return(0);
        switch (p1->combop) {