aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
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 /gcc/cgraphunit.c
parent46b7d819f7c22b9be7eddbd1d8956c6ce2245c64 (diff)
downloadgcc-85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7.zip
gcc-85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7.tar.gz
gcc-85f6f317ec8c02beea0a8dcb9c9274ebcffc1da7.tar.bz2
Fix typo in a warning related to flatten.
PR ipa/94363 * cgraphunit.c (process_function_and_variable_attributes): Remove double 'attribute' words.
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 3415660..0e255f2 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 ();