re PR fortran/88227 (ICE in gfc_convert_boz, at fortran/target-memory.c:788)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 4 Aug 2019 15:52:55 +0000 (15:52 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 4 Aug 2019 15:52:55 +0000 (15:52 +0000)
commitefaa05d8fd84dc045ab8f68caeabf9578fd36c21
treeef1b5cce499cf63a0dd2a49845296036d4afa1be
parent011fc8c66f8195eaf5ae65951b3e2172383bf16d
re PR fortran/88227 (ICE in gfc_convert_boz, at fortran/target-memory.c:788)

2019-08-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/88227
* check.c (oct2bin):  New function.  Convert octal string to binary.
(hex2bin): New function.  Convert hexidecimal string to binary.
(bin2real): New function.  Convert binary string to REAL.  Use
oct2bin and hex2bin.
(gfc_boz2real):  Use fallback conversion bin2real.

From-SVN: r274096
gcc/fortran/ChangeLog
gcc/fortran/check.c