OSDN Git Service

* trans-types.c (gfc_sym_type, gfc_return_by_reference): For
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Mar 2009 14:38:08 +0000 (14:38 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Mar 2009 14:38:08 +0000 (14:38 +0000)
commita59b7afbb72532164df78d27cbd69d79025cde63
tree80388c8b8c4e0b0796529810d742e6b4760a67fb
parent6fb80942554b30a533007654b3418bbc2f07a01f
* trans-types.c (gfc_sym_type, gfc_return_by_reference): For
sym->attr.result check sym->ns->proc_name->attr.is_bind_c.

* gfortran.dg/bind_c_usage_19.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145294 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bind_c_usage_19.f90 [new file with mode: 0644]