*** empty log message ***
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 May 1992 22:08:21 +0000 (18:08 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 May 1992 22:08:21 +0000 (18:08 -0400)
From-SVN: r1059

gcc/c-common.c
gcc/c-decl.c

index a00d384919228ce59d58dddf8c50dde7918a746d..6263323802dddadb58df043a3b6a6bd487cec67b 100644 (file)
@@ -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;
index c52b462ad4ced7ef410938979632304ce1f7548b..267267b272eee2ee291092805fdcf104277251de 100644 (file)
@@ -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)