re PR fortran/36186 (Wrong handling of BOZ in CMPLX)
authorFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 14 May 2008 21:36:26 +0000 (21:36 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 14 May 2008 21:36:26 +0000 (21:36 +0000)
commit6401bf9cad029c264ff65db946c8e31ce998db13
treedf80bd35e852b8a95650c6aa6011baacf3b5d0b0
parent16f2a7a4a53554e454d5373e6ef689da8fc84ef4
re PR fortran/36186 (Wrong handling of BOZ in CMPLX)

PR fortran/36186

* simplify.c (only_convert_cmplx_boz): New function.
(gfc_simplify_cmplx, gfc_simplify_complex, gfc_simplify_dcmplx):
Call only_convert_cmplx_boz.

* gfortran.dg/boz_11.f90: New test.
* gfortran.dg/boz_12.f90: New test.

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