https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117303
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|lto |fortran Keywords| |lto --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect this might be a front end bug. The decls for the two functions should be the same but I think they are different and that is causing the issue.