-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-13483
-
-
-
default
-
The compiler may abort with a "no match for SRL" error or may generate bad code when given code that converts a value from a float to an integer type wider than int, shifts that value to the right, and then converts the result to an int. This can happen whether the conversions are implicit or explicit.
uint64_t val = val_float;
int shift_result = val >> SHIFT;