[Patch, Fortran, OOP] PR 50227: [4.7 Regression] ICE-on-valid with allocatable class variable
Janus Weil
janus@gcc.gnu.org
Thu Sep 1 20:47:00 GMT 2011
Hi all,
here is a small patch fixing a recent OOP regression. It feels a bit
like it's only fixing the effect instead of the cause (since I haven't
really found the cause). But anyway, it does fix the ICE and it is
obvious enough so that I'll commit it by Sunday if no one protests in
the meantime.
Regtested on x86_64-unknown-linux-gnu.
Cheers,
Janus
2011-09-01 Janus Weil <janus@gcc.gnu.org>
PR fortran/50227
* trans-types.c (gfc_sym_type): Check for proc_name.
2011-09-01 Janus Weil <janus@gcc.gnu.org>
PR fortran/50227
* gfortran.dg/class_45a.f03: New.
* gfortran.dg/class_45b.f03: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr50227.diff
Type: text/x-diff
Size: 620 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110901/ba44ed0b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class_45a.f03
Type: application/octet-stream
Size: 513 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110901/ba44ed0b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class_45b.f03
Type: application/octet-stream
Size: 336 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110901/ba44ed0b/attachment-0001.obj>
More information about the Gcc-patches
mailing list