https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- FWIW using -std=legacy changes the error to a warning. Strictly speaking the function CGEESX has no definition of the types of its arguments so we are kicking it as UNKNOWN/LOGICAL(4) mismatch. This is indeed legacy code.