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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr41643.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/41643 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fno-tree-dce" } */
4
 
5
struct S { int a; };
6
 
7
int
8
f (struct S *x)
9
{
10
  int a = x->a;
11
  if (a)
12
    return f (x) + a;
13
  else
14
    return f (x);
15
}

powered by: WebSVN 2.1.0

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