PR tree-optimization/80520
* gcc.dg/tree-ssa/split-path-11.c (foo): Make the test ilp32 target
clean.
From-SVN: r267031
+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));
}
}