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/] [pr19633.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 "-O1 -fdump-tree-ssa-vops" } */
3
struct S
4
{
5
  int w, x, y, z;
6
};
7
struct T
8
{
9
  int r;
10
  struct S s;
11
};
12
void bar (struct S, int);
13
void
14
foo (int a, struct T b)
15
{
16
  struct S x;
17
  struct S *c = &x;
18
  if (a)
19
    c = &b.s;
20
  bar (*c, a);
21
}
22
 
23
/* Make sure that .GLOBAL_VAR is not created when there are no
24
   clobbering calls.  */
25
/* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } */
26
/* { dg-final { cleanup-tree-dump "ssa" } } */

powered by: WebSVN 2.1.0

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