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] - Blame information for rev 316

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/*  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
 
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
}

powered by: WebSVN 2.1.0

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