https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109511
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |wrong-code
CC| |anlauf at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2023-04-14
--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.
The simplification seems to use the old mpfr_mul_2exp which takes an
unsigned exponent. There is the newer mpfr_mul_2si which accepts a signed
exponent.