[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-03-05 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

Allan Jensen  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #9 from Allan Jensen  ---
I now have trouble reproducing it. Let's assume for now my configuration was
wrong at the time this was still reproducable for me.

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-02-23 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

--- Comment #8 from Allan Jensen  ---
Yes, I will take a look again and produce the intermediate results

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

--- Comment #7 from Jakub Jelinek  ---
Can you please provide the requested reproducer, even if large?  Otherwise
there is nothing we can do about it and it will be closed as
RESOLVED/WORKSFORME.

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-01-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

--- Comment #6 from Jakub Jelinek  ---
The code in question is:
  const struct real_format *const fmt =
REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (type)));
  const int prec = fmt->p;
  const mp_rnd_t rnd = fmt->round_towards_zero ? GMP_RNDZ : GMP_RNDN;
  const mpc_rnd_t crnd = fmt->round_towards_zero ? MPC_RNDZZ :
MPC_RNDNN;
  int inexact;
  mpc_t m0, m1;

  mpc_init2 (m0, prec);
  mpc_init2 (m1, prec);
and unless Debian builds the compiler with --disable-checking, REAL_MODE_FORMAT
should ICE if it is used with mode other than with MODE_FLOAT class or
DECIMAL_FLOAT_MODE_P.  All the fmt modes have p in between 11 and 200 or so, so
I don't see how this is possible.

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-01-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.3 |7.4

--- Comment #5 from Richard Biener  ---
GCC 7.3 is being released, adjusting target milestone.

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-01-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek  ---
Even large unreduced preprocessed testcases are useful, just xz -9e it and
hopefully it won't be that huge anymore.

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-01-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2018-01-24
 CC||rguenth at gcc dot gnu.org
Version|unknown |7.2.1
   Target Milestone|--- |7.3
 Ever confirmed|0   |1

--- Comment #3 from Richard Biener  ---
Given it fails in mpfr this is maybe a bug in mpfr?  What mpfr version are you
using?