https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604
Bug ID: 120604
Summary: runtime error in i386/i386-expand.cc:3612:
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
I just tried a bootstrap with flags "-g -O3 -march=znver3"
with ASAN and UBSAN switched on and got the following:
trunk/gcc/config/i386/i386-expand.cc:3612:12: runtime error: signed integer
overflow: -577719751371849729 - 8646911284551352320 cannot be represented in
type 'long int'
The source code line is
diff = ct - cf;
After a full git download, git blame says:
2bf6d93547e5 gcc/config/i386/i386-expand.c (Martin Liska
2019-05-06 09:18:26 +0200 3612) diff = ct - cf;