https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108878
--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Feb 22, 2023 at 08:48:07AM +0000, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108878 > > --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- > For the specific testcase I also wonder if the Fortran frontend optimization > pass can somehow unify these? This might be possible. Thomas knows the frontend pass better than I. Thomas, do you think it would be possible to replace m = exponent(x) f = fraction(x) with a single function/subroutine call?