re PR fortran/45689 ([F03] Missing transformational intrinsic in the trans_func_f2003...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 2 Jan 2018 17:51:26 +0000 (17:51 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 2 Jan 2018 17:51:26 +0000 (17:51 +0000)
commita9ec0cfc364b811d25bf8c84ad47e4d85f9a4766
treef85626cd23b0a0a2f8d94cfcf241270a82d28529
parent7616c40b3fd1ca99ab076b80301df2703345afa2
re PR fortran/45689 ([F03] Missing transformational intrinsic in the trans_func_f2003 list)

2018-01-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45689
PR fortran/83650
* simplify.c (gfc_simplify_cshift): Re-implement to allow full
range of arguments.

2018-01-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45689
PR fortran/83650
* gfortran.dg/simplify_cshift_1.f90: Correct erroneous case.
* gfortran.dg/simplify_cshift_4.f90: New test.

From-SVN: r256084
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/simplify_cshift_1.f90
gcc/testsuite/gfortran.dg/simplify_cshift_4.f90 [new file with mode: 0644]