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


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