[gcc(refs/users/marxin/heads/marxin-gcc-benchmark-branch)] Fix typo in a warning related to flatten.
Martin Liska
marxin@gcc.gnu.org
Mon Mar 30 11:12:49 GMT 2020
https://gcc.gnu.org/g:85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7
commit 85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7
Author: Martin Liska <mliska@suse.cz>
Date: Sun Mar 29 19:24:33 2020 +0200
Fix typo in a warning related to flatten.
PR ipa/94363
* cgraphunit.c (process_function_and_variable_attributes): Remove
double 'attribute' words.
Diff:
---
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 <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 ();
More information about the Gcc-cvs
mailing list