Commit 3c0517a6 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 3c393a2c
2018-12-11 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/80520
* gcc.dg/tree-ssa/split-path-11.c (foo): Make the test ilp32 target
clean.
2018-12-11 Marek Polacek <polacek@redhat.com>
PR c++/86608 - reading constexpr volatile variable.
......
/* { 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));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment