From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A86D3858C5E; Sat, 10 Feb 2024 03:41:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A86D3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707536513; bh=TkOqAi1arBdAhzA7khv0sZSPPQT+zRVe1ApifbwjdF0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fA4BpM4Uv1rYJRjToo7zEchWZBF9KhFQcEdNjMC18Vh2Slfq9D+XKDwD5Yjj1VF1v yv4qDfTSriEJSwXQVatxsSEqxv7+6E2cjldbtEFK6C5is6YCauhZfIQZ8EThhNzISB ohCXwdG89/6PkQuCbl/SAz84yOLblzi8qjIvTrKc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113545] ICE in label_matches with constexpr function with switch-statement and converted (nonconstant, cast address) input Date: Sat, 10 Feb 2024 03:41:52 +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, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 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=3D113545 --- Comment #2 from GCC Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:48207a5f00d6ae7cb11038e7c17f6858de4a884e commit r14-8907-g48207a5f00d6ae7cb11038e7c17f6858de4a884e Author: Hans-Peter Nilsson Date: Mon Jan 22 01:09:03 2024 +0100 c++: testcases for PR113545 (constexpr with switch and passing non-constexpr parameter) Test-cases, with constexpr-reinterpret3.C dg-ice:ing the PR c++/113545 = bug. Regarding the request in the comment, A dg-do run when there's an ICE will cause some CI's to signal an error for the run being "UNRESOLVED" (compilation failed to produce executable). Note that dejagnu (1.6.3) itself doesn't consider this an error. gcc/testsuite: PR c++/113545 * g++.dg/cpp1y/constexpr-reinterpret3.C, g++.dg/cpp1y/constexpr-reinterpret4.C: New tests.=