aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-12-08 17:03:26 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-12-08 17:03:26 +0000
commita1b93f8daf8029685f49cd57612d726674b8595c (patch)
treec9a3f87f1a7b95b9736b2d9e05db06d64e2291b2 /gcc/tree-if-conv.c
parent46c6e1e20e58a8e071c163d9f1a8ea179a437fd3 (diff)
downloadgcc-a1b93f8daf8029685f49cd57612d726674b8595c.zip
gcc-a1b93f8daf8029685f49cd57612d726674b8595c.tar.gz
gcc-a1b93f8daf8029685f49cd57612d726674b8595c.tar.bz2
C: fix uninitialized ranges for __alignof__
gcc/c/ChangeLog: * c-parser.c (c_parser_alignof_expression): Capture location of closing parenthesis (if any), or of end of unary expression, and use it to build a src_range for the expression. gcc/testsuite/ChangeLog: * gcc.dg/plugin/diagnostic-test-expressions-1.c (test_alignof): New test function. From-SVN: r231415
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions