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
Showing
Please
register
or
sign in
to comment