https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95118
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:fe19d514ae915163b49fa344703ecfa1778a44d8 commit r10-8349-gfe19d514ae915163b49fa344703ecfa1778a44d8 Author: Richard Biener <rguent...@suse.de> Date: Thu May 14 08:53:03 2020 +0200 middle-end/95118 - fix printing of denormal zero This fixes printing a REAL_CST generated from value-numbering punning some bits to a real which turns out as zero with big negative exponent. This causes the loop in real_to_decimal_for_mode to never terminate. 2020-05-14 Richard Biener <rguent...@suse.de> PR middle-end/95118 * real.c (real_to_decimal_for_mode): Make sure we handle a zero with nonzero exponent. * gcc.dg/pr95118.c: New testcase.