Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!uunet!mcsun!ukc!dcl-cs!aber-cs!pcg From: pcg@aber-cs.UUCP (Piercarlo Grandi) Newsgroups: gnu.gcc.bug Subject: Re: probable generic bug with gcc 1.36 with LONG_MIN Message-ID: <1616@aber-cs.UUCP> Date: 4 Feb 90 17:31:29 GMT Reply-To: pcg@cs.aber.ac.uk (Piercarlo Grandi) Distribution: gnu Organization: Dept of CS, UCW Aberystwyth (Disclaimer: my statements are purely personal) Lines: 15 In article <9002010531.AA02596@flame.oracle.com> wbailey@flame.oracle.com (Bill Bailey) writes: if ( j < -2147483648 ) ^^^^^^^^^^^ Let's give a hint: is this a constant or an expression? If it is an expression, is its value what you think it to be? What about two's complement signed arithmetic? Enough said... -- Piercarlo "Peter" Grandi | ARPA: pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk Dept of CS, UCW Aberystwyth | UUCP: ...!mcvax!ukc!aber-cs!pcg Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@cs.aber.ac.uk