From: Jakub Jelinek Date: Tue, 11 Dec 2018 20:28:35 +0000 (+0100) Subject: re PR tree-optimization/80520 (Performance regression from missing if-conversion) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c0517a6531112d2dec16d18cdabb1513d387b7a;p=gcc.git re PR tree-optimization/80520 (Performance regression from missing if-conversion) PR tree-optimization/80520 * gcc.dg/tree-ssa/split-path-11.c (foo): Make the test ilp32 target clean. From-SVN: r267031 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c6730c234b6..36c4232bf2b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-12-11 Jakub Jelinek + + PR tree-optimization/80520 + * gcc.dg/tree-ssa/split-path-11.c (foo): Make the test ilp32 target + clean. + 2018-12-11 Marek Polacek PR c++/86608 - reading constexpr volatile variable. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c b/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c index f94f1a84e2c..66f57d92edb 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c @@ -1,13 +1,13 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fsplit-paths -fdump-tree-split-paths-details -w" } */ -void foo(unsigned long *M) +void foo(unsigned long long *M) { - for (unsigned long k = 0; k < 227; ++k) + for (unsigned long long k = 0; k < 227; ++k) { - unsigned long y = - ((M[k] & 0xffffffff80000000) | (M[k + 1] & 0x7fffffff)); - M[k] = (M[k + 397] ^ (y >> 1) ^ ((y & 1) ? 2567483615 : 0)); + unsigned long long y = + ((M[k] & 0xffffffff80000000ULL) | (M[k + 1] & 0x7fffffffULL)); + M[k] = (M[k + 397] ^ (y >> 1) ^ ((y & 1) ? 2567483615ULL : 0)); } }