This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, 4.5 Regression] PR 40995: Spurious "Type specified for intrinsic function...ignored" message
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: Janus Weil <janus at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 13 Aug 2009 11:33:25 +0200
- Subject: Re: [Patch, Fortran, 4.5 Regression] PR 40995: Spurious "Type specified for intrinsic function...ignored" message
Janus Weil wrote in
http://gcc.gnu.org/ml/fortran/2009-08/msg00074.html
> this patch fixes a 4.5 regression related to intrinsics. It basically
> moves some code around, making sure that everything is done in the
> right order and that resolve_intrinsic is only executed once for each
> intrinsic symbol.
>
> Regression-tested on x86_64-unknown-linux-gnu. Ok for trunk?
OK. Thanks for the patch.
Tobias
> 2009-08-07 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/40995
> * resolve.c (resolve_symbol): Move some checking code to
> resolve_intrinsic, and call this from here.
> (resolve_intrinsic): Some checking code moved here from resolve_symbol.
> Make sure each intrinsic is only resolved once.
>
> 2009-08-07 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/40995
> * gfortran.dg/intrinsic_4.f90: New.
> * gfortran.dg/intrinsic_subroutine.f90: An error message moved to a
> different line.