[Fortran, Patch] PR34398 - Add range check for non-standard BOZ
Tobias Burnus
burnus@net-b.de
Thu Dec 13 17:21:00 GMT 2007
With the new BOZ patch, we lost the range-check when assigning to real
and complex variables in DATA statements and in direct assignments,
which this patches fixes.
Additionally, I saw that the gfc_range_check could return ARITH_OK for
complex variables, if the real part was invalid but the imaginary part
was ok.
Build and regression tested (gfortran + libgomp, -m32 and -m64) on x86-64.
OK for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boz-range.diff
Type: application/unknown
Size: 5556 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071213/123d5ed1/attachment.bin>
More information about the Gcc-patches
mailing list