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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-03-03
          Component|c                           |tree-optimization
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|error: invalid conversion   |[8 Regression] error:
                   |in gimple call with -O3 and |invalid conversion in
                   |-ffast-math                 |gimple call with -O3 and
                   |                            |-ffast-math
   Target Milestone|---                         |8.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with my r257846.
Cleaned up testcase:
int a[64], b;
double pow (double, double);
__attribute__((__simd__)) double exp (double);

void
foo (double x)
{
  int i;
  double c = exp (x);
  for (i = 0; i < 64; i++)
    {
      b = i;
      a[i] = pow (12.0, b) * pow (c, i);
    }
}

Reply via email to