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-fre-21.c] - Blame information for rev 298

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre" } */
3
 
4
struct f {
5
  float a;
6
  float b;
7
  float c;
8
  float d;
9
};
10
 
11
struct f a;
12
 
13
void h(float, float, float, float);
14
 
15
void g(void)
16
{
17
  float a1 = a.a, b = a.b, c = a.c, d = a.d;
18
  a.a = a1;
19
  a.b = b;
20
  a.c = c;
21
  a.d = d;
22
  h(a1, b, c, d);
23
}
24
 
25
/* { dg-final { scan-tree-dump-not "a\\\.? = " "fre" } } */
26
/* { dg-final { cleanup-tree-dump "fre" } } */

powered by: WebSVN 2.1.0

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