This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32880] User operator & allocatable TYPE components: wrong deallocate
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2007 19:57:43 -0000
- Subject: [Bug fortran/32880] User operator & allocatable TYPE components: wrong deallocate
- References: <bug-32880-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pault at gcc dot gnu dot org 2007-07-24 19:57 -------
Tobias,
Well done - that's a useful reduction.
I don't think that the deallocate is entirely wrong. However, the the rhs
expression should be assigned to a temporary first, the result deallocating and
the assignement completing.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-07-24 19:57:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32880