This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45586] [4.6 Regression] ICE non-trivial conversion at assignment
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Nov 2010 16:50:56 +0000
- Subject: [Bug fortran/45586] [4.6 Regression] ICE non-trivial conversion at assignment
- Auto-submitted: auto-generated
- References: <bug-45586-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45586
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-25 16:50:50 UTC ---
Thus, isn't what the program does equivalent to
REAL(dp), DIMENSION(:, :, :), ALLOCATABLE :: z
REAL(dp), DIMENSION(:, :, :), POINTER :: y
y=>z
which is invalid? Valid would only be
REAL(dp), DIMENSION(:, :, :), ALLOCATABLE, TARGET :: z
REAL(dp), DIMENSION(:, :, :), POINTER :: y
y=>z
?