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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [types-2.c] - Rev 823

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

/* { dg-do run { target ia64*-hp-hpux* } } */
/* { dg-options } */
 
/* Test that the sizes and alignments of the extra floating-point
   types are correct.  */
 
int main () {
  if (sizeof (__fpreg) != 16)
    return 1;
  if (__alignof__ (__fpreg) != 16)
    return 2;
 
  if (sizeof (__float80) != 16)
    return 3;
  if (__alignof__ (__float80) != 16)
    return 4;
 
  return 0;
}
 
 

Go to most recent revision | 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.