PR 83975 Associate target with non-constant character length
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 1 Feb 2018 19:47:15 +0000 (21:47 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 1 Feb 2018 19:47:15 +0000 (21:47 +0200)
commitae976c332dca908d826a71cdc81d28af71552939
treedc33b16aeeea0a1c2662e6a74f0bbacf7a44ac71
parentbfa28724748054a50075ce6f39b18c5ce111c73c
PR 83975 Associate target with non-constant character length

When associating a variable of type character, if the length of the
target isn't known at compile time, generate an error. See PR 83344
for more details.

Regtested on x86_64-pc-linux-gnu.

gcc/fortran/ChangeLog:

2018-02-01  Janne Blomqvist  <jb@gcc.gnu.org>

PR 83975
PR 83344
* resolve.c (resolve_assoc_var): Generate an error if
target length unknown.

From-SVN: r257310
gcc/fortran/ChangeLog
gcc/fortran/resolve.c