view gcc/testsuite/gcc.dg/pr28911.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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);
}