aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-05 16:49:16 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-05 16:49:16 +0200
commit82c3c067975d090a1b7f9921235ec100f737c95f (patch)
treeeb4ca6c522e22367819f9b64abc3885b7bbafe6b /gcc/ChangeLog
parent9f7b464b44cb23e0a7ede9748c89b5021100f6e1 (diff)
downloadgcc-82c3c067975d090a1b7f9921235ec100f737c95f.zip
gcc-82c3c067975d090a1b7f9921235ec100f737c95f.tar.gz
gcc-82c3c067975d090a1b7f9921235ec100f737c95f.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: r160317
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c68d5b..6164ce7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-05 Jakub Jelinek <jakub@redhat.com>
+
+ 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.
+
2010-06-05 Jan Hubicka <jh@suse.cz>
* df-problems.c (seen_in_block, seen_in_insn): Convert to bitmap_head.