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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [dfp/] [convert-bfp-13.c] - Blame information for rev 686

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 686 jeremybenn
/* Test for bug where fold changed binary operation to decimal
2
   depending on typedefs.  */
3
 
4
#include "dfp-dbg.h"
5
 
6
volatile double d = 1.2345675;
7
 
8
typedef const volatile _Decimal32 d32;
9
 
10
int
11
main (void)
12
{
13
  _Decimal32 a = (d * d);
14
  d32 b = (d * d);
15
  if (a != b)
16
    FAILURE
17
  FINISH
18
}

powered by: WebSVN 2.1.0

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