[Patch, fortran] PR42783 - [4.5 Regression] Bogus Array bounds violation with optional array argument
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Jan 19 09:48:00 GMT 2010
Dear Tobias,
Whilst being ill messed up my involvement in the gfortran meeting on
Sunday, a day in bed yesterday did wonders for regression fixing :-)
> OK and thanks for fixing the two regressions; together with your fix for
> PR42736 (pending review) and assuming that PR 42742 is really fixed
> (seems so), there are no remaining regressions :-)
OK, I'll commit the fix for PRs42783 and 42742 tonight and will await
a green light on PR42736.
I do not intend to write a testcase for PR42742 because the fix is so
trivial. Were it to regress, it would do so for reasons that have
nothing to do with this PR.
Thanks for the review
Paul
>
> Tobias
>
>> 2010-01-19 Paul Thomas <pault@gcc.gnu.org>
>>
>> PR fortran/42783
>> * trans-decl.c (add_argument_checking): Do not use the backend
>> decl directly to test for the presence of an optional dummy
>> argument. Use gfc_conv_expr_present, remembering to set the
>> symbol referenced.
>>
>> PR fortran/42772
>> * trans-decl.c (gfc_generate_function_code): Small white space
>> changes. If 'recurcheckvar' is NULL do not try to reset it.
>>
>> 2010-01-19 Paul Thomas <pault@gcc.gnu.org>
>>
>> PR fortran/42783
>> * gfortran.dg/bounds_check_15.f90 : New test.
>>
>
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy
More information about the Fortran
mailing list