From 5e64efad1fd49b11690f4a193f86550194d0bf6f Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Mon, 15 Oct 2018 22:09:51 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265177 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/gcc-rich-location.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b8c7e555a6..82f3f02dabc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-15 David Malcolm + + * 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 PR target/87563 diff --git a/gcc/gcc-rich-location.h b/gcc/gcc-rich-location.h index e55dd76f4c6..d282fd4e29a 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"); -- 2.11.4.GIT