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/67564] Segfault on sourced allocattion statement with class(*) arrays


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67564

--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 37531
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37531&action=edit
Fix for 5-branch

5-branch requires a slightly different fix. For some reason, the argument to
copy is not being given the unlimited polymorphic attribute. Even the symbol
doesn't have it. Logically, the only way that a character can be copied to a
class object is that it is unlimited polymorphic and so the requirement is
ignored in this case.

My inclination is to commit this patch to 5-branch since it regtests OK and is
minimalist.

Cheers

Paul

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