From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5426D3858D33; Wed, 15 Feb 2023 09:15:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5426D3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676452555; bh=B2ZxQ2TxFKAPZGYxeNxnrFfKKbLGG5TKW1gU6rHq4t8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gg4mBjXPWu6RaN6OqHN8+kFZ2HkOqsgXk8Tqq7uN822mJbXC05ThD7MdnriwaUCMe UjRoFaZxWSb8Rey6NfHagURH0Dh0N37m8Ce7/9xsQNFSOu65FCAzOm6pz4yhQQQDjh czf1XIgyMQnimdywHS1DptABX/kocmAMOzTEfILE= From: "yinyuefengyi at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108351] [13 Regression] Dead Code Elimination Regression at -O3 since r13-4240-gfeeb0d68f1c708 Date: Wed, 15 Feb 2023 09:15:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: yinyuefengyi at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D108351 --- Comment #4 from Xionghu Luo (luoxhu at gcc dot gnu.org) --- > early inline pass inlines the two calls with C front-end but fails to inl= ine > them with C++ front-end due to "growth 8 exceeds --param > early-inlining-insns divided by number of calls".=20 >=20 Swap C and C++ here...=