[Bug fortran/46496] Missing strlen check / interop warnings with BIND(C) and non-C_* kinds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46496 --- Comment #5 from Dominique d'Humieres --- b) -Wno-c-binding-type silences the warnings related to C binding. It remains in this PR the missed warnings in d) and e).
[Bug fortran/46496] Missing strlen check / interop warnings with BIND(C) and non-C_* kinds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46496 --- Comment #4 from Thomas Koenig --- (In reply to Tobias Burnus from comment #0) > f) The following two examples are invalid - but seemingly gfortran does not > check the string length of DT character components: > > module mytypes >use ISO_C_BINDING >implicit none >private >public T >type, bind(C) :: T > character(len=2,kind=C_CHAR) item ! INVALID length: 2 >end type T > end module mytypes > > module mytypes >use ISO_C_BINDING >implicit none >private >public T >type, bind(C) :: T > character(len=*,kind=C_CHAR) item*(2) ! INVALID length of 2 >end type T > end module mytypes This has been fixed with PR84073.
[Bug fortran/46496] Missing strlen check / interop warnings with BIND(C) and non-C_* kinds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46496 Dominique d'Humieres changed: What|Removed |Added CC||valeryweber at hotmail dot com --- Comment #3 from Dominique d'Humieres --- *** Bug 68856 has been marked as a duplicate of this bug. ***
[Bug fortran/46496] Missing strlen check / interop warnings with BIND(C) and non-C_* kinds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46496 Dominique d'Humieres changed: What|Removed |Added Blocks||19276 --- Comment #2 from Dominique d'Humieres --- Related to pr46020. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276 [Bug 19276] [meta-bug] CHARACTER related bugs in gfortran
[Bug fortran/46496] Missing strlen check / interop warnings with BIND(C) and non-C_* kinds
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46496 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2014-03-22 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr --- Still present at r208766.