From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DCF6F384A029; Wed, 15 Apr 2020 21:11:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCF6F384A029 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586985102; bh=JFWrCIHqsZeplH2bD/1ef1sE1IufD+lHj1c+oACWARw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fgM7dYr1Q8o6KHx9CY54QP91KlTKiDoivclcb6e/l42iCWFdsmg6smhW0flwKajJV J8aQAlfAhRMDGh+Ay/oGzsxkKHHzHorAsjeuiWTvxGWa2kgizTyPNiIMDTBYgZ1VRs DTrlngeSy6hUwnci6bRfEoz26xUIonQ0M7cYsfuo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91880] ICE: segfault in hwloop_optimize Date: Wed, 15 Apr 2020 21:11:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: 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: Wed, 15 Apr 2020 21:11:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91880 --- Comment #6 from CVS Commits --- The releases/gcc-8 branch has been updated by Max Filippov : https://gcc.gnu.org/g:87c1bfebcdda50ff8964a07c9963823de43de65a commit r8-10181-g87c1bfebcdda50ff8964a07c9963823de43de65a Author: Max Filippov Date: Thu Sep 26 20:51:27 2019 +0000 xtensa: backport fix for PR target/91880 Xtensa hwloop_optimize segfaults when zero overhead loop is about to be inserted as the first instruction of the function. Insert zero overhead loop instruction into new basic block before the loop when basic block that precedes the loop is empty. 2020-04-15 Max Filippov gcc/ * config/xtensa/xtensa.c (hwloop_optimize): Insert zero overhead loop instruction into new basic block before the loop when basic block that precedes the loop is empty. gcc/testsuite/ * gcc.target/xtensa/pr91880.c: New test case. * gcc.target/xtensa/xtensa.exp: New test suite.=