[Bug fortran/92993] [8/9/10 Regression] ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 30 13:20:00 GMT 2019
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.
More information about the Gcc-bugs
mailing list