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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ssa-dse-4.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* { 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.