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

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-forwprop2" } */
3
 
4
 
5
struct A { int i; };
6
int
7
foo(struct A *locp, int str)
8
{
9
  int T355, *T356;
10
  T356 = &locp->i;
11
  *T356 = str;
12
  return locp->i;
13
}
14
 
15
/* { dg-final { scan-tree-dump-times "&" 0 "forwprop2" } } */
16
/* { dg-final { cleanup-tree-dump "forwprop2" } } */
17
 
18
 

powered by: WebSVN 2.1.0

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