From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7EC94385C017; Fri, 21 Jul 2023 18:29:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7EC94385C017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689964153; bh=hGnZPzF/5FlBpXfWTNPjChlPqS1TRCEmjezAUi74b/k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nOIwmCvbbxXEL9cST/FNDZjCGqDYyKAmmifXR44wdjz7r4pgaNlJyxZ8shSa6gfr9 Pngts7IyW2PKqtUo4oCnf4rZBefBDI0HP6+8mhUOMoCieYjDMrezODyRhpqX1HcU8B te+VektzlaexaYT9A+9d28uy4JkWfeWteM5oZ/3o= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110382] [13/14 Regression] internal compiler error: in verify_ctor_sanity Date: Fri, 21 Jul 2023 18:29:13 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 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=3D110382 --- Comment #3 from Marek Polacek --- (In reply to Marek Polacek from comment #2) > Note that changing > double a =3D 0; > to > double a =3D 0.; > gets rid of the ICE! ...because the latter means the {} is reduced_constant_expression_p and TREE_CONSTANT, so we never call cxx_eval_bare_aggregate.=