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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031031-2.c] - Diff between revs 154 and 816

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

Rev 154 Rev 816
/* PR/10239 */
/* PR/10239 */
 
 
enum node_type
enum node_type
{
{
  INITIAL = 0, FREE,
  INITIAL = 0, FREE,
  PRECOLORED,
  PRECOLORED,
  SIMPLIFY, SIMPLIFY_SPILL, SIMPLIFY_FAT, FREEZE, SPILL,
  SIMPLIFY, SIMPLIFY_SPILL, SIMPLIFY_FAT, FREEZE, SPILL,
  SELECT,
  SELECT,
  SPILLED, COALESCED, COLORED,
  SPILLED, COALESCED, COLORED,
  LAST_NODE_TYPE
  LAST_NODE_TYPE
};
};
 
 
inline void
inline void
put_web (enum node_type type)
put_web (enum node_type type)
{
{
  switch (type)
  switch (type)
    {
    {
    case INITIAL:
    case INITIAL:
    case FREE:
    case FREE:
    case FREEZE:
    case FREEZE:
    case SPILL:
    case SPILL:
      foo ();
      foo ();
      break;
      break;
    case PRECOLORED:
    case PRECOLORED:
      bar ();
      bar ();
      break;
      break;
    default:
    default:
      baz ();
      baz ();
    }
    }
}
}
 
 
void
void
reset_lists ()
reset_lists ()
{
{
  put_web (INITIAL);
  put_web (INITIAL);
}
}
 
 

powered by: WebSVN 2.1.0

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