1 /* PR tree-optimization/13827 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2 -fdump-tree-original" } */ 4 foo(unsigned a,unsigned b)5unsigned foo (unsigned a, unsigned b) 6 { 7 return (a & 0xff00) != (b & 0xff00); 8 } 9 bar(unsigned c,unsigned d)10unsigned bar (unsigned c, unsigned d) 11 { 12 return (c & 0xff00) == (d & 0xff00); 13 } 14 15 /* { dg-final { scan-tree-dump-times "a \\^ b" 1 "original" } } */ 16 /* { dg-final { scan-tree-dump-times "c \\^ d" 1 "original" } } */ 17