From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6C12B3857739; Fri, 22 Dec 2023 00:23:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C12B3857739 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703204626; bh=4yT9YbPydL1LwAVcWQv4KAxa+tyPt3Jn3mUKWMYVMVM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=s2YMqF9kGANNryQuhau8C+5ZwJCFCU/Ovtth+rHhzgEKZEuEvyaFiZaayGVpEo/Dw k6Rg+iPqVf6uKRQEnRGyHtKbXaIkQS1Yu1pSdJItHC6lZDA7UPyAbq330rnsKFy2bD AUKTPvL0m0TU0SQwAg7Pg4qj4dM5IOyyWUp+NLWk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95298] [11/12/13/14 Regression] sorry, unimplemented: mangling record_type Date: Fri, 22 Dec 2023 00:23:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: ABI, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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=3D95298 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d26f589e61a178e898d8b247042b487287ffe121 commit r14-6797-gd26f589e61a178e898d8b247042b487287ffe121 Author: Jason Merrill Date: Sat Nov 18 14:35:22 2023 -0500 c++: sizeof... mangling with alias template [PR95298] We were getting sizeof... mangling wrong when the argument after substitution was a pack expansion that is not a simple T..., such as list... in variadic-mangle4.C or (A+1)... in variadic-mangle5.C. In= the former case we ICEd; in the latter case we wrongly mangled it as sZ . PR c++/95298 gcc/cp/ChangeLog: * mangle.cc (write_expression): Handle v18 sizeof... bug. * pt.cc (tsubst_pack_expansion): Keep TREE_VEC for sizeof... (tsubst_expr): Don't strip TREE_VEC here. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/variadic-mangle2.C: Add non-member. * g++.dg/cpp0x/variadic-mangle4.C: New test. * g++.dg/cpp0x/variadic-mangle5.C: New test. * g++.dg/cpp0x/variadic-mangle5a.C: New test.=