blob: 07a75c9ae7df08f924d982dbe6086460b946fedf [file] [log] [blame]
/* PR rtl-optimization/79388 */
/* { dg-additional-options "-fno-tree-coalesce-vars" } */
unsigned int a, c;
__attribute__ ((noinline, noclone)) unsigned int
foo (unsigned int p)
{
p |= 1;
p &= 0xfffe;
p %= 0xffff;
c = p;
return a + p;
}
int
main (void)
{
int x = foo (6);
if (x != 6)
__builtin_abort();
return 0;
}