From: Richard Kenner Date: Fri, 22 May 1992 22:08:21 +0000 (-0400) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=101777b6cb161af8c1d28d25522c81ab86e8272a;p=gcc.git *** empty log message *** From-SVN: r1059 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index a00d3849192..6263323802d 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -54,6 +54,7 @@ declare_function_name () char_array_type_node); TREE_STATIC (decl) = 1; TREE_READONLY (decl) = 1; + TREE_NO_UNUSED_WARNING (decl) = 1; DECL_IGNORED_P (decl) = 1; init = build_string (strlen (name) + 1, name); TREE_TYPE (init) = char_array_type_node; @@ -65,6 +66,7 @@ declare_function_name () char_array_type_node); TREE_STATIC (decl) = 1; TREE_READONLY (decl) = 1; + TREE_NO_UNUSED_WARNING (decl) = 1; DECL_IGNORED_P (decl) = 1; init = build_string (strlen (printable_name) + 1, printable_name); TREE_TYPE (init) = char_array_type_node; diff --git a/gcc/c-decl.c b/gcc/c-decl.c index c52b462ad4c..267267b272e 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -2617,7 +2617,6 @@ builtin_function (name, type, function_code, library_name) char *name; tree type; enum built_in_function function_code; - TREE_NO_UNUSED_WARNING (decl) = 1; char *library_name; { tree decl = build_decl (FUNCTION_DECL, get_identifier (name), type); @@ -2630,7 +2629,6 @@ builtin_function (name, type, function_code, library_name) DECL_BUILT_IN_NONANSI (decl) = 1; if (library_name) DECL_ASSEMBLER_NAME (decl) = get_identifier (library_name); - TREE_NO_UNUSED_WARNING (decl) = 1; make_decl_rtl (decl, 0, 1); pushdecl (decl); if (function_code != NOT_BUILT_IN)