Back to all issues

Issue 4173

Bug: Overflow incorrectly reported for some bit-level operations


SubmittedProductStatus
2019-01-23Reactis for SimulinkResolved in 2018.2.1 (released Feb 07, 2019; release notes)
Resolved in 2018.0.4 (released May 16, 2019; release notes)

Overflows are incorrectly reported for some bit-level operations. For example, the following code produces an overflow error/warning:

unsigned char z = 2;
z = ~z;