This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR41629: [OOP] gimplification error on valid code
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org, paul dot richard dot thomas at gmail dot com, janus at gcc dot gnu dot org
- Date: Fri, 16 Oct 2009 23:29:22 +0200
- Subject: Re: [Patch, Fortran] PR41629: [OOP] gimplification error on valid code
> Please find attached my attempt(s) to deal with PR's41629, 41587 &
> 41618. ...
>
> I prefer the second version as it is simpler.
With the second version, the said PRs are fixed, pr41608 still gives an ICE, but not
pr41586. Note also that gcc/testsuite/gfortran.dg/select_type_5.f03 fails with:
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/select_type_5.f03:22.24:
select type (aa => b%c)
1
Error: CLASS variable 'aa' at (1) must be dummy, allocatable or pointer
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/select_type_5.f03:33.24:
select type (aa => b%c)
1
Error: CLASS variable 'aa' at (1) must be dummy, allocatable or pointer
It is the only regression I have found.
Thanks for the patch.
Dominique