From: Martin Liska Date: Sun, 29 Mar 2020 17:24:33 +0000 (+0200) Subject: Fix typo in a warning related to flatten. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7;p=gcc.git Fix typo in a warning related to flatten. PR ipa/94363 * cgraphunit.c (process_function_and_variable_attributes): Remove double 'attribute' words. --- 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 ();