🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2250

gcc on one's-complement machines

#2250
From: Chris Torek
Date: Tue, 07 Feb 1989 09:32
14 lines
700 bytes
(gcc 1.33)

I have no idea whether it would work, but I do know that, at least
for cross-compilation purposes, the code in cse.c that reads

	val = arg0 & ~((-1) << GET_MODE_BITSIZE (mode));

should read

	val = arg0 & ~((~0) << GET_MODE_BITSIZE (mode));

There may be more instances of similar 2's compl. assumptions.

Chris
Technical Details
Message-ID: <8902070932.AA01110@gyre.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GYRE.UMD.EDU!chris

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GYRE.UMD.EDU!chris
From: chris@GYRE.UMD.EDU (Chris Torek)
Newsgroups: gnu.gcc.bug
Subject: gcc on one's-complement machines
Message-ID: <8902070932.AA01110@gyre.umd.edu>
Date: 7 Feb 89 09:32:09 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 14