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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [phi-opt-6.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-phiopt1" } */
3
 
4
struct C { int i; };
5
int *g(struct C *p)
6
{
7
  if (p)
8
    return &p->i;
9
  return (int *)0;
10
}
11
 
12
/* { dg-final { scan-tree-dump-not "if" "phiopt1" } } */
13
/* { dg-final { cleanup-tree-dump "phiopt1" } } */

powered by: WebSVN 2.1.0

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