From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D0C23858D20; Wed, 21 Feb 2024 07:38:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D0C23858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708501110; bh=v2p5KpApKDdm1rB6MGOamjH6Pi7ERub+ozBgw62DqAU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=I7zfcrL3avES51uIYgd3ghnr6goJm5Phmn0KT3JmBAkE6MHEl3Si1phwfBMvig+j4 pOtNxZ30BAjA531nmA29VoGmualDhBp3Y97KB3OaNFf0Xwgt2aPwN5JjSzlkvJMg64 FxFLJdr8DFB01hY9RzIA5mra4cSqQsWXbtIInN5Q= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100799] Stackoverflow in optimized code on PPC Date: Wed, 21 Feb 2024 07:38:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jskumari at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D100799 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #23 from Jakub Jelinek --- Note, given that in PR90329 a workaround has been introduced for such buggy cases (that time to disallow functions with the DECL_HIDDEN_STRING_LENGTH arguments from making certain tail-calls and call them normally instead), if the PowerPC backend maintainers wanted, there could be a similar workaround= on the rs6000 backend side, in the decisions whether the callee can use the parameter save area or not ignore counting DECL_HIDDEN_STRING_LENGTH PARM_DECLs, so if e.g. 9 arguments are passed but one of them is DECL_HIDDEN_STRING_LENGTH, assume parameter s= ave area is not there.=