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/] [ssa-dse-4.c] - Blame information for rev 154

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 "-O2 -fdump-tree-dse1" } */
3
 
4
foo( int *a)
5
{
6
  *a = 5;
7
  *a = 3;
8
}
9
 
10
 
11
 
12
 
13
/* We should eliminate the first assignment to *p, but not the second.  */
14
/* { dg-final { scan-tree-dump-times "= 5" 0 "dse1"} } */
15
/* { dg-final { scan-tree-dump-times "= 3" 1 "dse1"} } */
16
 
17
/* { dg-final { cleanup-tree-dump "dse1" } } */
18
 
19
 

powered by: WebSVN 2.1.0

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