From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11210 invoked by alias); 24 Jul 2007 19:57:52 -0000 Received: (qmail 11188 invoked by uid 48); 24 Jul 2007 19:57:43 -0000 Date: Tue, 24 Jul 2007 19:57:00 -0000 Message-ID: <20070724195743.11187.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/32880] User operator & allocatable TYPE components: wrong deallocate In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02514.txt.bz2 ------- 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