In gcc/:
authorManfred Hollstein <manfred@gcc.gnu.org>
Thu, 12 Mar 1998 00:29:02 +0000 (00:29 +0000)
committerManfred Hollstein <manfred@gcc.gnu.org>
Thu, 12 Mar 1998 00:29:02 +0000 (00:29 +0000)
* 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: r18495

gcc/real.c

index 2f3ec1b..afef6c1 100644 (file)
@@ -399,11 +399,15 @@ static void asctoe113     PROTO((char *, unsigned EMUSHORT *));
 static void asctoe     PROTO((char *, unsigned EMUSHORT *));
 static void asctoeg    PROTO((char *, unsigned EMUSHORT *, int));
 static void efloor     PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
+#if 0
 static void efrexp     PROTO((unsigned EMUSHORT *, int *,
                               unsigned EMUSHORT *));
+#endif
 static void eldexp     PROTO((unsigned EMUSHORT *, int, unsigned EMUSHORT *));
+#if 0
 static void eremain    PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *,
                               unsigned EMUSHORT *));
+#endif
 static void eiremain   PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
 static void mtherr     PROTO((char *, int));
 #ifdef DEC
@@ -420,11 +424,13 @@ static void toibm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *,
                               enum machine_mode));
 #endif
 static void make_nan   PROTO((unsigned EMUSHORT *, int, enum machine_mode));
+#if 0
 static void uditoe     PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
 static void ditoe      PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
 static void etoudi     PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
 static void etodi      PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
 static void esqrt      PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
+#endif
 \f
 /* Copy 32-bit numbers obtained from array containing 16-bit numbers,
    swapping ends if required, into output array of longs.  The
@@ -5308,6 +5314,7 @@ efloor (x, y)
 }
 
 
+#if 0
 /* Return S and EXP such that  S * 2^EXP = X and .5 <= S < 1.
    For example, 1.1 = 0.55 * 2^1.  */
 
@@ -5332,6 +5339,7 @@ efrexp (x, exp, s)
   emovo (xi, s);
   *exp = (int) (li - 0x3ffe);
 }
+#endif
 
 /* Return e type Y = X * 2^PWR2.  */
 
@@ -5354,6 +5362,7 @@ eldexp (x, pwr2, y)
 }
 
 
+#if 0
 /* C = remainder after dividing B by A, all e type values.
    Least significant integer quotient bits left in EQUOT.  */
 
@@ -5389,6 +5398,7 @@ eremain (a, b, c)
     num[0] = 0xffff;
   emovo (num, c);
 }
+#endif
 
 /*  Return quotient of exploded e-types NUM / DEN in EQUOT,
     remainder in NUM.  */
@@ -5955,6 +5965,7 @@ ereal_from_double (d)
 }
 
 
+#if 0
 /* Convert target computer unsigned 64-bit integer to e-type.
    The endian-ness of DImode follows the convention for integers,
    so we use WORDS_BIG_ENDIAN here, not REAL_WORDS_BIG_ENDIAN.  */
@@ -6325,6 +6336,7 @@ esqrt (x, y)
   emdnorm (sq, k, 0, exp, 64);
   emovo (sq, y);
 }
+#endif
 #endif /* EMU_NON_COMPILE not defined */
 \f
 /* Return the binary precision of the significand for a given