https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #14 from kargl at gcc dot gnu.org --- (In reply to John David Anglin from comment #13) > Changing back to libfortran as c99_functions.c was compiled with -std=gnu11. > > I must say this "optimization" is going to cause a lot of teeth gnashing > as it reduces the utility of the language and it isn't safe without warnings > about reserved key words. Finally, it might not be an optimization. What happens if you change -std=gnu11 to -std=c11? It is not clear why you think that this is a libgfortran issue. It look likes a target problem (as hpux apparently does not have floorf) or a middle-end problem (as gfortran is supplying hpux with floorf with perfectly fine C code).