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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #55356|0                           |1
        is obsolete|                            |

--- Comment #4 from anlauf at gcc dot gnu.org ---
Created attachment 55360
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55360&action=edit
Patch v2, handles most of pr92887 and pr92178

This patch tries to gather temporary handling as needed by pr92887 and pr92178
and implements a simple "conditional temporary" for the case that we cannot
dereference a disassociated pointer or unallocated allocatable (also only
scalar version for now).

There is still the issue for character variables and expression, which I think
is independent of the present pr.

I'll need broader feedback, so unless someone adds to this pr, I'll submit
the present patch - with testcases - to get attention.

Regtests ok here, BTW.

Reply via email to