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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
/* { dg-do compile { target { fpic && ilp32 } } } */
/* { dg-options "-O2 -fpic" } */
/* { dg-final { dg-scan-assembler-not "@ha" } } */
/* { dg-final { dg-scan-assembler-not "@l" } } */

union U { double x; int i[2]; };

double
foo (double x)
{
  union U u, v;
  u.x = x;
  v.i[0] = 0x7ff00000;
  v.i[1] = 0;
  return u.x / v.x;
}

Reply via email to