aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-12-16 17:25:45 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-12-16 17:25:45 +0000
commit8062bca66dc0acfaf7b5d2659ee5ca4381fea9e8 (patch)
tree1ee547d74e7d3d0c1c961fb845833707dd113d75 /gcc/graphite-poly.c
parent040b0c97c4d2cccdc3f80f7ad81ceb88e6794744 (diff)
downloadgcc-8062bca66dc0acfaf7b5d2659ee5ca4381fea9e8.zip
gcc-8062bca66dc0acfaf7b5d2659ee5ca4381fea9e8.tar.gz
gcc-8062bca66dc0acfaf7b5d2659ee5ca4381fea9e8.tar.bz2
C FE: use correct location range for static assertions
gcc/c/ChangeLog: * c-parser.c (c_parser_static_assert_declaration_no_semi): Use the expression location, falling back on the first token location, rather than always using the latter. gcc/testsuite/ChangeLog: * gcc.dg/diagnostic-range-static-assert.c: New test case. From-SVN: r231704
Diffstat (limited to 'gcc/graphite-poly.c')
0 files changed, 0 insertions, 0 deletions