aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2010-06-05 17:02:32 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-05 17:02:32 +0200
commit913bf7d152ea277398385a275c88fbe5460351f5 (patch)
tree3a9e75f68da63a8e3d052114ddc4681ace4a31ed /gcc/c-lang.c
parent82c3c067975d090a1b7f9921235ec100f737c95f (diff)
downloadgcc-913bf7d152ea277398385a275c88fbe5460351f5.zip
gcc-913bf7d152ea277398385a275c88fbe5460351f5.tar.gz
gcc-913bf7d152ea277398385a275c88fbe5460351f5.tar.bz2
re PR c++/44361 (-Wunused-but-set-variable vs. explicit void cast)
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. From-SVN: r160318
Diffstat (limited to 'gcc/c-lang.c')
0 files changed, 0 insertions, 0 deletions