https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540
--- Comment #23 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to John David Anglin from comment #22) > Created attachment 46014 [details] > Patch > > Previous patch broke gfortran.dg/fmt_g0_6.f08 on hppa64-hp-hpux11.11. It > seems we need to handle the case where ndigits is zero. I regression tested this on x86_64 and all is well. Patch is approved to commit if fixes on hppa64. Thanks for effort!