[Patch, Fortran] PR 42051,43896: [OOP] ICE in gfc_conv_variable, at fortran/trans-expr.c:551
Janus Weil
janus@gcc.gnu.org
Fri Jun 11 07:17:00 GMT 2010
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr42051.diff
Type: application/octet-stream
Size: 659 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100611/e97d5888/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class_23.f03
Type: application/octet-stream
Size: 470 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100611/e97d5888/attachment-0001.obj>
More information about the Gcc-patches
mailing list