[patch, libgfortran] Bounds checking in date_and_time.c
Jerry DeLisle
jvdelisle@verizon.net
Fri Jun 4 01:48:00 GMT 2010
On 06/03/2010 02:45 PM, Thomas Koenig wrote:
> Hello world,
>
> this rather simple patch is the last installment of PR 34670, bounds
> checking for array intrinsics. With this out of the way, we can finally
> close this PR.
>
> I didn't make the check dependent on compile_options.bounds_checking
> because I didn't see an advantage in checking an additional condition.
> Also, the pre-existing behavior means that we don't really break any
> existing programs, we just make a cryptic error message a bit easier
> to read. Finally, I didn't add a test case, because I don't think such
> a trivial thing is worth the added running time. I am, however, willing
> to be corrected on the last issue.
>
> Regression-tested on x86_64-unknown-linux-gnu. OK for trunk?
>
This is OK, thanks for patch
Jerry
More information about the Fortran
mailing list