Ooops... typo (fwd)

H.J. Lu hjl@nynexst.com
Tue Aug 15 13:34:00 GMT 1995


Forwarded message:
>From owner-gcc@vger.rutgers.edu Fri Aug  4 04:04:03 1995
From: Jim Paradis <paradis@amt.tay1.dec.com>
Message-Id: <9508040424.AA07496@ives.amt.tay1.dec.com>
Subject: Ooops... typo
To: linux-alpha@vger.rutgers.edu, linux-gcc@vger.rutgers.edu
Date: Fri, 4 Aug 1995 00:24:50 -0500 (EDT)
In-Reply-To: <9508040120.AA07184@ives.amt.tay1.dec.com> from "Jim Paradis" at Aug 3, 95 09:20:07 pm
X-Mailer: ELM [version 2.4 PL13]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 552       
Sender: owner-gcc@vger.rutgers.edu
Precedence: bulk

In my previous message regarding gcc bugs, there was a little typo:

> 	fragp->fr_offset += newsize - size;
> 
> All of the variables above are 64-bit "long long"'s.  newsize=16, size=12;
> therefore fragp->fr_offset should have been incremented by 12.  Instead it
> was incremented by 24.

size=4, not 12.  Otherwise, it *really* doesn't come out right!


-- 
Jim Paradis (paradis@amt.tay1.dec.com)        "It's not procrastination, 
Digital Equipment Corporation		       it's my new Just-In-Time 
(508)952-4047				       Workload Management System!"


-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com




More information about the Gas2 mailing list