From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 89A603858D32; Mon, 3 Jul 2023 16:36:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89A603858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688402218; bh=znAmQe6ds7qCN0GBOj04+oZbmr5ciz4FZULHDAS04Fc=; h=From:To:Subject:Date:From; b=X1Hariji/EKKfAULhnZyTDTss4D3qts8MUqy3Yff/akAa/9IOAxfTBzNIG8aaIiIk ntwKZBkv7SU1PeRS21SwKqoWsox04apCvuKr05PjkTS7plOechyGkHpHlC3XkNyge/ AP0+SbOYrfABamEGmIDZXouebWPn5VXb6+qY0N8U= From: "corentinjabot at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110535] New: Internal error when performing a surrogate call with unsatisfied constraints Date: Mon, 03 Jul 2023 16:36:58 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: corentinjabot 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 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=3D110535 Bug ID: 110535 Summary: Internal error when performing a surrogate call with unsatisfied constraints Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: corentinjabot at gmail dot com Target Milestone: --- Consider=20 int f1(int); template struct A { using F =3D int(int); operator F*() requires N { return f1; } }; int i =3D A{}(0); // Fine int j =3D A{}(0); // Crash This affects tip of trunk on CE https://godbolt.org/z/7vahavxv6=