re PR fortran/91553 (ICE in gfc_real2complex, at fortran/arith.c:2208)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 11 Sep 2019 18:37:31 +0000 (18:37 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 11 Sep 2019 18:37:31 +0000 (18:37 +0000)
commit22aa73bda49dc609c235b80b0e98d95ce8d50405
treef8455841487638861725e46a2f701e4ce790d495
parent84e33251331478d41b1c05768ccf0d060ce5b242
re PR fortran/91553 (ICE in gfc_real2complex, at fortran/arith.c:2208)

2019-09-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91553
* simplify.c (gfc_convert_constant):  During conversion check if the
constant is enclosed in parenthesis, and simplify expression.

2019-09-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91553
* gfortran.dg/pr91553.f90: New test.

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