https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89726

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2019-03-15
         Resolution|INVALID                     |---
     Ever confirmed|0                           |1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Now I can reproduce, but we are talking about
/* PR middle-end/89726 */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-msse2 -mfpmath=sse" { target sse2_runtime } } */

double a = -0.9;

int
main ()
{
  asm ("" : "+m" (a));
  if (__builtin_signbit (__builtin_ceil (a)) == 0)
    __builtin_abort ();
  return 0;
}
and the -mfpmath=sse there is essential, which hasn't been mentioned initially.

Reply via email to