[PATCH,fortran] 2nd argument in [D]CMPLX(x,y) must not be COMPLEX
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Jul 18 21:11:00 GMT 2009
Bootstrapped and regression tested on i386-*-freebsd.
OK for trunk and 4.4 when the branch re-opens.
2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
* fortran/check.c (gfc_check_cmplx, gfc_check_dcmplx): Add check that
the optional second argument isn't of COMPLEX type.
2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
* gfortran.dg/intrinsic_cmplx.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr40727.diff
Type: text/x-diff
Size: 1615 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090718/c51edf7c/attachment.bin>
More information about the Gcc-patches
mailing list