re PR c/46015 (-Wunused-but-set-variable warns for arrays used in gotos)
PR c/46015 * c-parser.c (c_parser_statement_after_labels): Call mark_exp_read on computed goto argument. * semantics.c (finish_goto_stmt): Call mark_rvalue_use on computed goto destination. * c-c++-common/Wunused-var-13.c: New test. From-SVN: r165643
Showing
gcc/testsuite/c-c++-common/Wunused-var-13.c
0 → 100644
Please
register
or
sign in
to comment