From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A49F638E26CC; Thu, 6 Jun 2024 22:42:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A49F638E26CC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717713757; bh=6XuMggntX8sF3QvfK63JduTZ6gvVatWL3+V3Av2nKfg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aTfxXYd9ZVdaCw5b+KcCrhQ0hYGut/M46EhzJv7/S2o2wZzIyRo4LgWmQWNIUyM4j QdauutOpQhwzMgdYzibKllWvRPMD7m5XbyCDbkA3/yHFNhm6M/1zOduRSJgUgIqfdK N842mB7YklYTvk8N5Oj5kacz9XYbK7m3FC/aKp44= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/115378] [14/15 Regression] ICE with lambda function as a default template argument with variadic templates in some cases Date: Thu, 06 Jun 2024 22:42:37 +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: 15.0 X-Bugzilla-Keywords: c++-lambda, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on short_desc bug_status everconfirmed target_milestone 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=3D115378 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-06-06 Summary|[ice-on-valid] code using |[14/15 Regression] ICE with |friend injection is |lambda function as a |crashing gcc since 14 |default template argument | |with variadic templates in | |some cases Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Target Milestone|--- |14.2 --- Comment #5 from Andrew Pinski --- Note I don't think it was exactly working in GCC 13 either even though it w= as not ICEing. With my reduced testcase we get the following (wrong) warning for GCC 13: :4:33: warning: no return statement in function returning non-void [-Wreturn-type] 4 | template | ^~~~=