re PR fortran/77703 (ICE on assignment to pointer function)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 23 Dec 2018 17:35:13 +0000 (17:35 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 23 Dec 2018 17:35:13 +0000 (17:35 +0000)
commit18246c420fd53a12be68b4ddfcfebf1e80056435
tree7712c58d4bd1cef990d916718af0885e33701c5e
parentb71bbbe2b22460ff9200613784e631496fcfc054
re PR fortran/77703 (ICE on assignment to pointer function)

2018-12-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/77703
* resolve.c (get_temp_from_expr): Use the string length of
constant character expressions.

2018-12-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/77703
* gfortran.dg/ptr_func_assign_5.f08 : New test.

From-SVN: r267379
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ptr_func_assign_5.f08 [new file with mode: 0644]