search for: __cta_fail

Displaying 1 result from an estimated 1 matches for "__cta_fail".

Did you mean: __chk_fail
2004 Dec 16
0
[LLVMdev] LLVM & Large memory 64-bit systems
...n, they should definitely be fixed. > p.s. which mailing list would be a better place to discuss such issues ? llvmdev is the right list for this, I've cc'd it. -Chris > #include <stddef.h> > #include <stdlib.h> > > #define COMPILE_TIME_ASSERT(e) {typedef int __cta_fail[1-2*!(e)];} > > /* B is a valid size_t constant on 64-bit machines */ > #define B ((size_t)1 << 33) > > struct Foo { > char big[B]; > int dummy; > }; > > extern struct Foo foo; > > char* p(size_t n) > { > return &foo.big[n]; > } > > /*...