ICE on valid with allocatable class component
Janus Weil
janus@gcc.gnu.org
Mon Aug 29 09:12:00 GMT 2011
>> 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?
Btw, I have reduced the test case slightly (see attachment).
Cheers,
Janus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: module.f90
Type: text/x-fortran
Size: 355 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110829/0e1dbeff/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: program.f90
Type: text/x-fortran
Size: 94 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110829/0e1dbeff/attachment-0001.bin>
More information about the Fortran
mailing list