From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E38673857028; Wed, 17 May 2023 12:40:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E38673857028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684327233; bh=V45CyWMNrsBdassxT+pwTyJ15iN/li1QSXLwYuVOtPg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LrBoeGa5PmLi9/83vePXRJTauY9h/nxVrKVGEWPC86K8qwQlXncTsy4eqaXfg20Kb +SYwiiOZuW+iIHKAn1TbHn8+Iysk38DRkHqFVofUkxjEtIBQfjC4G+yFiGtBM7mdsl 8tXupU9tzjUPSQC5V8vueQKTa1KIRH/Nn7AfbPLM= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109883] Stack Overflow in functions with types and -std=c++23 Date: Wed, 17 May 2023 12:40:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org 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: --- 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=3D109883 --- Comment #5 from Xi Ruoyao --- 0000000000001203 <_ZSt3powIDF64_DF64_EN9__gnu_cxx11__promote_2IDTplcvNS1_IT_XsrSt12__is_inte= gerIS2_E7__valueEE6__typeELi0EcvNS1_IT0_XsrS3_IS7_E7__valueEE6__typeELi0EEX= srS3_ISB_E7__valueEE6__typeES2_S7_>: 1203: 55 push %rbp 1204: 48 89 e5 mov %rsp,%rbp 1207: 48 83 ec 10 sub $0x10,%rsp 120b: f2 0f 11 45 f8 movsd %xmm0,-0x8(%rbp) 1210: f2 0f 11 4d f0 movsd %xmm1,-0x10(%rbp) 1215: f2 0f 10 45 f0 movsd -0x10(%rbp),%xmm0 121a: 48 8b 45 f8 mov -0x8(%rbp),%rax 121e: 66 0f 28 c8 movapd %xmm0,%xmm1 1222: 66 48 0f 6e c0 movq %rax,%xmm0 1227: e8 d7 ff ff ff call 1203 <_ZSt3powIDF64_DF64_EN9__gnu_cxx11__promote_2IDTplcvNS1_IT_XsrSt12__is_inte= gerIS2_E7__valueEE6__typeELi0EcvNS1_IT0_XsrS3_IS7_E7__valueEE6__typeELi0EEX= srS3_ISB_E7__valueEE6__typeES2_S7_> 122c: 66 48 0f 7e c0 movq %xmm0,%rax 1231: 66 48 0f 6e c0 movq %rax,%xmm0 1236: c9 leave 1237: c3 ret This is just stupid...=