ICE on valid with allocatable class component

Andrew Benson abenson@its.caltech.edu
Mon Aug 29 16:07:00 GMT 2011


On Monday, August 29, 2011, Janus Weil wrote:
> >> The attached code causes an ICE with gfortran 4.7 r178129 - I haven't
> >> found
> >> anything which is obviously this problem reported in bugzilla. Note that
> >> if I
> >> combine the code in the two files into a single file (as in the attached
> >> combined.F90), and compile that it works without any problem.
> > 
> > That's a regression: I do not get a segfault with GCC 4.6.1 20110801
> > (Rev. 177033).
> 
> Right. I will have a look at it. Andrew, can you submit a PR, please?

OK - it's submitted as PR 50227

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

I'll post your reduced test case their also, plus the other comments.

-Andrew.

-- 

* Andrew Benson: http://www.tapir.caltech.edu/~abenson/contact.html

* Galacticus: http://sites.google.com/site/galacticusmodel



More information about the Fortran mailing list