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/] [20040209-1.c] - Diff between revs 298 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 384
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2 -Wuninitialized" } */
/* { dg-options "-O2 -Wuninitialized" } */
 
 
typedef union tree_node *tree;
typedef union tree_node *tree;
 
 
struct tree_common
struct tree_common
{
{
  tree chain;
  tree chain;
};
};
 
 
struct tree_decl
struct tree_decl
{
{
  struct tree_common common;
  struct tree_common common;
  tree name;
  tree name;
};
};
 
 
 
 
union tree_node
union tree_node
{
{
  struct tree_common common;
  struct tree_common common;
  struct tree_decl decl;
  struct tree_decl decl;
};
};
 
 
int pedantic;
int pedantic;
 
 
void
void
finish_struct (tree t, tree fieldlist, tree attributes)
finish_struct (tree t, tree fieldlist, tree attributes)
{
{
  union tree_node * x;
  union tree_node * x;
 
 
  if (pedantic)
  if (pedantic)
    {
    {
      x = fieldlist;
      x = fieldlist;
      if (x->decl.name == 0)
      if (x->decl.name == 0)
        {
        {
          while (x)
          while (x)
            x = x->common.chain;
            x = x->common.chain;
          foo (fieldlist);
          foo (fieldlist);
        }
        }
    }
    }
 
 
  x = fieldlist;
  x = fieldlist;
  if (x)
  if (x)
    {
    {
      do
      do
        {
        {
          x = x->common.chain;
          x = x->common.chain;
        } while (x != 0);
        } while (x != 0);
    }
    }
 
 
  bar1 (&fieldlist);
  bar1 (&fieldlist);
}
}
 
 

powered by: WebSVN 2.1.0

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