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] |
Dear All, This patch has something of a band aid flavour about it. However, the more I look at it the more I like it and it cannot do any harm. In any case, I spent a silly amount of time trying to understand why this component fails to get its backend_decl in the usual way and failed. That it is specific to unlimited polymorphic components and only appears when 'bug' precedes 'next' were, in principle, giveaways that didn't do it for me. Bootstraps and regtests on x86_64/FC21 - OK for trunk and 4.9? Paul 2015-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/65024 * trans-expr.c (gfc_conv_component_ref): If the component backend declaration is missing and the derived type symbol is available in the reference, call gfc_build_derived_type. 2015-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/65024 * gfortran.dg/unlimited_polymorphic_23.f90: New test
Attachment:
submit.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |