]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix typo in a warning related to flatten.
authorMartin Liska <mliska@suse.cz>
Sun, 29 Mar 2020 17:24:33 +0000 (19:24 +0200)
committerMartin Liska <mliska@suse.cz>
Sun, 29 Mar 2020 17:24:33 +0000 (19:24 +0200)
PR ipa/94363
* cgraphunit.c (process_function_and_variable_attributes): Remove
double 'attribute' words.

gcc/ChangeLog
gcc/cgraphunit.c

index 3cff237b30f64e09da09083c65bdc38d3d0aaa8d..3d0a7e5f6f34325eb132f706f5272d807a6bd53c 100644 (file)
@@ -1,3 +1,9 @@
+2020-03-29  Martin Liska  <mliska@suse.cz>
+
+       PR ipa/94363
+       * cgraphunit.c (process_function_and_variable_attributes): Remove
+       double 'attribute' words.
+
 2020-03-29  John David Anglin  <dave.anglin@bell.net>
 
        * gcc/config/pa/pa.c (pa_asm_output_aligned_bss): Delete duplicate
index 3415660440e8bdcb20756941f01f6918437f4b45..0e255f25b7d00808992b0dec26e95f45e0edcb0e 100644 (file)
@@ -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 ();