aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
authorManfred Hollstein <manfred@gcc.gnu.org>1998-03-12 00:29:12 +0000
committerManfred Hollstein <manfred@gcc.gnu.org>1998-03-12 00:29:12 +0000
commit1bbe34be639806778ef821dff78b2f1019b4af0e (patch)
treeed29cf261fc1dcd80efafa909f87a33dd26d8cee /gcc/cp/expr.c
parent8468c4a45851e30c73f778140f9e8162afa33e23 (diff)
downloadgcc-1bbe34be639806778ef821dff78b2f1019b4af0e.zip
gcc-1bbe34be639806778ef821dff78b2f1019b4af0e.tar.gz
gcc-1bbe34be639806778ef821dff78b2f1019b4af0e.tar.bz2
W
In gcc/: * bitmap.c (bitmap_element_allocate): Remove unused parameter; change callers accordingly. * cplus-dem.c (arm_special): Remove unused parameter work in prototype and definition; change all callers accordingly. * except.c (init_eh): Avoid assignment of unused return value of build_pointer_type; cast it to void, instead, and remove unused variable type. * gcc.c (lang_specific_driver): Define prototype only #ifdef LANG_SPECIFIC_DRIVER. (temp_names): Define only #ifdef MKTEMP_EACH_FILE. * genoutput.c (output_epilogue): Initialize next_name to 0. * real.c (efrexp): #if 0 prototype and function definition. (eremain): Likewise. (uditoe): Likewise. (ditoe): Likewise. (etoudi): Likewise. (etodi): Likewise. (esqrt): Likewise. * reload.c (push_secondary_reload): Define prototype only #ifdef HAVE_SECONDARY_RELOADS. * varasm.c (assemble_static_space): Define rounded only #ifndef ASM_OUTPUT_ALIGNED_LOCAL. In gcc/cp/: * call.c (default_parm_conversions): Remove prototype definition. (build_method_call): Remove unused variable result. * cvt.c (ocp_convert): Remove unused variable conversion. * decl2.c (ambiguous_decl): Add explicit parameter definition for name. * except.c (do_unwind): #if 0 definition of unused variables fcall and next_pc. * expr.c (extract_scalar_init): #if 0 prototype and function definition. * init.c (expand_aggr_init_1): Remove unused variable init_type. (build_new_1): Remove unused variable t. * pt.c (instantiate_class_template): Remove unused variable newtag; cast called function return value to void. (do_decl_instantiation): Remove unused variables name and fn. * tree.c (get_type_decl): Add default return to shut up compiler from complaining control reaches end of non-void function. * typeck.c (build_x_conditional_expr): Remove unused variable rval. From-SVN: r18496
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r--gcc/cp/expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index 47d50e9..aa229d4 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -29,7 +29,9 @@ Boston, MA 02111-1307, USA. */
#include "cp-tree.h"
static tree extract_aggr_init PROTO((tree, tree));
+#if 0
static tree extract_scalar_init PROTO((tree, tree));
+#endif
static rtx cplus_expand_expr PROTO((tree, rtx, enum machine_mode,
enum expand_modifier));
@@ -244,6 +246,7 @@ extract_aggr_init (decl, init)
return 0;
}
+#if 0
static tree
extract_scalar_init (decl, init)
tree decl, init;
@@ -294,6 +297,7 @@ extract_scalar_init (decl, init)
return t;
}
+#endif
int
extract_init (decl, init)