From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E5FA33858CDB; Thu, 5 Oct 2023 00:03:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E5FA33858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696464210; bh=nQbiOENJGDDECya8A0pJzGYYbztk1vrR/j8jnrN0E1c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LmveLM1NYnsNaGYbnCaAeP+Ldpme/V8XMzMJF3T/QeNLLgiewg40j9HkOBt1g1LRW XZBl+TzrI2N3vBwFoxZLz+gIk1zeW3r3A+ARhaOecuRzbb7K9WG6pwiK2sJRZodDpv u3sZccBNMNaFLKNUtmew89anJKCYC1nrDvV9q51w= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/111672] Inappropriate function splitting during pass_split_functions Date: Thu, 05 Oct 2023 00:03:30 +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: pinskia at gcc dot gnu.org 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 #10 from Andrew Pinski --- The difference between the 2 is the costing of the __printf_chk/puts: _FORTIFY_SOURCE case: freq:0.20 size: 3 time:2.43 __printf_chk (1, "Object code generation not active! Forgot to call quantum_objcode_start?\n"); vs without: freq:0.20 size: 2 time:2.23 puts (&"Object code generation not active! Forgot to call quantum_objcode_start?"[0]);=