From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 121853858D28; Fri, 6 Jan 2023 20:06:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 121853858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673035564; bh=XSAcSC3HW6yegJv+a0dPtZqQPUNuM1jYCihq+UWVZ9M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GCMHA+SM7kWpFrLcA4j09qooHBj5TKLnIc1f0OFY0wY89Ogm9cL5Ou02SUzJTjqKP I7w/odfxm9NEiQ7TqbB676ypt/xRQdLPSqhsbpPDx1yOtqOTntXfJxMEUIzHnGW5i7 G8DiQSA3RRI8QiVOrJDnYj2vEiiTrcF+OG3k45WY= From: "slyfox 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 20:06:03 +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: slyfox 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: 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 #10 from Sergei Trofimovich --- (In reply to Jakub Jelinek from comment #8) > Created attachment 54201 [details] > gcc13-pr108047.patch >=20 > My current understanding is that even if nothing in the initializer is > dependent maybe_init_list_as_range will be called again during instantiat= ion > with > !processing_template_decl and because this is just an optimization, I thi= nk > it should be fine to do the optimization only if !processing_template_dec= l. The patch fixes toml library build for me. Thank you!=