From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 23A53384EF48; Thu, 15 Dec 2022 13:58:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23A53384EF48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671112684; bh=gxRahKuhLkzDyaDRuv7IIN+7ABQcQ7EvF0uDZBFqSjI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jtiExshdLa6fnvWobXS/Wh9pE4h1B/3sg+JlSmMxGLYP8XhG+xOLukn/2m5NgXlbZ 6GSKSpNdJXvGTs6ILm4MMS3WPbpPrQCS1lTBnjaeWakN6cb8/nCb3LQosZrXUqbjTW GN6+WMdBn0n0GWZVdi1s7Gn1plIEtxqScR0tMqPc= From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108128] missing -Wshift-overflow warning Date: Thu, 15 Dec 2022 13:58:04 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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: 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=3D108128 --- Comment #1 from Vincent Lef=C3=A8vre --- Well, with -pedantic, GCC also warns on "enum { A =3D 1 << 31 };".=