Testcase for cpp

Geoff Keating geoffk@ozemail.com.au
Wed Feb 10 00:04:00 GMT 1999


I attach a test case which fails on
powerpc-unknown-linux-gnulibc1
but succeeds on
powerpc-unknown-linux-gnu

because the second has <stdint.h> and the first doesn't.  gcc should
just use "long long" if it is being compiled under itself and
<stdint.h> is not available, for instance in cexp.c, cppexp.c, and
machmode.h.  A patch will follow.

-- 
Geoffrey Keating <geoffk@ozemail.com.au>

===File /tmp/cr.c===========================================
int main(void)
{
#if 4294967295U != 18446744073709551615ULL
	return 0;
#else
	abort();
#endif
}
============================================================


More information about the Gcc-patches mailing list