From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6C353858414; Thu, 18 Jan 2024 13:26:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6C353858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705584370; bh=dJgUHv5npG5WamfIAJ+pyulHfDWg2dNb8j1W+N4dwXs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gfcnw4u0FTzHaF9EqwICL3ZsckAPaVKsnUDm/4ZdSh07WBe6Xr+TAcDCzhijUbqLl gDEjOlyS4SnFF0t+611x++X0TkeZDaSuxYzpRy3XdIY3YyglQrq4//gIBpQRydYGYq gtc9R28CoPO30YrMRh/m7DYOW9+Be2XkP5kcLW5o= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110422] asm goto vs SRA Date: Thu, 18 Jan 2024 13:26:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D110422 --- Comment #4 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:6764043e88a4208f7c69bf0ccd19ddc7a6016fb1 commit r14-8230-g6764043e88a4208f7c69bf0ccd19ddc7a6016fb1 Author: Martin Jambor Date: Thu Jan 18 14:24:15 2024 +0100 sra: Disqualify bases of operands of asm gotos PR 110422 shows that SRA can ICE assuming there is a single edge outgoing from a block terminated with an asm goto. We need that for BB-terminating statements so that any adjustments they make to the aggregates can be copied over to their replacements. Because we can't have that after ASM gotos, we need to punt. gcc/ChangeLog: 2024-01-17 Martin Jambor PR tree-optimization/110422 * tree-sra.cc (scan_function): Disqualify bases of operands of = asm gotos. gcc/testsuite/ChangeLog: 2024-01-17 Martin Jambor PR tree-optimization/110422 * gcc.dg/torture/pr110422.c: New test.=