This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fortran, Patch] PR34398 - Add range check for non-standard BOZ


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

Attachment: boz-range.diff
Description: application/unknown


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]