From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F7E8385801F; Tue, 18 Jan 2022 11:56:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F7E8385801F From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104084] [12 regression] Internal compiler error: tree check: expected target_expr, have compound_expr in build_new_1 since r12-6375-g6cd51207f5732b52 Date: Tue, 18 Jan 2022 11:56:59 +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: 12.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority short_desc keywords 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 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, 18 Jan 2022 11:56:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104084 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Summary|[12 regression] Internal |[12 regression] Internal |compiler error: tree check: |compiler error: tree check: |expected target_expr, have |expected target_expr, have |compound_expr in |compound_expr in |build_new_1 |build_new_1 since | |r12-6375-g6cd51207f5732b52 Keywords|needs-bisection, |rejects-valid |needs-reduction | CC| |jason at gcc dot gnu.org --- Comment #6 from Martin Li=C5=A1ka --- Started with r12-6375-g6cd51207f5732b52. Reduced test-case: $ cat pr104084.C int nothrow; struct MaxAlignedAllocable { void *operator new[](unsigned long, int); void operator delete[](void *); long Resize_size; void Resize() { new (nothrow) MaxAlignedAllocable[Resize_size]; } };=