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, OOP] PR 47745: Segfault with CLASS(*) and derived type dummy arguments


Hi Dominique,

> The patch works as expected without regression. It even fixed the ICE for pr46328 which
> is replaced by the following (probably wrong) error:
>
> pr46328.f90:22.6:
>
> ?u = (u)*2.
> ? ? ?1
> Error: Operands of binary numeric operator '*' at (1) are CLASS(field)/REAL(4)

well, yeah. The error is incorrect here, but I guess it's no worse
than the ICE we had before ;)

In general such polymorphic operator expressions will probably have to
wait until 4.7. Otherwise all working cases are handled well by the
patch (as the testsuite shows).


> PS. This is not a review;-)

Anyway, thanks for whatever it was :)

Cheers,
Janus


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