https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80932
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Better testcase (C and C++): int x = 1; long int foo (void) { return ((long) (13801962912760474560ULL * x) - (long) (15334142073106273231ULL * x)) * -6; } int main () { foo (); return 0; }