aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@gcc.gnu.org>2003-06-19 14:25:36 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2003-06-19 14:25:36 +0200
commite295f31755a1ace8e951cc63b4d7f2851ac9dee1 (patch)
treeb6d2073ea90e334c020c7570d062f0d8453a39fd
parent551dc3602f1b8f12a734e70a20bf4ddd586e007a (diff)
downloadgcc-e295f31755a1ace8e951cc63b4d7f2851ac9dee1.zip
gcc-e295f31755a1ace8e951cc63b4d7f2851ac9dee1.tar.gz
gcc-e295f31755a1ace8e951cc63b4d7f2851ac9dee1.tar.bz2
c-tree.h: Remove declaration of poplevel.
* 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
-rw-r--r--gcc/ChangeLog14
-rw-r--r--gcc/c-lex.c3
-rw-r--r--gcc/c-tree.h1
-rw-r--r--gcc/cp/ChangeLog10
-rw-r--r--gcc/cp/cp-tree.h3
-rw-r--r--gcc/flags.h14
-rw-r--r--gcc/regs.h6
-rw-r--r--gcc/rtl.h30
-rw-r--r--gcc/tree.h4
9 files changed, 24 insertions, 61 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f29bbdf..c8a2a7d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index ea0f80c..313b4be 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -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)
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 368c970..62a6d4a 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -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));
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 83e943b..0b620d6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
@@ -145,7 +149,7 @@
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.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 23cdee6..d3d20e7 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -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);
diff --git a/gcc/flags.h b/gcc/flags.h
index 35c054f..d9ac7bf 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -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;
diff --git a/gcc/regs.h b/gcc/regs.h
index 2e838e3..5a95385 100644
--- a/gcc/regs.h
+++ b/gcc/regs.h
@@ -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
diff --git a/gcc/rtl.h b/gcc/rtl.h
index b19bc1f..d71a6ae 100644
--- 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
{
diff --git a/gcc/tree.h b/gcc/tree.h
index 2df6902..0466a03 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1999,10 +1999,6 @@ enum ptrmemfunc_vbit_where_t
#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