https://llvm.org/bugs/show_bug.cgi?id=28914
Bug ID: 28914 Summary: Assertion failure in test_localtime_r() if timezone is not EDT Product: compiler-rt Version: 3.8 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: compiler-rt Assignee: unassignedb...@nondot.org Reporter: balarishi.bhog...@amd.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified If the timezone of the system is not EDT, facing the below error: custom.cc.tmp: /home/amd/llvm/projects/compiler-rt/test/dfsan/custom.cc:555: void test_localtime_r(): Assertion `t1.tm_min == 56' failed. <Snip from custom.cc> void test_localtime_r() { time_t t0 = 1384800998; struct tm t1; dfsan_set_label(i_label, &t0, sizeof(t0)); struct tm* ret = localtime_r(&t0, &t1); assert(ret == &t1); assert(t1.tm_min == 56); // <=== ASSERT_LABEL(t1.tm_mon, i_label); } <snip ends> -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs