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/] [20040216-1.c] - Blame information for rev 867

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-dse1-details" } */
3
 
4
foo(int *z, int *y, int xx)
5
{
6
  *z = 1;
7
  if (xx)
8
    xx = 20;
9
  else
10
   xx = 30;
11
  *z = 2;
12
  *z = 3;
13
  return xx;
14
}
15
 
16
/* We should convert two COND_EXPRs into straightline code.  */
17
/* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1"} } */
18
/* { dg-final { cleanup-tree-dump "dse1" } } */

powered by: WebSVN 2.1.0

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