https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54848
Bruno Haible <bruno at clisp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno at clisp dot org --- Comment #2 from Bruno Haible <bruno at clisp dot org> --- Another test case: ==================== u.c ===================== int main () { unsigned short a = 0xeb64; unsigned short b = 0xf1e2; unsigned short c = a * b; } ============================================== $ gcc -ftrapv u.c $ ./a.out; echo $? 0 Reproduced with gcc 14.1.0.