[OBVIOUS] Fix typo in a warning related to flatten.

Message ID 9e510eb9-c5a4-e8ca-eade-f6cf5d7c881e@suse.cz
State New
Headers show
Series
  • [OBVIOUS] Fix typo in a warning related to flatten.
Related show

Commit Message

Martin Liška March 29, 2020, 5:24 p.m.
Hi.

I'm sending a typo fix in the flatten warning.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Thanks,
Martin

gcc/ChangeLog:

2020-03-29  Martin Liska  <mliska@suse.cz>

	PR ipa/94363
	* cgraphunit.c (process_function_and_variable_attributes): Remove
	double 'attribute' words.
---
  gcc/cgraphunit.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 3415660440e..0e255f25b7d 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -856,8 +856,7 @@  process_function_and_variable_attributes (cgraph_node *first,
 	  && lookup_attribute ("flatten", DECL_ATTRIBUTES (decl)))
 	{
 	  warning_at (DECL_SOURCE_LOCATION (node->decl), OPT_Wattributes,
-		      "%<flatten%>"
-		      " attribute attribute is ignored on aliases");
+		      "%<flatten%> attribute is ignored on aliases");
 	}
       if (DECL_PRESERVE_P (decl))
 	node->mark_force_output ();