aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 6263323..8dc92d8 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -54,7 +54,7 @@ declare_function_name ()
char_array_type_node);
TREE_STATIC (decl) = 1;
TREE_READONLY (decl) = 1;
- TREE_NO_UNUSED_WARNING (decl) = 1;
+ TREE_USED (decl) = 1;
DECL_IGNORED_P (decl) = 1;
init = build_string (strlen (name) + 1, name);
TREE_TYPE (init) = char_array_type_node;
@@ -66,7 +66,7 @@ declare_function_name ()
char_array_type_node);
TREE_STATIC (decl) = 1;
TREE_READONLY (decl) = 1;
- TREE_NO_UNUSED_WARNING (decl) = 1;
+ TREE_USED (decl) = 1;
DECL_IGNORED_P (decl) = 1;
init = build_string (strlen (printable_name) + 1, printable_name);
TREE_TYPE (init) = char_array_type_node;