Fix location of dependent member CALL_EXPR.
authorJason Merrill <jason@redhat.com>
Wed, 25 Sep 2019 03:27:26 +0000 (23:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 25 Sep 2019 03:27:26 +0000 (23:27 -0400)
commit1ed0d9f8ded4cfcff1c0409b183c5b64f69200be
tree9f494615c8781d86a08879a86565c5968dcf07a2
parenta20673a560fa520d7ac8da146dcb4b64c574a011
Fix location of dependent member CALL_EXPR.

The break here was skipping over the code that sets EXPR_LOCATION on the
call expressions, for no good reason.

* parser.c (cp_parser_postfix_expression): Do set location of
dependent member call.

From-SVN: r276112
gcc/cp/ChangeLog
gcc/cp/parser.c