re PR fortran/90577 (FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto)
authorHarald Anlauf <anlauf@gmx.de>
Fri, 14 Jun 2019 18:41:20 +0000 (18:41 +0000)
committerHarald Anlauf <anlauf@gcc.gnu.org>
Fri, 14 Jun 2019 18:41:20 +0000 (18:41 +0000)
commitd0442491d506497f9c7e8bfa6f0e9edb16d21306
treec3615319bcfcff103f8bbc0cd88ef23de4955beb
parenta8566e938ca4c6d5c8a631397e15216d0d6a720f
re PR fortran/90577 (FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto)

2019-06-14  Harald Anlauf  <anlauf@gmx.de>

PR fortran/90577
PR fortran/90578
* trans-intrinsic.c (gfc_conv_intrinsic_shift): Properly
distinguish logical/arithmetic shifts.
* intrinsic.texi: Update documentation for SHIFTR/SHIFTL/SHIFTA
(Fortran 2008) and LSHIFT/RSHIFT (GNU extensions).

PR fortran/90577
PR fortran/90578
* gfortran.dg/lrshift_1.f90: Adjust testcase.
* gfortran.dg/shiftalr_3.f90: New testcase.

From-SVN: r272309
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/lrshift_1.f90
gcc/testsuite/gfortran.dg/shiftalr_3.f90 [new file with mode: 0644]