-
Bug
-
Resolution: Fixed
-
High
-
Code Generation Tools
-
CODEGEN-8736
-
-
-
default
Given
_Bool test(_Bool is_cos, float angle)
{ _Bool rv = is_cos ? 0 : (angle < 0.0F); return rv; }The optimizer incorrectly computes rv when is_cos is true. This bug will probably only affect conditional expressions using the C++ type "bool" or the C99 type "_Bool."