From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A944D3858D32; Sun, 17 Sep 2023 06:22:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A944D3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694931740; bh=/0WPH14fWyFHtxBIlj31Z1uDuGtpHRPvcbq9jpTY1Wc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ce1vizpA84U1RfyLcb3h+tHswlnubo6EF0b+RJ4BvOCuyYez1HSlrW2tczqcnyW1f +ppH5oRPg/kXRVvKEDEOuLN8AOK93FAx45TRSdYZVqaH9aG5R1ZiszjfY2Yz/QaiK/ RdMhP05IoclgSF1bR7ead/zVts66fDgVZJvwXbNk= From: "gb2985 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/111437] Some always inline functions are incorrectly warn of as "might not be inlinable" Date: Sun, 17 Sep 2023 06:22:20 +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: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gb2985 at gmail dot com 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: --- 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=3D111437 --- Comment #3 from zxuiji --- (In reply to zxuiji from comment #2) > (In reply to Andrew Pinski from comment #1) > > Can you attach the preprocessed source where the warning is and the exa= ct > > command line you are using to invoke gcc? > >=20 > > I suspect the issue is that the function can be overridden due to use of > > -fPIC or something smilar to that. >=20 > Bugzilla wouldn't let me upload it, too big apparently, did it to my goog= le > drive instead: > https://drive.google.com/file/d/16NiT5eWvj_B7QTz5E4zlST6sDCS67HWp/ > view?usp=3Dsharing >=20 > Found the function at line 12375, still the division I expected, would've > been shocked had it been otherwise given it's just division of a allocati= on > size by an element size Whoops, mistyped the line, 12735 sorry=