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: "matz 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 17:07:22 +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 #13 from Michael Matz <matz at gcc dot gnu.org> 2010-11-25 17:07:10 UTC ---
> no, your example here is different, and is not allowed. The original
> testcase is fine.
>
> so y=>a%b%c%d%z
>
> is allowed as soon as any of a, b, c, or d or z have the pointer attribute.
> That z is allocatable doesn't matter.
Ugh. That might be terrible. Can you point to some language in the standard
supporting that (I haven't looked myself and am not too fluent in the fortran
standard).