This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45244] Incorrect passing of character string array argument triggers an internal compiler error
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2010 20:42:59 -0000
- Subject: [Bug fortran/45244] Incorrect passing of character string array argument triggers an internal compiler error
- References: <bug-45244-19543@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from mikael at gcc dot gnu dot org 2010-08-10 20:42 -------
(In reply to comment #3)
> Might as well confirm the bug.
>
> This patch stops the segmentation fault, but I do not know
> if it is the correct fix.
>
I think the correct fix here is to take the array spec (and maybe the pointer
attribute as well) from the derived type component instead of the symbol.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45244