This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 66089, ICE (plus wrong code) in dependency handling
- From: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org,Thomas Koenig <tkoenig at netcologne dot de>,"fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>,gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 08 Mar 2019 08:04:35 +0100
- Subject: Re: [patch, fortran] Fix PR 66089, ICE (plus wrong code) in dependency handling
- References: <8e8f288d-a700-53c4-d1f6-cdea549374d0@netcologne.de>
On 6 March 2019 19:49:59 CET, Thomas Koenig <tkoenig@netcologne.de> wrote:
>Hello world,
>
>the attached patch fixes a 7/8/9 regression where dependency checking
>was for class arrays and a scalar value was mishandled when the
>dependency happened in an elemental function.
>
>There was an ICE for the test case which is handled by
>fixing up the class refs in gfc_walk_variable_expr.
>Once this was gone, a wrong-code issue appeared which was fixed
>by the part in gfc_scalar_elemental_arg_saved_as_reference
>(is that the longest function name in gfortran?).
>
>Regression-tested. OK for all affected branches?
Please change call abort to stop N in the test?
> PR fortran/66089
> * gfortran.dg/dependency_53.f90: New test.