aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2018-10-15 22:09:51 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2018-10-15 22:09:51 +0000
commit95baaced40ed2bdced215d1aabdbd31b7e0718ef (patch)
treeb78786d1c46b2449d7f6d8a338de18534f3a9b8d /gcc
parent91fe8d06240dee747e506ec3dd487af483751a94 (diff)
downloadgcc-95baaced40ed2bdced215d1aabdbd31b7e0718ef.zip
gcc-95baaced40ed2bdced215d1aabdbd31b7e0718ef.tar.gz
gcc-95baaced40ed2bdced215d1aabdbd31b7e0718ef.tar.bz2
Remove stray reference to error_at_rich_loc
"error_at_rich_loc" went away in r254280 (in favor of overloading "error_at"), but there was a stray reference in a comment. Remove it. gcc/ChangeLog: * gcc-rich-location.h (gcc_rich_location::add_location_if_nearby): Fix usage of "error_at_rich_loc" in the comment. From-SVN: r265177
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc-rich-location.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b8c7e5..82f3f02 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-15 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc-rich-location.h (gcc_rich_location::add_location_if_nearby):
+ Fix usage of "error_at_rich_loc" in the comment.
+
2018-10-15 Renlin Li <renlin.li@arm.com>
PR target/87563
diff --git a/gcc/gcc-rich-location.h b/gcc/gcc-rich-location.h
index e55dd76..d282fd4 100644
--- a/gcc/gcc-rich-location.h
+++ b/gcc/gcc-rich-location.h
@@ -56,7 +56,7 @@ class gcc_rich_location : public rich_location
gcc_rich_location richloc (primary_loc);
bool added secondary = richloc.add_location_if_nearby (secondary_loc);
- error_at_rich_loc (&richloc, "main message");
+ error_at (&richloc, "main message");
if (!added secondary)
inform (secondary_loc, "message for secondary");