From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EE6123858D3C; Sun, 3 Sep 2023 19:59:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE6123858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693771194; bh=TCoh4tnyD7GdHVGG8ZrG+UbtcvwGt9uO14miFzlvIyc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DzIvVFYN6GB7DLVansfzaOo4/btUNKbY7PfXXt0Ho6BbEfYAhqobMS4cmxizqBXLP LxvJYrHhyS5tYxbzP2rULHbKhdVIomCQ+VsaxqGHy3geW8NZA89mwg5K+w2XS4zK72 w8ofpYT2G9XMx9DCxG/P0uTAY0Vb/RJLT6lxNME8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBtaWRkbGUtZW5kLzExMTI3OF0gZXJyb3I6IGNhbGwgdG8g?= =?UTF-8?B?4oCYLi4u4oCZIGRlY2xhcmVkIHdpdGggYXR0cmlidXRlIGVycm9yOiBjb2Rl?= =?UTF-8?B?IHBhdGggaXMgcmVhY2hhYmxlIHdpdGggLU9nLCBidXQgbm90IC1PMg==?= Date: Sun, 03 Sep 2023 19:59:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.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: blocked 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=3D111278 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |82738 --- Comment #4 from Andrew Pinski --- Oh -O0 will also fail. I suspect this case will just be declared as not to be fixed. the type for the switch is still int but the range is [0,7] and we don't do= as much optimizations for -Og. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82738 [Bug 82738] [meta-bug] issues with the -Og optimization level=