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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ssa-dce-5.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -fno-tree-sra -fdump-tree-cddce1" } */
3
 
4
struct X { int i; };
5
struct X foo(int b)
6
{
7
  struct X x;
8
  if (b)
9
    x.i = 0;
10
  x.i = 1;
11
  return x;
12
}
13
 
14
/* { dg-final { scan-tree-dump-times "x.i =" 1 "cddce1" } } */
15
/* { dg-final { cleanup-tree-dump "cddce1" } } */

powered by: WebSVN 2.1.0

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