https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to chrisonian from comment #1) > This bug is still present in versions 8.3.0, 9.3.0, 10.1.0 > > The bug likely does not effect anyone that contributes code to GCC. Someday someone might look at this bug. Fortunately, there is a trivial work around, e.g., change the generic-name from 'sqrt' to 'root'. If one does this and then looks at the contents of mod2.mod, one see the only difference shown here. Perhaps, module.c needs to be fixed to record the generic interface. diff -u zxc1 zxc2 --- zxc1 2021-04-12 14:29:48.345332000 -0700 +++ zxc2 2021-04-12 14:30:04.774051000 -0700 @@ -4,7 +4,7 @@ () -(('pair' 'mod2' 2) ('root' 'mod2' 3 4)) +(('pair' 'mod2' 2) ('sqrt' '(intrinsic)' 3 4)) ()