From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2E7BA3858D33; Fri, 6 Jan 2023 11:20:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E7BA3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673004032; bh=5E6NI4QaUOX0FFoWY9cB44vkNwj3gdggBIGkFu38wNU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i0cfF2yQkNqzRs0QT1ChvF1eW0B9osgHA/12l0TJlChRG04yrBqVX4nx9yjJotWFL JV+zXReBTDidl73VqSrrWFm0qiMiy9D67qIOkjTJQlE6cqfptUmGsY+ndQwSF5wsmu a0bB/g+Ue6uzwlpGCx/dYworlGg4FKMgg+65qono= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8 Date: Fri, 06 Jan 2023 11:20:30 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D108047 --- Comment #8 from Jakub Jelinek --- Created attachment 54201 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54201&action=3Dedit gcc13-pr108047.patch My current understanding is that even if nothing in the initializer is dependent maybe_init_list_as_range will be called again during instantiation with !processing_template_decl and because this is just an optimization, I think it should be fine to do the optimization only if !processing_template_decl.=