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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20040216-1.c] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-dse1-details" } */
 
foo(int *z, int *y, int xx)
{
  *z = 1;
  if (xx)
    xx = 20;
  else
   xx = 30;
  *z = 2;
  *z = 3;
  return xx;
}
 
/* We should convert two COND_EXPRs into straightline code.  */
/* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1"} } */
/* { dg-final { cleanup-tree-dump "dse1" } } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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