OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr15245.c] - Rev 297

Compare with Previous | Blame | View Log

/*  Testcase from <marcus@jet.franken.de>
    PR optimization/15245
    This used to ICE as convert was used
    in tree-ssa-phiopt which created non gimple
    code.   */
 
char *f(char *x, int flag)
{
    char *ret = (char*)0;
 
 
    if( x > (char*)1 ) {
      if(x)
        return (char*)0;
    } else {
      if( flag & 1 )
        ret = (char*)1;
      flag |= 2;
    }
    return ret;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.