Path: 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 (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