[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 Paul Thomas changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 --- Comment #7 from Paul Thomas --- Author: pault Date: Sat Feb 23 12:18:44 2019 New Revision: 269156 URL: https://gcc.gnu.org/viewcvs?rev=269156&root=gcc&view=rev Log: 2019-02-23 Paul Thomas PR fortran/89385 PR fortran/89366

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 --- Comment #6 from Dominique

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-20 Thread Bader at lrz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 --- Comment #5 from Bader at lrz dot de --- No. The dummy argument of the procedure process_string is declared character(kind=c_char,len=*), intent(in) :: this there is no POINTER or ALLOCATABLE attribute there. Regards Reinhold

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 --- Comment #4 from Dominique d'Humieres --- > Fortran 2018 FDIS section 18.3.6, para 2, item 5, bullet 2: On my draft it is probably 18.3.7 Interoperability of procedures and procedure interfaces For character(kind=c_char,len=:), allocat

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-20 Thread Bader at lrz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 --- Comment #3 from Bader at lrz dot de --- Created attachment 45771 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45771&action=edit C code to be called Added the C side function call.

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-20 Thread Bader at lrz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 --- Comment #2 from Bader at lrz dot de --- Fortran 2018 FDIS section 18.3.6, para 2, item 5, bullet 2: (5) any dummy argument without the VALUE attribute corresponds to a formal parameter of the prototype that is of a pointer type, and either

[Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument

2019-02-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|