search for: 0xdddddddddddddddd

Displaying 1 result from an estimated 1 matches for "0xdddddddddddddddd".

2014 Jul 18
2
[LLVMdev] Bug in llvm/ADT/ArrayRef.h?
...printf( "This shouldn't happen: %p\n", arrayRef[0] ); else printf( "Expected behaviour.\n" ); return 0; } Compiling (and then executing) this program with g++-4.8 -Wall -O0 -std=c++11 -I./LLVM_SVN/installed/include main.cpp prints: "This shouldn't happen: 0xdddddddddddddddd" Compiling with clang++ -Wall -O0 -std=c++11 -I./LLVM_SVN/installed/include main.cpp prints: "Expected behaviour." I think (as a quick fix) we should remove the const qualifier from ArrayRef's CTor argument, so that the above code won't compile anymore and thus avoiding a...