aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-12-22 22:27:45 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-12-22 22:27:45 +0000
commit070856cc13576073d3cc33ba60c2453a6be35351 (patch)
tree9fd9e89b95791c5e7485bf3333fe0566fa41274c /gcc/tree-nested.c
parent329590d70441f5300eafa7340845a65359b1c46b (diff)
downloadgcc-070856cc13576073d3cc33ba60c2453a6be35351.zip
gcc-070856cc13576073d3cc33ba60c2453a6be35351.tar.gz
gcc-070856cc13576073d3cc33ba60c2453a6be35351.tar.bz2
PR c/68473: sanitize source range-printing within certain macro expansions
gcc/ChangeLog: PR c/68473 * diagnostic-show-locus.c (layout::layout): Make loc_range const. Sanitize the layout_range against ranges that finish before they start. gcc/testsuite/ChangeLog: PR c/68473 * gcc.dg/plugin/diagnostic-test-expressions-1.c (fminl): New decl. (TEST_EQ): New macro. (test_macro): New function. * gcc.target/i386/pr68473-1.c: New test case. From-SVN: r231919
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions