]> gcc.gnu.org Git - gcc.git/commit
Fortran: fix corner case of IBITS intrinsic [PR108937]
authorHarald Anlauf <anlauf@gmx.de>
Mon, 27 Feb 2023 20:37:11 +0000 (21:37 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Mon, 27 Feb 2023 21:30:29 +0000 (22:30 +0100)
commit6cce953ebec274f1468d5d3a0697cf05bb43b8f6
tree0cb73689f4ede61e1c284024071ead1e17d0e6c6
parent8020c9c42349f51f75239b9d35a2be41848a97bd
Fortran: fix corner case of IBITS intrinsic [PR108937]

gcc/fortran/ChangeLog:

PR fortran/108937
* trans-intrinsic.cc (gfc_conv_intrinsic_ibits): Handle corner case
LEN argument of IBITS equal to BITSIZE(I).

gcc/testsuite/ChangeLog:

PR fortran/108937
* gfortran.dg/ibits_2.f90: New test.
gcc/fortran/trans-intrinsic.cc
gcc/testsuite/gfortran.dg/ibits_2.f90 [new file with mode: 0644]
This page took 0.056517 seconds and 5 git commands to generate.