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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr28911.c] - Rev 816

Compare with Previous | Blame | View Log

/* PR target/28911
   The following used to cause crash on m68k-elf because 0x80000000
   was used as an SImode constant.  */
 
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -m68000" { target m68k-*-* } } */
 
_Complex float
foo (float a)
{
  return __builtin_copysign (a != a, a);
}
 

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.