https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66238
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #0) > When running the gfortran test suite with -flto, I get the following new > failures since r223288 > I don't have updated to that revision, so that I can't check by myself, but here are a few possible problems: For proc_ptr_7, the procedure pointer argument has a variadic number of arguments on the fortran side, and no argument on the C side. For c_char_tests, a possible problem is the declaration of arguments as character(c_char), value :: foo This declares a character of len c_char and default kind as far as I know. According to https://gcc.gnu.org/onlinedocs/gfortran/Interoperable-Subroutines-and-Functions.html the canonical declaration is rather: character(kind=c_char) :: foo(*) With the value attribute, I don't know how it should be handled though.