the memoffset first, since it may define a temporary which is used in
the length expression.
SCCS-vsn: usr.bin/f77/pass1.vax/io.c 5.3
-static char *sccsid = "@(#)io.c 5.2 (Berkeley) %G%";
+static char *sccsid = "@(#)io.c 5.3 (Berkeley) %G%";
*
* University of Utah CS Dept modification history:
*
*
* University of Utah CS Dept modification history:
*
- * $Header: io.c,v 5.2 85/12/19 17:22:35 donn Exp $
+ * $Header: io.c,v 5.3 86/03/04 17:45:33 donn Exp $
+ * Revision 5.3 86/03/04 17:45:33 donn
+ * Change the order of length and offset code in startrw() -- always emit
+ * the memoffset first, since it may define a temporary which is used in
+ * the length expression.
+ *
* Revision 5.2 85/12/19 17:22:35 donn
* Don't permit more than one 'positional iocontrol' parameter unless we
* are doing a READ or a WRITE.
* Revision 5.2 85/12/19 17:22:35 donn
* Don't permit more than one 'positional iocontrol' parameter unless we
* are doing a READ or a WRITE.
if(intfile)
{
ioset(TYIOINT, XIRNUM, nump);
if(intfile)
{
ioset(TYIOINT, XIRNUM, nump);
+ ioseta(XIUNIT, cpexpr(unitp));
ioset(TYIOINT, XIRLEN, cpexpr(unitp->vleng) );
ioset(TYIOINT, XIRLEN, cpexpr(unitp->vleng) );
}
else
ioset(TYIOINT, XUNIT, (expptr) unitp);
}
else
ioset(TYIOINT, XUNIT, (expptr) unitp);