https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > There is a warning about interface mismatch, but probably the FE should on > interface mismatch just use an DECL_EXTERNAL decl from the interface rather > than the actual definition. Or issue an error, I think this would be preferable. Trying to fix up broken code so that it compiles, but will probably generate wrong results at runtime, seems wrong.