From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C16503858C5E; Fri, 29 Dec 2023 13:12:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C16503858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703855544; bh=eba37PxP8fxGBlDra4QE6YKqxNuGA/apJnO0xQ2fC04=; h=From:To:Subject:Date:From; b=a+b3n1z9lE8f8y4fi4u5hjeXFoH8kP1ylr6S2wNBXFLkwXhpzf3ifEvmhoy6pGTRN bsKUYHiphGI6HMQmzx49S1QaCcBk3BUfsQr7D8cMerRTVs/GjySK1SRJZfarw+cFL2 hsanlRbMt0SEfj6byXXyB2HwyR2K3AjD2lOg5ebo= From: "iamkirkezz at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113170] New: ICE: Segfault (template template parameter, alias template, default value) Date: Fri, 29 Dec 2023 13:12:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iamkirkezz at gmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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=3D113170 Bug ID: 113170 Summary: ICE: Segfault (template template parameter, alias template, default value) Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: iamkirkezz at gmail dot com Target Milestone: --- Created attachment 56964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56964&action=3Dedit g++ main.cpp -v output | gcc version: 13.2.1 20230801 | system type: x86_64-pc-linux-gnu | gcc options: """ /build/gcc/src/gcc/configure --enable-languages=3Dada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-boots= trap --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr= /share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --with-build-config=3Dbootstrap-lto --with-linker-hash-style=3Dgnu --with-system-zlib --enable-__cxa_atexit --enable-cet=3Dauto --enable-checking=3Drelease --enable-clocale=3Dgnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-obj= ect --enable-libstdcxx-backtrace --enable-link-serialization=3D1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=3Dposix --disable-libssp --disable-libstdc= xx-pch --disable-werror """ | the complete command line: g++ main.cpp | gcc output (for the full `g++ -v` output, see the attachment): """ g++: internal compiler error: Segmentation fault signal terminated program cc1plus """ | source file (https://godbolt.org/z/cKTGrn1sP): """ template typename TT> struct S; template typename TT =3D S> struct SSS {}; template typename TT =3D SSS> struct S {}; template typename TT =3D S, typename T =3D int> using SS =3D S; int main() { SS ss; } """=