Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!eneevax!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.bugs.sys5 Subject: another DMD SGS "optim" bug fix Message-ID: <5812@brl-smoke.ARPA> Date: Wed, 29-Apr-87 17:08:40 EDT Article-I.D.: brl-smok.5812 Posted: Wed Apr 29 17:08:40 1987 Date-Received: Sat, 2-May-87 03:01:05 EDT Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 Third in a continuing series of bug (mostly null pointer dereferencing) fixes for the 5620 DMD rel. 1.3 (M32, probably also some other 3Bs) SGS "optim" portable assembly-language code improver: ========== $DMDSGS/sgs/mac/3b/ofc/optim/w1opt.c ========== Near line 177 (the only occurrence of "isnumlit" in this file); note that the second bug fix was previously posted: if ( pf->op1 && isnumlit(pf->op1) /* DAG -- bug fix (added first check) */ && (templ = atol(pf->op1+1), templ == (long)((int) templ)) /* DAG -- bug fix (order of evaluation was ill-defined) */ )