This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68224] ICE on referencing parameter array with dimension null
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Nov 2015 15:52:22 +0000
- Subject: [Bug fortran/68224] ICE on referencing parameter array with dimension null
- Auto-submitted: auto-generated
- References: <bug-68224-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68224
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #3 from kargl at gcc dot gnu.org ---
It appears that this needs to be fixed in match_array_element_spec.
When the lower and upper array indices are matched, there is no
checking for NULL(). NULL() is an interesting intrinsic function.