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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr30311.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* ICE in subreg_get_info: bug 30311.  */
2
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
3
inline double bar(double x)
4
{
5
  long double d;
6
  __asm__ ("" : "=t" (d) : "0" (x));
7
  return d;
8
}
9
 
10
double foo(double x)
11
{
12
  if (x)
13
    return bar(x);
14
  else
15
    return bar(x);
16
}

powered by: WebSVN 2.1.0

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