]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/84073 (In -fc-prototypes fixed (nonzero) length strings are mapped...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 29 Jan 2018 07:11:16 +0000 (07:11 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 29 Jan 2018 07:11:16 +0000 (07:11 +0000)
commit3be34c0b1dec1272dfabec1e94a4666e9499fdc1
treed1acf816d6e79e1b17fc516eaa0ccb9955c86ab6
parentd6ffdc5b0a7e6fcd42fa9d658008589b6175e87c
re PR fortran/84073 (In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.)

2017-01-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84073
* resolve.c (resolve_component): Ensure BIND(C) character
components have length one.
(resolve_symbol): Likewise for variables.

2017-01-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84073
* gfortran.dg/bind_c_usage_31.f90: New test.

From-SVN: r257138
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bind_c_usage_31.f90 [new file with mode: 0644]