* [9fans] another compiler bug (more non-conformance in integral promotions)
@ 2001-07-14 3:23 Mike Haertel
0 siblings, 0 replies; only message in thread
From: Mike Haertel @ 2001-07-14 3:23 UTC (permalink / raw)
To: 9fans
cpu% cat > bug.c
#include <stdio.h>
#include <stdlib.h>
int
main()
{
static unsigned char tab[1] = { 0x80 };
static int x = 0x80;
printf("%d %d\n", tab[0] << 24 >> 31, x << 24 >> 31);
exit(EXIT_SUCCESS);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-14 3:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-14 3:23 [9fans] another compiler bug (more non-conformance in integral promotions) Mike Haertel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).