From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0306A385841E; Fri, 30 Jun 2023 03:27:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0306A385841E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688095656; bh=qJxljwzBnv6+wpjsqggqJghZs6q5H9xS970Elg9vLEM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Gwh5eV0We65e32jMFVf2Mxebx4UZucg5qlTfdZZ4uIgLgKpGzCYzYYHdlFzLljSjP XSZxCBLVg0oL+xQIbV61sdx20Bj9rFnWsIfD+45T59Erv2/ob0T4rSLQW8GtGOE/9j lqnUdbL6lwLpDyrx1LZEhXOPA0nya1Ryxvn0VneU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110492] Attempted optimization of switch statement pessimizes it instead Date: Fri, 30 Jun 2023 03:27:35 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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=3D110492 --- Comment #1 from Andrew Pinski --- Created attachment 55431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55431&action=3Dedit testcase Next time please attach or paste inline the code instead of posting just a = link to godbolt.org .=