From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6161E385829E; Fri, 16 Feb 2024 15:10:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6161E385829E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708096215; bh=DxKmMtCz28hkXnFTgDoJQmqqgHR4erfIk5A62ICUDEc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BuytCWLhvCp13bj1Hr8r2LWICf61kof6X7L5Kiza5JPPEKNwX2RCIqMvCcFtUKoQ8 UuzhLFBcHzNGhBTbruilu5Zy74YmT7kwTN9wb/Om6eafNKKNVS2RNec41ehRh4Cj4a UBJrpPo/Se4PpMQT7tVTusCYQY/mdmunY8zkB1ps= 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: Fri, 16 Feb 2024 15:10:14 +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: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 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 #40 from Jakub Jelinek --- (In reply to Jan Hubicka from comment #39) > This testcase > #include > int data[100]; >=20 > __attribute__((noinline)) > int bar (int d, unsigned int d2) > { > if (d2 > 10) > printf ("Bingo\n"); > return d + d2; > } So, while d2 should have [17, 27] range when called from test2 and [17, 117] from test, I don't see anything that would limit ranges of data[?], it can be anything (say some global constructor modifying the data array). So bar has to retu= rn VARYING.=