1 /* { dg-do run } */ 2 3 int one = 1; 4 5 char 6 __attribute__((noipa)) foo(char v)7foo(char v) 8 { 9 int modec; 10 11 if (one) 12 { 13 modec = ((v < 'A' || v > 'Z') ? v : v + ('a' - 'A')); 14 if (modec != 't' && modec != 'c' && modec != 'g') 15 modec = 0; 16 } 17 else 18 modec = 'g'; 19 20 return modec; 21 } 22 main(int argc,char ** argv)23int main(int argc, char **argv) 24 { 25 char c = 't'; 26 int r = foo (c); 27 28 if (r != c) 29 __builtin_abort (); 30 31 return 0; 32 } 33