* c-tree.h: Remove declaration of poplevel.
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jun 2003 12:25:36 +0000 (12:25 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jun 2003 12:25:36 +0000 (12:25 +0000)
* tree.h: Remove declaration of approx_sqrt.

* c-lex.c: Remove redundant declaration of asm_out_file.

* flags.h: Remove declaration of warn_unknown_pragma and
main_input_filename.

* rtl.h: Remove functions from fold-const.c since they're already
declared in tree.h.

* regs.h: Remove redundant declaration of reg_names.

cp:

* cp-tree.h: Remove duplicated declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68193 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-lex.c
gcc/c-tree.h
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/flags.h
gcc/regs.h
gcc/rtl.h
gcc/tree.h

index f29bbdf..c8a2a7d 100644 (file)
@@ -1,5 +1,19 @@
 2003-06-19  Andreas Jaeger  <aj@suse.de>
 
+       * c-tree.h: Remove declaration of poplevel.
+
+       * tree.h: Remove declaration of approx_sqrt.
+
+       * c-lex.c: Remove redundant declaration of asm_out_file.
+
+       * flags.h: Remove declaration of warn_unknown_pragma and
+       main_input_filename.
+
+       * rtl.h: Remove functions from fold-const.c since they're already
+       declared in tree.h.
+
+       * regs.h: Remove redundant declaration of reg_names.
+
        * bt-load.c (migrate_btr_defs): Correct printf arguments.
 
        * protoize.c: Fix breakage from last patch.
index ea0f80c..313b4be 100644 (file)
@@ -52,9 +52,6 @@ static unsigned int src_lineno;
 static int header_time, body_time;
 static splay_tree file_info_tree;
 
-/* File used for outputting assembler code.  */
-extern FILE *asm_out_file;
-
 #undef WCHAR_TYPE_SIZE
 #define WCHAR_TYPE_SIZE TYPE_PRECISION (wchar_type_node)
 
index 368c970..62a6d4a 100644 (file)
@@ -175,7 +175,6 @@ extern int global_bindings_p                        PARAMS ((void));
 extern int kept_level_p                                PARAMS ((void));
 extern tree getdecls                           PARAMS ((void));
 extern void pushlevel                          PARAMS ((int));
-extern tree poplevel                           PARAMS ((int,int, int));
 extern void insert_block                       PARAMS ((tree));
 extern void set_block                          PARAMS ((tree));
 extern tree pushdecl                           PARAMS ((tree));
index 83e943b..0b620d6 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-19  Andreas Jaeger  <aj@suse.de>
+
+       * cp-tree.h: Remove duplicated declarations.
+
 2003-06-18  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * pt.c: Convert to ISO C.
@@ -13,7 +17,7 @@
        (at_least_as_qualified_p, more_qualified_p,
        comp_cv_qualification): Cache cv quals.
        (compparms): Rearrange loop.
-       
+
 2003-06-18  Nathan Sidwell  <nathan@codesourcery.com>
 
        * cp-tree.h (COMPARE_RELAXED): Rename to ...
@@ -35,7 +39,7 @@
        (comp_target_types): Remove unreachable code. Adjust
        same_or_base_type_p calls.
        (ptr_reasonably_similar): Adjust base and derived check.
-       
+
        * typeck.c (maybe_warn_about_returning_address_of_local): Remove
        unused calculation.
        (check_return_expr): Adjust error messages.
 
 2003-06-11  Roger Sayle  <roger@eyesopen.com>
 
-       * decl2.c (generate_ctor_or_dtor_function): Avoid expanding a 
+       * decl2.c (generate_ctor_or_dtor_function): Avoid expanding a
        global static constructor/destructor if it will be empty, i.e.
        either doesn't call any ctors/dtors or only calls pure or const
        ctors/dtors.
index 23cdee6..d3d20e7 100644 (file)
@@ -3587,7 +3587,6 @@ extern int global_bindings_p                      (void);
 extern int kept_level_p                                (void);
 extern tree getdecls                           (void);
 extern void pushlevel                          (int);
-extern tree poplevel                           (int,int, int);
 extern void insert_block                       (tree);
 extern void set_block                          (tree);
 extern tree pushdecl                           (tree);
@@ -3762,9 +3761,7 @@ extern void comdat_linkage (tree);
 extern void import_export_vtable (tree, tree, int);
 extern void import_export_decl (tree);
 extern void import_export_tinfo        (tree, tree, bool);
-extern tree build_cleanup                      (tree);
 extern void finish_file                                (void);
-extern tree build_expr_from_tree               (tree);
 extern tree build_cleanup                      (tree);
 extern tree build_expr_from_tree               (tree);
 extern tree build_offset_ref_call_from_tree     (tree, tree);
index 35c054f..d9ac7bf 100644 (file)
@@ -1,5 +1,6 @@
 /* Compilation switch flag definitions for GCC.
-   Copyright (C) 1987, 1988, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002
+   Copyright (C) 1987, 1988, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002,
+   2003
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -22,9 +23,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #ifndef GCC_FLAGS_H
 #define GCC_FLAGS_H
 
-/* Name of the input .c file being compiled.  */
-extern const char *main_input_filename;
-
 enum debug_info_type
 {
   NO_DEBUG,        /* Write no debug info.  */
@@ -114,14 +112,6 @@ extern int warn_inline;
 
 extern int warn_uninitialized;
 
-/* Zero if unknown pragmas are ignored
-   One if the compiler should warn about an unknown pragma not in
-   a system include file.
-   Greater than one if the compiler should warn for all unknown
-   pragmas.  */
-
-extern int warn_unknown_pragmas;
-
 /* Nonzero means warn about all declarations which shadow others.  */
 
 extern int warn_shadow;
index 2e838e3..5a95385 100644 (file)
@@ -1,6 +1,6 @@
 /* Define per-register tables for data flow info and register allocation.
    Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000 Free Software Foundation, Inc.
+   1999, 2000, 2003 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -158,10 +158,6 @@ extern short *reg_renumber;
 
 extern char regs_ever_live[FIRST_PSEUDO_REGISTER];
 
-/* Vector indexed by hardware reg giving its name.  */
-
-extern const char * reg_names[FIRST_PSEUDO_REGISTER];
-
 /* For each hard register, the widest mode object that it can contain.
    This will be a MODE_INT mode if the register can hold integers.  Otherwise
    it will be a MODE_FLOAT or a MODE_CC mode, whichever is valid for the
index b19bc1f..d71a6ae 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2240,36 +2240,6 @@ extern void end_branch_prob              PARAMS ((void));
 extern bool reg_to_stack               PARAMS ((rtx, FILE *));
 #endif
 
-/* In fold-const.c */
-extern int add_double          PARAMS ((unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *));
-extern int neg_double          PARAMS ((unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *));
-extern int mul_double          PARAMS ((unsigned HOST_WIDE_INT,
-                                        HOST_WIDE_INT,
-                                        unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *));
-extern void lshift_double      PARAMS ((unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        HOST_WIDE_INT, unsigned int,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *, int));
-extern void rshift_double      PARAMS ((unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        HOST_WIDE_INT, unsigned int,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *, int));
-extern void lrotate_double     PARAMS ((unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        HOST_WIDE_INT, unsigned int,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *));
-extern void rrotate_double     PARAMS ((unsigned HOST_WIDE_INT, HOST_WIDE_INT,
-                                        HOST_WIDE_INT, unsigned int,
-                                        unsigned HOST_WIDE_INT *,
-                                        HOST_WIDE_INT *));
-
 /* In calls.c */
 enum libcall_type
 {
index 2df6902..0466a03 100644 (file)
@@ -1999,10 +1999,6 @@ enum ptrmemfunc_vbit_where_t
 \f
 #define NULL_TREE (tree) NULL
 
-/* Approximate positive square root of a host double.  This is for
-   statistical reports, not code generation.  */
-extern double approx_sqrt              PARAMS ((double));
-
 extern tree decl_assembler_name                PARAMS ((tree));
 
 /* Compute the number of bytes occupied by 'node'.  This routine only