------- Additional Comments From trt at acm dot org  2005-05-18 17:28 -------
Here is a equivalent case that gcc also misses (but beyond scope of
fold-const.c). By the way, since there is a missing final return, can't gcc just
simplify all three functions into "return 1;" :-)

int fish3(unsigned char c)
{
        if (c =='"') return 1;
        if (c == 0x20) return 1;
        if (c < 0x20) return 1;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21643

Reply via email to