summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/input.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 478351818c2..d59bc7dd92e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2016-08-29 David Malcolm <dmalcolm@redhat.com>
+ * input.c
+ (selftest::test_make_location_nonpure_range_endpoints): Fix
+ header comment.
+
+2016-08-29 David Malcolm <dmalcolm@redhat.com>
+
* diagnostic-show-locus.c
(selftest::test_one_liner_fixit_validation_adhoc_locations): New
function.
diff --git a/gcc/input.c b/gcc/input.c
index a3fe54209dd..2ff7cb8e943 100644
--- a/gcc/input.c
+++ b/gcc/input.c
@@ -1720,8 +1720,8 @@ test_builtins ()
}
/* Regression test for make_location.
- Ensure that we use the caret locations of the start/finish, rather
- than storing a packed or ad-hoc range as the start/finish. */
+ Ensure that we use pure locations for the start/finish of the range,
+ rather than storing a packed or ad-hoc range as the start/finish. */
static void
test_make_location_nonpure_range_endpoints (const line_table_case &case_)