Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!network.ucsd.edu!usc!wupost!uunet!math.fu-berlin.de!uni-paderborn.de!urmel.informatik.rwth-aachen.de!acds.physik.rwth-aachen.de!kuku
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Newsgroups: comp.os.386bsd.bugs
Subject: gcc 2.3.3 bug?
Date: 29 Mar 1993 17:36:54 GMT
Organization: I.Physikalisches Institut RWTH-Aachen
Lines: 27
Distribution: world
Message-ID: <1p7c3mINNdh5@urmel.informatik.rwth-aachen.de>
Reply-To: kuku@acds.physik.rwth-aachen.de
NNTP-Posting-Host: acds.physik.rwth-aachen.de
Sure, I believe this is not a bug. Instead it might have creeped in
by the various patches I applied to gcc in the context of float.h and libm.
Could someone please try out the following program with his/her version
of gcc-2.3.3:
#include <limits.h>
int i = -2147483648;
main() {
printf("%d %d\n",INT_MIN,i);
}
My gcc2.3.3 issues a warning: integer constant so large that it is unsigned.
Obviously it is in the range of INT_MIN and INT_MAX.
--
--Chris
Christoph P. U. Kukulies
kuku@acds.physik.rwth-aachen.de
*** Error code 1
Stop.