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] PR 38487 Spurious warning: "Actual argument might interfere..."


Hello Mikael,

Mikael Morin wrote:
> this disables the warning I added for PR 35681 in the pointer case as
> there may be too many false positive.
>
> No regression on x86_64-unknown-linux-gnu. Ok for trunk?
>   
I wonder whether one might get for e->expr_type != EXPR_VARIABLE a
spurious warning, but I don't think so.

Thus: OK and thanks for the patch.

Tobias

> 2008-12-15  Mikael Morin  <mikael.morin@tele2.fr>
>
> 	PR fortran/38487
> 	* gfortran.dg/elemental_dependency_2.f90: New test.
>
> 2008-12-15  Mikael Morin  <mikael.morin@tele2.fr>
>
> 	PR fortran/38487
> 	* dependency.c (gfc_is_data_pointer): New function.
> 	(gfc_check_argument_var_dependency): Disable the warning
> 	in the pointer case.
> 	(gfc_check_dependency): Use gfc_is_data_pointer.
>   


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