1 /*  Testcase from <marcus@jet.franken.de>
2     PR optimization/15245
3     This used to ICE as convert was used
4     in tree-ssa-phiopt which created non gimple
5     code.   */
6 
f(char * x,int flag)7 char *f(char *x, int flag)
8 {
9     char *ret = (char*)0;
10 
11 
12     if( x > (char*)1 ) {
13       if(x)
14         return (char*)0;
15     } else {
16       if( flag & 1 )
17         ret = (char*)1;
18       flag |= 2;
19     }
20     return ret;
21 }
22