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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [dfp/] [pr35739.c] - Rev 689

Compare with Previous | Blame | View Log

/* PR c/35739 */
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O -fpreprocessed -fmudflap" } */
 
_Decimal128
foo (int n, ...)
{
  int i;
  _Decimal128 j = 0;
  __builtin_va_list ap;
  __builtin_va_start (ap, n);
  for (i = 0; i < n; i++)
    j += __builtin_va_arg (ap, _Decimal128);
  __builtin_va_end (ap);
  return j;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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