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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [pr25960.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do run { target { powerpc*-*-darwin* powerpc*-*-aix* rs6000-*-* powerpc*-*-linux* } } } */
2
/* { dg-options "-O2 -mlong-double-128" } */
3
 
4
extern void abort (void);
5
 
6
volatile long double l, m, n;
7
 
8
int
9
main (void)
10
{
11
  l = __builtin_copysignl (0.0L, -1.0L);
12
  m = __builtin_copysignl (0.0L, -1.0L);
13
  n = l + m;
14
  if (__builtin_copysignl (1.0L, n) >= 0.0L)
15
    abort ();
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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