From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB44D382B3E5; Wed, 14 Dec 2022 18:39:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB44D382B3E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671043169; bh=rhaQFjsUENe6tTUvXQ6pOiOJhbHIzrX9dlZf5tZ4ruk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xfXJIPsDmnhxRmacgLhnvisVu0QZ/8PP4m75cZ3Bfyy6u6wKV1Du6B4h4F911cbfU mz6dWSoYisxX/9J0M/c4mWImuGJKLgh321l3T0j0dDSNBDaMYymQE1oSaAlvZFfAbR IaS6yuVpSoMh7HXgCsUk3dQJ/IkMCX7e+/yNNGhk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108104] ICE in unify, at cp/pt.c:24333 with template partial specialization and pointer to memeber function and nullptr Date: Wed, 14 Dec 2022 18:39:29 +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: 12.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: keywords short_desc 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=3D108104 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Summary|ICE in unify, at |ICE in unify, at |cp/pt.c:24333 with template |cp/pt.c:24333 with template |partial specialization |partial specialization and | |pointer to memeber function | |and nullptr --- Comment #1 from Andrew Pinski --- Reduced testcase: ``` struct ss { void h(); }; template struct Fred {}; template struct Fred {}; Fred<1, &ss::h> f1; ```=