From 85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Sun, 29 Mar 2020 19:24:33 +0200 Subject: [PATCH] Fix typo in a warning related to flatten. PR ipa/94363 * cgraphunit.c (process_function_and_variable_attributes): Remove double 'attribute' words. --- gcc/ChangeLog | 6 ++++++ gcc/cgraphunit.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cff237b30f..3d0a7e5f6f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-03-29 Martin Liska + + PR ipa/94363 + * cgraphunit.c (process_function_and_variable_attributes): Remove + double 'attribute' words. + 2020-03-29 John David Anglin * gcc/config/pa/pa.c (pa_asm_output_aligned_bss): Delete duplicate 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, - "%" - " attribute attribute is ignored on aliases"); + "% attribute is ignored on aliases"); } if (DECL_PRESERVE_P (decl)) node->mark_force_output (); -- 2.30.2