[Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor

adam at aphirst dot karoo.co.uk gcc-bugzilla@gcc.gnu.org
Wed Nov 12 13:09:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298

--- Comment #5 from Adam Hirst <adam at aphirst dot karoo.co.uk> ---
I decided to check on the status of this bug in 4.9.2, as it's been a little
while, and the segmentation fault still occurs.

Interestingly, the test case that Janus posted on 2013-01-03 can be made to
compile and seemingly run correctly if the line
f = (planes(1)%M)
is replaced with
f = planes(1)%M

. and this also holds true for the test case I uploaded on 2013-11-26.

Perhaps this fact is of some interest, or might provide some insight into what
the underlying issue might be?



More information about the Gcc-bugs mailing list