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 57306: ICE on valid with class pointer initialization


>> The attached new version should do the right thing now. At least it
>> shows the correct dump for the original test case as well as yours. It
>> is currently being regtested.
>
> unfortunately it shows a couple of runtime problems with type-bound operators:
>
> FAIL: gfortran.dg/class_defined_operator_1.f03  -O0  execution test
> FAIL: gfortran.dg/typebound_operator_13.f03  -O0  execution test
> FAIL: gfortran.dg/typebound_operator_7.f03  -O0  execution test
> FAIL: gfortran.dg/typebound_operator_8.f03  -O0  execution test
> FAIL: gfortran.dg/typebound_operator_9.f03  -O0  execution test

The attached update fixes it, and thus should hopefully be
regression-free. It also renames 'gfc_class_null_initializer' to
'gfc_class_initializer', since it now also does other initializations
beside EXPR_NULL.

Will do another regtest to make sure it's clean. Ok for trunk if it passes?

Cheers,
Janus

Attachment: pr57306_v4.diff
Description: Binary data


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