c-tree.h: Remove declaration of poplevel.
authorAndreas Jaeger <aj@gcc.gnu.org>
Thu, 19 Jun 2003 12:25:36 +0000 (14:25 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Thu, 19 Jun 2003 12:25:36 +0000 (14:25 +0200)
* 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.

cp:

* cp-tree.h: Remove duplicated declarations.

From-SVN: r68193

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 f29bbdf820588460148b910470ffa10d713777eb..c8a2a7d4dacc45cdd396a9f42909bf61453f996d 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 ea0f80c7b83263987807a4b4d9e7852d3db771b9..313b4be4e90f27b5c5bd94413731924877ea6fce 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 368c970557e37f735c239a7229b29429cd1ba4cd..62a6d4aa88fe8ef765d59514b961cdb39ef57c3f 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 83e943bc0277a5e6747504006d43efebbf2f1b59..0b620d69462b9155b5d8191a5c62e69c994e9245 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 23cdee6e711391c47b26dae3e089961959dc60c8..d3d20e7d211dffd2f507bb1641ad6b4869dc4089 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 35c054f15b7a3e382a4560dcb59a15a4b5086458..d9ac7bfb05553de08494bc2c78cb19c8ef7df4f9 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 2e838e329398a563525077f5b38a40825234fd79..5a95385021956114580387efa39cbc0fbd210be6 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 b19bc1fc10d83bb0f6c07447504f05ffc60d07fa..d71a6ae8a82bd666697b2b2a5a0b7e2794b7965e 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 2df6902cdf053ff6ea9468e52e2f78d4931b9104..0466a03d67b52ddf18b64252bfaf8b778cf88282 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