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] | |
Hi all, here is an OOP patch by Paul, which I am taking up and posting here because a) it is simple b) it has been lying around for a while c) it fixes two bugs (both of which have been reported by real-world users. In fact they are duplicates.) d) Paul seems to have little time for gfortran lately :( e) I simply want to get this baby in finally :) [Btw, the original test case in PR 42051 still does not work, but this is apparently due to some other bug, possibly related or equal to PR 44064.] The patch has been regtested on x86_64-unknown-linux-gnu. Ok for trunk? Actually, since it's Paul's patch, I guess I could just approve it myself (I do indeed think it's fine). Therefore I'll just commit it tomorrow on behalf of Paul if no one objects by then. Cheers, Janus 2010-06-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/42051 PR fortran/43896 * trans-expr.c (gfc_conv_derived_to_class): Handle array-valued functions with CLASS formal arguments. 2010-06-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/42051 PR fortran/43896 * gfortran.dg/class_23.f03: New test.
Attachment:
pr42051.diff
Description: Binary data
Attachment:
class_23.f03
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |