From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55AAD3852A77; Wed, 14 Dec 2022 19:38:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55AAD3852A77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671046714; bh=KjXkPZ6c33eiWaea7In05zclTDyDuyG679wKoihLNgM=; h=From:To:Subject:Date:From; b=DwU2wTPpHPpdEJVZBxT9mEGCPrOOaiDx0bztDyKXfzYjFLnqWWX5cnhf2q9d5pJBb p9lLDJX/pLZO3OtC50k1QXoTZYpPzhTppt0yQVCtgRxKNIVDgJvbELXpc/H24Zdi7X rxPOUF5AHB4CcfI5bmHOHuE+sp+EEgOLjcvTus0A= From: "Douglas.Deslauriers at vector dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108112] New: ICE on explicit instantiation of template member operator delete Date: Wed, 14 Dec 2022 19:38:33 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Douglas.Deslauriers at vector 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=3D108112 Bug ID: 108112 Summary: ICE on explicit instantiation of template member operator delete Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Douglas.Deslauriers at vector dot com Target Milestone: --- Created attachment 54094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54094&action=3Dedit Preprocessed Input $ g++ -freport-bug compiler_crash.cpp=20 compiler_crash.cpp:5:62: internal compiler error: in coerce_delete_type, at cp/decl2.cc:1979 5 | template void C::operator delete(void* ptr, float user); | ^ 0x1b286a6 internal_error(char const*, ...) ???:0 0x6ccc1e fancy_abort(char const*, int, char const*) ???:0 0x7434da grok_op_properties(tree_node*, bool) ???:0 0x74b5df grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) ???:0 0x823ad9 c_parse_file() ???:0 0x90de9d c_common_parse_file() ???:0 $ g++ -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/gnu/store/shhxkiy9qr695h8k64g9m6a03msaw2yk-gcc-12.2.= 0/libexec/gcc/x86_64-unknown-linux-gnu/12.2.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with:=20 Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.2.0 (GCC)=