http://llvm.org/bugs/show_bug.cgi?id=4588
Török Edwin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #6 from Török Edwin <[email protected]> 2009-07-20 02:15:39 --- Ok, the problem is that some files #define NDEBUG, others don't, and if you link a file compiled with NDEBUG that includes boost/date_time/posix_time/posix_time.hpp, with one that includes it w/o defining NDEBUG then bad things happen. With gcc at -O1 everything is fine, and the result is valgrind clean, however even with gcc at -O0 it segfaults if one files defines it, and the other one doesn't. Now llvm-gcc at -O1 optimized things differently and preserved the bad behaviour. Doesn't look like a bug in LLVM, sorry for the noise. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
