From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EBA733858D37; Tue, 11 Aug 2020 13:53:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBA733858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597153982; bh=vxm6O8sWqssFuDyOX05yhScKpXEP0idDNkER5mghiEk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rosxky1ym7QufPcYAq+KS1D0S4qfXUn737Ja3IfgwqgXPLTmBQh4iM3/lk/kuYzPO 0os47TWphGQmsYjQr07jqz/EbKGQ2YnIiBN8I1z+qvfg55MASbDUwEkp8FqFiOtu3v MEfu5EGJCfZNmKiK+7HoRkufXobCXzWBGxWp8EiQ= From: "paul.luckner@rwth-aachen.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96495] [gfortran] MERGE does not copy ALLOCATABLE property of derived type Date: Tue, 11 Aug 2020 13:53:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paul.luckner@rwth-aachen.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2020 13:53:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96495 paul.luckner@rwth-aachen.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #49042|0 |1 is obsolete| | --- Comment #2 from paul.luckner@rwth-aachen.de --- Created attachment 49044 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49044&action=3Dedit proof of concept code -- version 3 The bug is not specific to binary/unary operators=20 BUT RATHER=20 the combination of an elemental operator where one argument is an array and= the other argument a scalar result of another operator. The current code example (poc version 3) shows the bug using=20 =3D .. (.. ) OR =3D .. ( .. )=