aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-08-29 17:10:23 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-08-29 17:10:23 +0000
commit9144eabb893bf3cb4bad4c2447e8b56c5db7f577 (patch)
tree31d88147ce6530ac2c8a2b9c9137f481d64d072c /gcc/java/expr.c
parent328eae1cb4cca4903f4b6de3bf56c4e59fdbdeae (diff)
downloadgcc-9144eabb893bf3cb4bad4c2447e8b56c5db7f577.zip
gcc-9144eabb893bf3cb4bad4c2447e8b56c5db7f577.tar.gz
gcc-9144eabb893bf3cb4bad4c2447e8b56c5db7f577.tar.bz2
make_location: ensure end-points are pure locations
gcc/ChangeLog: * input.c (make_location): Call get_start and get_finish on the endpoints to avoid storing packed ranges or ad-hoc ranges in them. (selftest::test_make_location_nonpure_range_endpoints): New function. (selftest::input_c_tests): Call it. * input.h (get_start): New inline function. From-SVN: r239831
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions