From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2CF57384402F; Fri, 3 Jul 2020 17:24:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CF57384402F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593797047; bh=c0XVdSGJovLtHp23wdsSgQJJgdupIuKAGMUgJGXTQ8s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gjl9I2Mk6t8EPRlcQvLJlARcw0sNNnpH7H45+rQDjwx/8iJkZ+t2d/ZLwaJX281QB 3eBq/aneR/hqP5MgLHnAo5/4Gc0X8M1duUNE9wknP9JRbHeG9nX0RFHC45p3AuNMWs zWi1/tkZIi2HNr1+z3UCoLt47dp8JBL5EOfnfshQ= From: "slyfox at inbox dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/96015] [10/11 Regression] gcc-10.1.0 miscompiles Python on hppa Date: Fri, 03 Jul 2020 17:24:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 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: Fri, 03 Jul 2020 17:24:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96015 --- Comment #31 from Sergei Trofimovich --- (In reply to Martin Li=C5=A1ka from comment #28) > > Bisected down to: > >=20 > > $ git bisect good > > 8c3785c43d490d4f234e21c9dee6bb1bb8d1dbdf is the first bad commit > > commit 8c3785c43d490d4f234e21c9dee6bb1bb8d1dbdf > > Author: Martin Liska > > Date: Wed Dec 4 11:13:49 2019 +0100 > >=20 > > Initialize a BB count in switch lowering. > Thank you for the bisection. However, this one is not a culprit commit, it > only made it visible. > Let's wait for can Erik find out. For my own curiosity I applied "Initialize a BB count in switch lowering." = to gcc-9 and found that it's indeed is already broken. I attempted a bisection between gcc-8 and gcc-9 while applying this patch to get the idea where it surfaced. Got arrived at: $ git bisect good 9427422ddacdf1c2914adfb6e8edca87f250fdfc is the first bad commit commit 9427422ddacdf1c2914adfb6e8edca87f250fdfc Author: Jeff Law Date: Wed Apr 3 10:03:37 2019 -0600 re PR rtl-optimization/81025 (gcc ICE while building glibc for MIPS soft-float multi-lib variant) PR rtl-optimization/81025 * reorg.c (skip_consecutive_labels): Do not skip past a BARRIER. From-SVN: r270129 gcc/ChangeLog | 5 +++++ gcc/reorg.c | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommitdiff;h=3D9427422ddacdf1c2914= adfb6e8edca87f250fdfc=