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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr26421.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-alias1-vops" } */
3
 
4
typedef struct {
5
  int i;
6
  int j;
7
  int k;
8
} Foo;
9
 
10
void bar(Foo*);
11
int foo(void)
12
{
13
  Foo a;
14
  a.i = 1;
15
  bar(&a);
16
  return a.i;
17
}
18
 
19
/* { dg-final { scan-tree-dump-times "V_MAY_DEF" 2 "alias1" } } */
20
/* { dg-final { cleanup-tree-dump "alias1" } } */

powered by: WebSVN 2.1.0

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