https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68856
Bug ID: 68856
Summary: wrong compilation wtih character interoperability
Product: gcc
Version: 5.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: valeryweber at hotmail dot com
Target Milestone: ---
Dear All
The following code compiles with 5.3.0. Would it be possible to have an error
check on character with len>1 that are binded to C?
thanks
valery
cat t.f90
module test
use iso_c_binding
TYPE, BIND(C), PUBLIC :: cudaDeviceProp_t
character(kind=c_char,len=256) :: name
end type cudaDeviceProp_t
end module test
gfortran-5.3.0 -c t.f90 -std=f2008ts -Wall