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.dg/] [pr41241.c] - Blame information for rev 315

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR bootstrap/41241 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fcompare-debug -g" } */
4
/* { dg-options "-O2 -fcompare-debug -g -march=i586 -mtune=i586 -fomit-frame-pointer" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
5
 
6
typedef struct { int t1; int t2; int t3; } *T;
7
typedef struct { int s; } S;
8
 
9
int fn1 (int);
10
int fn2 (int, int, int);
11
int fn3 (void);
12
 
13
static S
14
bar ()
15
{
16
  S s = { 0 };
17
  return s;
18
}
19
 
20
void
21
foo (T x)
22
{
23
  int a, b, c, d, e;
24
  T f, g;
25
  S h;
26
  a = x->t2;
27
  fn1 (x->t1);
28
  h = bar (b);
29
  c = fn1 (e);
30
  d = fn3 ();
31
  f->t3 &= g->t3 |= fn2 (0, b, x->t1);
32
  fn2 (0, c, d);
33
  fn2 (0, e, 0);
34
}

powered by: WebSVN 2.1.0

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