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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-12-08
                 CC|                            |ebotcazou at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |vmakarov at gcc dot gnu.org
   Target Milestone|---                         |7.3
            Summary|ICE in                      |[7/8 Regression] ICE in
                   |lra_eliminate_reg_if_possib |lra_eliminate_reg_if_possib
                   |le compiling Python with    |le compiling Python with
                   |-mfpmath=sse on x86 Linux,  |-mfpmath=sse on x86 Linux
                   |possible 7 regression       |
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Cleaned up testcase:
/* PR rtl-optimization/83317 */
/* { dg-do compile } */
/* { dg-options "-O1" } */
/* { dg-additional-options "-fPIC" { target fpic } } */
/* { dg-additional-options "-march=prescott -mfpmath=sse" { target ia32 } } */

struct S { double a; };
struct S c;
int d, e;
void *buf[64];
extern int setjmp (void **);

void
foo ()
{
  setjmp (buf);
  struct S g;
  if (d)
    g.a = __builtin_copysign (e, d);
  c = g;
}

Started with r243632, even latest trunk ICEs.

Reply via email to