re PR fortran/42188 ([OOP] F03:C612. The leftmost part-name shall be the name of...
authorJanus Weil <janus@gcc.gnu.org>
Sat, 3 Dec 2016 18:37:57 +0000 (19:37 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 3 Dec 2016 18:37:57 +0000 (19:37 +0100)
commit20fee4a901c0cf097df1f1ba00e226f1eb8e973c
tree014274d5a630a611d4c4797b400723bc6b25a9b0
parent54b84aa9456004ceee2bceb813843525ee11bd7d
re PR fortran/42188 ([OOP] F03:C612. The leftmost part-name shall be the name of a data object.)

2016-12-03  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42188
* primary.c (gfc_match_rvalue): Add a new check that gives better error
messages.

2016-12-03  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42188
* gfortran.dg/derived_result_2.f90.f90: New test case.

From-SVN: r243223
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/derived_result_2.f90 [new file with mode: 0644]