utah rcsid 1.6 87/01/20 22:00:38: equop() used to lump all 'leftover'
[unix-history] / 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) {