From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1F5B63847718; Wed, 3 Apr 2024 11:28:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F5B63847718 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712143708; bh=xwAOy53/L8TeRtHd4rET1ZdCXI3WSBYZKjyS2jyfaXw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pyhtu9AQEKmhKqHmvty3k33e5tPztpqrolc0gD/9Xn8ZSu29rF9ug+pLOx70Yzs4h YMjN3iXGPCguWHlTquCDD3pkp5h0E5esVU62NOMOfqhvodzENhpxLDNdwvsd3psrhW IyGepc1fViWABAr5W9svhq6k99oOrZHXREoXUTXE= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114572] [OpenMP] "internal compiler error: in assign_temp" with assignment operator and lastprivate clause Date: Wed, 03 Apr 2024 11:28:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: cc 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114572 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Guess nobody expected copy assignment operator to return something that wou= ld need to be destructed in the lastprivate clause handling. Normally copy assignment operators return reference, not the object being modified by value.=