From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A9223861015; Tue, 11 Aug 2020 07:08:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A9223861015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597129723; bh=+cMVzrw3nABxiv7jSHZC7b3lvFbPsNJAGzUYrvTjbgM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SANYTuC8u0YaL8Qba1JNuiKyR+e3S15e8gKT45vmA0jPPy70a2LFbZC7d4+JEKsI5 n9WbtUfnzEw3+f8/Pr1MiVKwXlqJphIJJPOCChU9xGtM1kUW9zO763KIU5DEI0DM2t nDmeV3t0lzWo0Y/vH8UoOTNsO1ynPrn1Y/eGZiE0= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/96482] [10/11 Regression] Combination of -finline-small-functions and ipa-cp optimisations causes incorrect values being passed to a function since r279523 Date: Tue, 11 Aug 2020 07:08:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 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: Tue, 11 Aug 2020 07:08:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96482 --- Comment #8 from Martin Li=C5=A1ka --- Using the current master, -fdbg-cnt=3Dipa_cp_bits:10461 is first bad debug counter value where (for ./src/gallium/targets/dri/libgallium_dri.so.wpa.076i.cp): diff -u /tmp/good.txt /tmp/bad.txt --- /tmp/good.txt 2020-08-10 23:29:57.234088465 +0200 +++ /tmp/bad.txt 2020-08-10 23:29:08.770350453 +0200 @@ -1414132,9 +1414132,10 @@ param 2: value =3D 0x0, mask =3D 0xffffffff Propagated bits info for function nir_build_alu/631438: param 1: value =3D 0x110, mask =3D 0x1ff -***dbgcnt: upper limit 10460 reached for ipa_cp_bits.*** Propagated bits info for function addr_to_offset/632014: param 0: value =3D 0x0, mask =3D 0xfffffffffffffff8 +***dbgcnt: upper limit 10461 reached for ipa_cp_bits.*** + param 2: value =3D 0x5, mask =3D 0x6 Not considering _mesa_create_marshal_table/305172 for ipa bitwise propagat= ion ; -fipa-bit-cp: disabled. Not considering pipe_reference_described.constprop/1065632 for VR discovery and propagate; -fipa-ipa-vrp: disabled. Not considering pipe_resource_reference.constprop/1065631 for VR discovery= and propagate; -fipa-ipa-vrp: disabled.=