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 <mli...@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(-)
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 ();