From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3B19C3945054; Mon, 10 Aug 2020 07:29:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B19C3945054 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597044560; bh=SsuQ+nwb6nhgXPilrvp9wYMpOJOZ85ggi2fVa6xV/fU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MFSFmNe0ZHwevXzRkTvW4GNaBmKUmpNQcRSXSYIMWLNK21uCgCmIV3Q0tfU8Kv7lw Dip3QW2nVI2tqvfxM0DMK7vRgoOu2SOrEZP6Dd0upB3xayNJ4RTFvSqRP48pU5XxBO yhfOv/KZeqIe4tLsBIPQYHaDLXIGJLv9ow8Ge8nQ= 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: Mon, 10 Aug 2020 07:29:19 +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: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on everconfirmed bug_status 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: Mon, 10 Aug 2020 07:29:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96482 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-08-10 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #3 from Martin Li=C5=A1ka --- Thank you for the report, I can take a look. Can you please provide steps how to build Mesa with -O3 and -flto? About the addr_to_index function: am I right that unreachable is defined in your configuration as __builtin_unreachable? Can you please replace it with fprintf that prints the value?=