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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [pr41841.c] - Blame information for rev 686

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/41841 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fipa-struct-reorg -fwhole-program -fipa-cp" } */
4
 
5
typedef struct S *T;
6
typedef struct { } *U;
7
extern int f1 (void);
8
 
9
static void
10
f3 (U x, int y)
11
{
12
  T a = (T) x;
13
  y && f1 ();
14
}
15
 
16
static void
17
f2 (T x)
18
{
19
  f3 ((U) x, 1);
20
}
21
 
22
void *volatile a __attribute__((used)) = f2;

powered by: WebSVN 2.1.0

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