From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DFE6C385735E; Fri, 6 Oct 2023 16:16:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DFE6C385735E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696608993; bh=Y4XQeLcNKQlGwMziZRnMlbnnc7CnKwOjq1KxJA0zvRc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Z3PTAginWA/S0wrEEF+trCsEejh1sWFJSSzvONW1bwhGmv4RlWycgyBE85PP8tvUZ kMYdB+XxVjXC+ifg9oLizRFbGGhZanf6C8PjUGne4vxV8mgYFVjB7z4m0AvTmELfoz IZutYCe81rJIHXmoWMPgDN9UTdnR6zM7Rq0F1GX8= From: "hkzhang455 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/111672] Inappropriate function splitting during pass_split_functions Date: Fri, 06 Oct 2023 16:16:32 +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: 12.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hkzhang455 at gmail dot com 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: --- 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=3D111672 --- Comment #13 from Hanke Zhang --- (In reply to Andrew Pinski from comment #12) > (In reply to Hanke Zhang from comment #11) > > But I have never seen this '_FORTIFY_SOURCE' before. So I'm a confused = as > > well. And when I try gcc@11.4 built in the default ubuntu 22.04, it's t= he > > same. So I don't know how to describe now. Thanks for your help anyway. >=20 > Well Ubuntu's compiler defaults to defining _FORTIFY_SOURCE while the > upstream GCC does not. Ubuntu's compiler also defaults to building PIE > applications too. Thanks a lot. The _FORTIFY_SOURCE maybe the problem then.=