This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type
- 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: Mon, 19 Oct 2015 18:42:53 +0000
- Subject: [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type
- Auto-submitted: auto-generated
- References: <bug-68019-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68019
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-19
CC| |kargl at gcc dot gnu.org
Ever confirmed|0 |1
Known to fail| |4.8.5, 4.9.4, 5.2.1, 6.0
--- Comment #1 from kargl at gcc dot gnu.org ---
An assert() is being triggered. If I comment out the
assert(), I get
% gfc6 -c g9.f90
g9.f90:7:31:
type(t), parameter :: arr(*) = reshape(vec, [2, 2])
1
Error: Incompatible ranks 1 and 2 in assignment at (1)