Subject: cc/sparc miscompile / lack of warnings?
To: None <port-sparc@NetBSD.ORG>
From: Al Slater <firstname.lastname@example.org>
Date: 04/21/1998 08:54:59
int main(argc, argv)
unsigned char c;
if (argc != 3)
keels over with a segmentation fault . The same on SunOS
4.1.4 doesn't. Having looked at the output asm, I presume this
is because 524288 is just outside of what can be represented
in 22 bits worth ? (262144 works fine)
I suppose the correct option is Not To Do That :)
 - stock 1.3/sparc.