You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cparser/Ceval.ml:unop casts its result to ty instead of tyres, so the constant-evaluated ~(unsigned short)0 casts its result back to unsigned short instead of keeping it promoted to int.
If not intended, proposed fix is to replace in cparser/Ceval.ml:unop
Activity
xavierleroy commentedon Dec 30, 2025
Well spotted, thanks! Proposed fix applied in #567.
Ceval.unop: wrong cast of result value