https://bugs.llvm.org/show_bug.cgi?id=35096
Bug ID: 35096
Summary: UBSan "shift exponent 32 is too large for 32-bit type"
on include/c++/v1/algorithm:3025:
Product: libc++
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: brian.c...@gmail.com
CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
"LLVM-Unit :: Support/./SupportTests/Parallel.sort" caught a UBSan failure
regarding the shift exponent in the algorithm header.
~~~~~~~~~~
******************** TEST 'LLVM-Unit :: Support/./SupportTests/Parallel.sort'
FAILED ********************
...
/local/mnt/workspace/install/clang_Aug_2017/bin/../include/c++/v1/algorithm:3025:17:
runtime error: shift exponent 32 is too large for 32-bit type
'std::__1::__independent_bits_engine<std::__1::mersenne_twister_engine<unsigned
long, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640
, 15, 4022730752, 18, 1812433253>, unsigned int>::result_type' (aka 'unsigned
int')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/local/mnt/workspace/install/clang_Aug_2017/bin/../include/c++/v1/algorithm:3025:17
in
--
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