diff options
author | Marek Polacek <polacek@redhat.com> | 2014-06-25 12:43:05 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-06-25 12:43:05 +0000 |
commit | 6e07c515168d331a0e05673b7994a5b189ef112f (patch) | |
tree | ea22f21c816c1c646178ef9c6cf317e21cc4dec6 /gcc/tree-inline.c | |
parent | 20cb2258ecac9c5cb651889966ac46f6958aec95 (diff) | |
download | gcc-6e07c515168d331a0e05673b7994a5b189ef112f.zip gcc-6e07c515168d331a0e05673b7994a5b189ef112f.tar.gz gcc-6e07c515168d331a0e05673b7994a5b189ef112f.tar.bz2 |
re PR c/61162 (possibly bad error location with -Wc++-compat)
PR c/61162
* c-parser.c (c_parser_statement_after_labels): Pass the location of
the return expression to c_finish_return.
* gcc.dg/pr61162.c: Adjust dg-warning.
* gcc.dg/pr61162-2.c: New test.
From-SVN: r211978
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions