From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E2513858000; Tue, 13 Feb 2024 15:46:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E2513858000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707839198; bh=3DgHH7ukX7+pTK1N66Tne8hd0fh7xVtQQHWr/cPM9/A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cevOzgNXW7UEsC9GK6wOjPhYVNRr+Csbl9RQhngQ6duZqSfYEFq7qE6p7JjPzBKvp vMdwUau2ItWeGPlTQSsyTS94M9NYODJAa2sU8KvTBgtAdiwqozXyMKyvHbyctvB1iH XkUw+DDI3Kd1qRzW5qIQac0tnLvSFhJp15KqC+tw= From: "jakub 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 15:46:37 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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 #19 from Jakub Jelinek --- Diffing the -fdump-{tree,ipa}-all-alias dumps from r14-5108 and r14-5109, 085i.fnsummary still looks good (the 2/4/8 in the ranges corresponds to whe= ther it is in 16/32/64 suffixed/infixed function). But the inline dump already contains presumably bogus @@ -2426,7 +2426,7 @@ int32_t uprv_copyArray16 (const struct U goto ; [67.00%] [local count: 43795362]: - # RANGE [irange] unsigned int [1, 2147483647] MASK 0x7ffffff8 VALUE 0x0 + # RANGE [irange] unsigned int [8, 2147483647] MASK 0x7ffffff8 VALUE 0x0 length.37_21 =3D (unsigned int) length_14(D); # USE =3D anything=20 # CLB =3D anything=20 @@ -2437,7 +2437,7 @@ int32_t uprv_copyArray16 (const struct U _7 =3D _25; [local count: 1073741824]: - # RANGE [irange] int32_t [0, +INF] MASK 0x7fffffff VALUE 0x0 + # RANGE [irange] int32_t [0, 0][2, +INF] MASK 0x7fffffff VALUE 0x0 # _6 =3D PHI <0(4), _7(12)> return _6; and @@ -2660,7 +2660,7 @@ int32_t uprv_copyArray32 (const struct U goto ; [67.00%] [local count: 43795362]: - # RANGE [irange] unsigned int [1, 2147483647] MASK 0x7ffffff8 VALUE 0x0 + # RANGE [irange] unsigned int [8, 2147483647] MASK 0x7ffffff8 VALUE 0x0 length.37_21 =3D (unsigned int) length_14(D); # USE =3D anything=20 # CLB =3D anything=20 @@ -2671,7 +2671,7 @@ int32_t uprv_copyArray32 (const struct U _7 =3D _25; [local count: 1073741824]: - # RANGE [irange] int32_t [0, +INF] MASK 0x7fffffff VALUE 0x0 + # RANGE [irange] int32_t [0, 0][4, +INF] MASK 0x7fffffff VALUE 0x0 # _6 =3D PHI <0(4), _7(12)> return _6; hunks, the return in those cases looks still right, but the length before memcpy looks wrong.=