http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45586
--- Comment #69 from Mikael Morin <mikael at gcc dot gnu.org> 2012-07-28 09:46:00 UTC --- (In reply to comment #63) > With a (seemingly) unrelated patch (attached to PR52097) I'm back on ICEing > for the gfortran.dg/lto/pr45586*.f90 testcases ... > > Even before the adjusted type merging we have (at compile-time) > [...] > > _BUT_(!) its main-variant is > [...] > > thus has a restrict-qualified data field. That's bogus as TYPE_FIELDS > is supposed to be shared amongst variant types. So, is this a fortran front-end bug, a middle-end bug, or a lto bug ? (Hint: PR 51765 is a marked as a lto bug ;-) )