2018-05-10 Paul Thomas <pault@gcc.gnu.org>
commitdd5c9dd413afc17be97d6d834e696085ece163e0
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2018 10:48:50 +0000 (10 10:48 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2018 10:48:50 +0000 (10 10:48 +0000)
tree5462f5826baf175356cf39d9559745de624efac7
parentee9106ca70f1d3098127a5622b74db81d5934974
2018-05-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68846
PR fortran/70864
* resolve.c (get_temp_from_expr): The temporary must not have
dummy or intent attributes.

2018-05-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68846
* gfortran.dg/temporary_3.f90 : New test.

PR fortran/70864
* gfortran.dg/temporary_2.f90 : New test.

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