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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr44028.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR debug/44028 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
/* { dg-options "-O3 -fsched-pressure -fschedule-insns -fcompare-debug" { target i?86-*-* x86_64-*-* } } */
5
 
6
struct S { int val[16]; };
7
 
8
static inline int
9
bar (struct S x)
10
{
11
  long double pc = 0;
12
  int i;
13
  for (i = 0; i < 16; i++)
14
    pc += x.val[i];
15
  return pc;
16
}
17
 
18
int
19
foo (struct S x)
20
{
21
  return bar (x);
22
}

powered by: WebSVN 2.1.0

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