Issue 75990
Summary [libc] multiple failures in the integer rounding tests when asan is enabled
Labels libc
Assignees
Reporter nickdesaulniers
    @michaelrj-google and I were observing errors locally in some of the integer rounding tests.

```
$ cd llvm-project
$ mkdir build
$ cd build
$ cmake ../llvm -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -G Ninja -DLLVM_ENABLE_LLD=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="llvm;libc;" -DLLVM_LIBC_FULL_BUILD=ON -DLLVM_USE_SANITIZER=Address
$ ninja libc-unit-tests
...
To be equal to: expected
      Which is: 8284678121555718014
/android0/llvm-project/libc/test/src/math/RoundToIntegerTest.h:48: FAILURE
      Expected: func(input)
      Which is: -9223372036854775808
To be equal to: expected
      Which is: 8586886215821188905
/android0/llvm-project/libc/test/src/math/RoundToIntegerTest.h:48: FAILURE
      Expected: func(input)
      Which is: -9223372036854775808
To be equal to: expected
      Which is: 8889094310086659796
/android0/llvm-project/libc/test/src/math/RoundToIntegerTest.h:48: FAILURE
      Expected: func(input)
      Which is: -9223372036854775808
To be equal to: expected
      Which is: 9191302404352130687

```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to