fix: did not handle externals with big HOL offsets right
authorceriel <none@none>
Wed, 29 Jul 1987 10:39:02 +0000 (10:39 +0000)
committerceriel <none@none>
Wed, 29 Jul 1987 10:39:02 +0000 (10:39 +0000)
util/ego/ic/ic.c

index 9b8a6a2..9c3d549 100644 (file)
@@ -342,6 +342,13 @@ line_p readoperand(instr)
 #ifdef LONGOFF
                case CSTX2:
                        /* double constant */
+                       if (flag == PAR_G) {
+                               lnp = newline(OPOBJECT);
+                               OBJ(lnp) =
+                                 object((char *) 0, tabval2,
+                                        opr_size(instr));
+                               break;
+                       }
                        lnp = newline(OPOFFSET);
                        OFFSET(lnp) = tabval2;
                        break;