[Bug middle-end/50640] [4.7 Regression] FAIL: gfortran.dg/select_type_12.f03 -O (internal compiler error)

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 6 19:43:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50640

--- Comment #16 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-06 19:42:22 UTC ---
Created attachment 25730
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25730
Possible patch which pushes the vtab to the toplevel

Based on Michael's suggestion (comment 4), this patch pushes the vtable to the
top level. I am not sure whether one needs to fix other occurrences as well or
whether it regtests, but it fixes select_type_12.f03.
(Additionally, I set TREE_READONLY to fix PR 50960.)



More information about the Gcc-bugs mailing list