This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45244] Incorrect passing of character string array argument triggers an internal compiler error



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]