public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/37985] [4.3/4.4/4.5 Regression] unsigned char shift lacks "statement with no effect" warning Date: Thu, 21 May 2009 16:32:00 -0000 [thread overview] Message-ID: <20090521163152.30802.qmail@sourceware.org> (raw) In-Reply-To: <bug-37985-10391@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from tkoenig at gcc dot gnu dot org 2009-05-21 16:31 ------- Works with 3.4: $ cat > tmp.c unsigned char foo(unsigned char a) { a >> 2; return a; } $ gcc-3.4 -S -O3 -Wall tmp.c tmp.c: In function `foo': tmp.c:3: warning: statement with no effect -- tkoenig at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.4.0 4.5.0 4.3.3 Summary|unsigned char shift lacks |[4.3/4.4/4.5 Regression] |"statement with no effect" |unsigned char shift lacks |warning |"statement with no effect" | |warning Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37985
next prev parent reply other threads:[~2009-05-21 16:32 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-01 10:55 [Bug c/37985] New: " tkoenig at gcc dot gnu dot org 2008-11-01 12:50 ` [Bug c/37985] " rguenth at gcc dot gnu dot org 2009-03-30 1:38 ` tromey at gcc dot gnu dot org 2009-05-21 16:32 ` tkoenig at gcc dot gnu dot org [this message] 2009-05-21 16:33 ` [Bug c/37985] [4.3/4.4/4.5 Regression] " tkoenig at gcc dot gnu dot org 2009-05-23 11:42 ` tkoenig at gcc dot gnu dot org 2009-05-24 19:03 ` tkoenig at gcc dot gnu dot org 2009-05-28 14:43 ` rguenth at gcc dot gnu dot org 2009-08-04 12:43 ` rguenth at gcc dot gnu dot org 2010-05-22 18:27 ` [Bug c/37985] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org 2010-09-04 11:35 ` simartin at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090521163152.30802.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).