diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-12-16 17:34:27 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-12-16 17:34:27 +0000 |
commit | a10704e17a43ec70076c9c54f68f67dfca209c45 (patch) | |
tree | 06e42b3a3c984a789fc1e46e75bbbbae500d417c /intl | |
parent | 0f7a02a32f887d944a760004927518d903bb4443 (diff) | |
download | gcc-a10704e17a43ec70076c9c54f68f67dfca209c45.zip gcc-a10704e17a43ec70076c9c54f68f67dfca209c45.tar.gz gcc-a10704e17a43ec70076c9c54f68f67dfca209c45.tar.bz2 |
C FE: fix range of primary-expression in c_parser_postfix_expression
gcc/c/ChangeLog:
* c-parser.c (c_parser_postfix_expression): Use EXPR_LOC_OR_LOC
to preserve range information for the primary expression
in the call to c_parser_postfix_expression_after_primary.
gcc/testsuite/ChangeLog:
* gcc.dg/cast-function-1.c (bar): Update column numbers.
* gcc.dg/diagnostic-range-bad-called-object.c: New test case.
From-SVN: r231709
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions