OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr19633.c] - Diff between revs 298 and 384

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 384
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa-vops" } */
/* { dg-options "-O1 -fdump-tree-ssa-vops" } */
struct S
struct S
{
{
  int w, x, y, z;
  int w, x, y, z;
};
};
struct T
struct T
{
{
  int r;
  int r;
  struct S s;
  struct S s;
};
};
void bar (struct S, int);
void bar (struct S, int);
void
void
foo (int a, struct T b)
foo (int a, struct T b)
{
{
  struct S x;
  struct S x;
  struct S *c = &x;
  struct S *c = &x;
  if (a)
  if (a)
    c = &b.s;
    c = &b.s;
  bar (*c, a);
  bar (*c, a);
}
}
 
 
/* Make sure that .GLOBAL_VAR is not created when there are no
/* Make sure that .GLOBAL_VAR is not created when there are no
   clobbering calls.  */
   clobbering calls.  */
/* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } */
/* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } */
/* { dg-final { cleanup-tree-dump "ssa" } } */
/* { 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.