From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 44FAA38582A8; Tue, 13 Feb 2024 14:17:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44FAA38582A8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707833877; bh=CMRlbOG0AhJ4lthIUrJbkcS+imuP/dXsC3faVfGv5Zs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Xb1303qFypNWeyfO/UvQUgrA9gklexqp9x9HSDyfrEY13BPgiFkeZScQRbtO923xu IcAZarJ9t/zJRUBkKk5y67aWCrKUH9qydiW4MhfrZPWKLhbr6J7WsH0f/juI+EKTYm 1aZIy1JomcGXrOA8jNRn2G8jw2ZPNq9HL5bmIzfU= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113907] [14 regression] ICU miscompiled since on x86 since r14-5109-ga291237b628f41 Date: Tue, 13 Feb 2024 14:17:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D113907 --- Comment #4 from Sam James --- Created attachment 57409 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57409&action=3Dedit udataswp.ii.xz It goes wrong in common/udataswp.cpp's uprv_copyArray16 and uprv_copyArray6= 4. (Seemingly both of them need to be pragma'd but I'll check again later as i= t's a bit weird.) The first differing pass is 262r.expand. ``` [...] -(insn # # # (set (reg:CC 17 flags) - (compare:CC (reg:SI 133) - (const_int 8 [0x8]))) "udataswp.cpp":173:9# - (nil)) - -(jump_insn # # # (set (pc) - (if_then_else (ltu (reg:CC 17 flags) - (const_int 0 [0])) - (label_ref #) - (pc))) "udataswp.cpp":173:9# - (int_list:REG_BR_PROB 644245100 (nil))) [...] @@ -6876,15 +6862,11 @@ Merged 2 and 3 without moving. Edge 7->9 redirected to 10 Forwarding edge 8->9 to 10 failed. Deleted label in block 9. -Redirecting jump 51 from 24 to 25. -Edge 19->21 redirected to 22 -Merging block 21 into block 20... -Merged blocks 20 and 21. -Merged 20 and 21 without moving. -Merging block 24 into block 23... -Merged blocks 23 and 24. -Merged 23 and 24 without moving. -Removing jump 128. +Redirecting jump 51 from 22 to 23. +Merging block 22 into block 21... +Merged blocks 21 and 22. +Merged 21 and 22 without moving. +Removing jump 123. [...] ```=