From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A0973858D33; Thu, 2 May 2024 11:28:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A0973858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714649317; bh=UgyRzODnfip1dNOXOwHJQBGH2znhs5Swgp7a45efqGk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pcX2Xfs4XopBwXgSdq5XOlHUtgnsfQ1fzcMmvEZb/E++fakvusYlP22MG0dpDosh9 YLOQLx7i7lgv6Hnu/g+2k/aRxlT1fWYml6f67cLpcepsEsOtkOaoWH1a1UYpzZPtSH qsGYuBlZ6OYSBRnkUWTqkBqa4jU2DiUkpgdMKHzQ= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114913] "verify_gimple failed" due to addition of two constexpr strings Date: Thu, 02 May 2024 11:28:36 +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: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component 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=3D114913 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c++ --- Comment #6 from Richard Biener --- #4 0x00000000016da304 in fold_ctor_reference ( type=3D, ctor=3D= ,=20 poly_offset=3D..., poly_size=3D...,=20 from_decl=3D, suboff=3D0x7fffffffcb= b8) at /space/rguenther/src/gcc/gcc/gimple-fold.cc:8236 8236 return canonicalize_constructor_val (unshare_expr (ctor), from_decl); 'ctor' is the ADDR_EXPR that doesn't have TREE_CONSTANT set correctly. The tree is probably mangled after the ADDR_EXPR is built. This looks like a bug in the C++ frontend to me.=