From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 07EC6386F457; Thu, 2 Jul 2020 21:35:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07EC6386F457 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593725713; bh=7APhOvJdYun+eG3X7J9J7glmg7Ie6Cl2gDNO4V0/7Iw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IiBRPUCXAUhyslBwHaZk/IWSXy2GpioZ0L/UENjeCPJoFQOIuSoGSQ2IPB9J8+i8/ zwyZWbSFF+6mIHs5PFlyHmy8wnbTLpXw0qx8/2oBvd6qwOUt3CBUPX40h+P1cIqjJ1 jMwCF6iKHawAx8o6kInqjC0PkRsFAyahS3y31wU8= From: "slyfox at inbox dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96015] [10/11 Regression] gcc-10.1.0 miscompiles Python on hppa Date: Thu, 02 Jul 2020 21:35:12 +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.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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: Thu, 02 Jul 2020 21:35:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96015 --- Comment #24 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #23) > cvise managed to shrink example down to the following: For completeness assembly output difference is very clear now: $ hppa2.0-unknown-linux-gnu-gcc -O2 -S ../bug_test.c -o bug.S a: bv %r0(%r2) ldi 0,%r28 $ hppa2.0-unknown-linux-gnu-gcc -O2 -S ../bug_test.c -o bug.S -fno-delayed-branch a: comclr,<> %r26,%r25,%r0 b,n .L11 nop .L4: .L12: ldil L'.L6,%r28 ldo R'.L6(%r28),%r28 ldwx,s %r24(%r28),%r28 bv,n %r0(%r28) .section .rodata .align 4 .L6: .begin_brtab .word .L8 .word .L5 .word .L4 .word .L5 .word .L4 .word .L5 .end_brtab .text .L5: ldi 10,%r28 bv,n %r0(%r2) .L11: ldi 0,%r28 bv,n %r0(%r2) .L8: ldi 1,%r28 bv,n %r0(%r2)=