From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@nynexst.com (H.J. Lu) To: gas2@cygnus.com Subject: Ooops... typo (fwd) Date: Tue, 15 Aug 1995 13:34:00 -0000 Message-id: <9508152031.AA08645@nynexst.com> X-SW-Source: 1995/msg00149.html Forwarded message: >From owner-gcc@vger.rutgers.edu Fri Aug 4 04:04:03 1995 From: Jim Paradis 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