Message ID | 20170608122725.GT3413@redhat.com |
---|---|
State | New |
Headers | show |
diff --git gcc/testsuite/c-c++-common/ubsan/pr80932.c gcc/testsuite/c-c++-common/ubsan/pr80932.c index a833712..92903f7 100644 --- gcc/testsuite/c-c++-common/ubsan/pr80932.c +++ gcc/testsuite/c-c++-common/ubsan/pr80932.c @@ -4,10 +4,10 @@ int x = 1; -long int +int foo (void) { - return ((long) (13801962912760474560ULL * x) - (long) (15334142073106273231ULL * x)) * -6; + return ((int) (2855545792U * x) - (int) (3269399503U * x)) * -5; } int