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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011217-2.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 688 jeremybenn
/* Test that the initializer of a compound literal is properly walked
2
   when tree inlining.  */
3
/* Origin: glibc (as reported in PR c/5105) from <aj@suse.de>.  */
4
 
5
inline int
6
finite (double __x)
7
{
8
  return (__extension__
9
          (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
10
             | 0x800fffffu) + 1) >> 31));
11
}
12
 
13
int
14
main (void)
15
{
16
  double x = 1.0;
17
 
18
  return finite (x);
19
}

powered by: WebSVN 2.1.0

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