summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-03-29 19:24:33 +0200
committerMartin Liska <mliska@suse.cz>2020-03-29 19:24:33 +0200
commit85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7 (patch)
treeaa6ca22ca90c80e7ef634324bcc7496937bb08fd
parent46b7d819f7c22b9be7eddbd1d8956c6ce2245c64 (diff)
Fix typo in a warning related to flatten.
PR ipa/94363 * cgraphunit.c (process_function_and_variable_attributes): Remove double 'attribute' words.
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cgraphunit.c3
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 <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
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 ();