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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [types-2.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 319 jeremybenn
/* { dg-do run { target ia64*-hp-hpux* } } */
2
/* { dg-options } */
3
 
4
/* Test that the sizes and alignments of the extra floating-point
5
   types are correct.  */
6
 
7
int main () {
8
  if (sizeof (__fpreg) != 16)
9
    return 1;
10
  if (__alignof__ (__fpreg) != 16)
11
    return 2;
12
 
13
  if (sizeof (__float80) != 16)
14
    return 3;
15
  if (__alignof__ (__float80) != 16)
16
    return 4;
17
 
18
  return 0;
19
}
20
 

powered by: WebSVN 2.1.0

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