public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/44361] -Wunused-but-set-variable vs. explicit void cast
Date: Sat, 05 Jun 2010 14:49:00 -0000	[thread overview]
Message-ID: <20100605144937.15286.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44361-87@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from jakub at gcc dot gnu dot org  2010-06-05 14:49 -------
Subject: Bug 44361

Author: jakub
Date: Sat Jun  5 14:49:16 2010
New Revision: 160317

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160317
Log:
        PR c++/44361
        * c-typeck.c (mark_exp_read): Handle C_MAYBE_CONST_EXPR.
        * c-parser.c (c_parser_postfix_expression): Call mark_exp_read on
        statement expression.

        * c-c++-common/Wunused-var-9.c: New test.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44361


  parent reply	other threads:[~2010-06-05 14:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 11:14 [Bug c++/44361] New: " jakub at gcc dot gnu dot org
2010-06-01 11:17 ` [Bug c++/44361] " jakub at gcc dot gnu dot org
2010-06-01 15:05 ` jakub at gcc dot gnu dot org
2010-06-02 19:57 ` jakub at gcc dot gnu dot org
2010-06-02 20:02 ` jakub at gcc dot gnu dot org
2010-06-05 14:49 ` jakub at gcc dot gnu dot org [this message]
2010-06-05 15:03 ` jakub at gcc dot gnu dot org
2010-06-05 19:01 ` jakub 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=20100605144937.15286.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: link
Be 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).