This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [Patch, fortran] PR42783 - [4.5 Regression] Bogus Array bounds violation with optional array argument


On 01/19/2010 06:54 AM, Paul Richard Thomas wrote:
> I am not sure whether or not I have fixed PR42772 but I have certainly
> prevented the trivial problem.  Perhaps Manfred could let us know,
> please?
>   

Looking at your comment in the PR, it seemingly fixed that test case as
well.

> Bootstrapped and regtested FC9/x86_64 - OK for trunk?
>   

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 :-)

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.
>   


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