1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-pre" } */ 3 f(unsigned x,unsigned y,_Bool b)4unsigned f(unsigned x, unsigned y, _Bool b) 5 { 6 #define m (b?-1:0) 7 return (x&m)|(y&~m); 8 #undef m 9 } 10 11 /* { dg-final { scan-tree-dump "# prephitmp_\[0-9\]+ = PHI <\[xy\]_\[0-9\]+\\(D\\)\[^,\]*, \[xy\]_\[0-9\]+\\(D\\)" "pre" } } */ 12