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

--- Comment #12 from anlauf at gcc dot gnu.org ---
Created attachment 59021
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59021&action=edit
Patch

Revisiting this one, I arrived at the attached patch.

This seems to fix the present issues and regtests fine, needing only minor
adjustments to:

gfortran.dg/alloc_comp_class_4.f03 (need to remove a bogus warning)
gfortran.dg/pdt_26.f03             (adjust the count of __builtin_malloc)

Reply via email to