[Bug fortran/68864] [6 Regression] ICE: in gfc_get_descriptor_dimension, at fortran/trans-array.c:268
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 12 19:43:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68864
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 37010
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37010&action=edit
Fix for the PR
The attached fixes the problem and bootstraps and regtests OK on FC21/x86_64.
Before committing, I want to understand better why the problem is occurring. It
is associated with the finalization routines but I cannot see why at the
moment.
That said, it is obvious that an ARRAY_TYPE should not be sent to any of the
functions that handle descriptors and that this fix cannot do any harm.
Cheers
Paul
PS this makes a nice change from PR54070, where I have a fix for all the
testcase but which fails at any level of optimization :-)
More information about the Gcc-bugs
mailing list