Commit efe3eb65 by Kaveh R. Ghazi Committed by Jeff Law

Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.

        * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
        * cplus-dem.c: Delete.
        * Makefile.in (fold-const.o): depend on $(RTL_H).
        * fold-const.c: Include rtl.h to get the prototype for
        `set_identifier_local_value'.
        * loop.c (express_from_1): Remove unused variable `tmp'.
        (combine_givs): cast the first argument of bzero to char *.
        * toplev.c (display_help): Remove unused variable `looking_for_start'.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r21785
parent ce3c0b53
...@@ -12,6 +12,7 @@ Mon Aug 17 10:06:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> ...@@ -12,6 +12,7 @@ Mon Aug 17 10:06:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Jeff Law <law@cygnus.com> Jeff Law <law@cygnus.com>
* Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty. * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
* cplus-dem.c: Delete.
* Makefile.in (fold-const.o): depend on $(RTL_H). * Makefile.in (fold-const.o): depend on $(RTL_H).
......
...@@ -1300,7 +1300,7 @@ collect2.o : collect2.c $(CONFIG_H) system.h gansidecl.h gstab.h obstack.h \ ...@@ -1300,7 +1300,7 @@ collect2.o : collect2.c $(CONFIG_H) system.h gansidecl.h gstab.h obstack.h \
tlink.o: tlink.c $(DEMANGLE_H) hash.h $(CONFIG_H) system.h toplev.h tlink.o: tlink.c $(DEMANGLE_H) hash.h $(CONFIG_H) system.h toplev.h
hash.o: hash.c hash.h system.h toplev.h hash.o: hash.c hash.h system.h toplev.h
cplus-dem.o: cplus-dem.c $(DEMANGLE_H) cplus-dem.o: $(srcdir)/../libiberty/cplus-dem.c $(DEMANGLE_H)
underscore.c: s-under ; @true underscore.c: s-under ; @true
...@@ -1367,7 +1367,8 @@ tree.o : tree.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h toplev.h excep ...@@ -1367,7 +1367,8 @@ tree.o : tree.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h toplev.h excep
print-tree.o : print-tree.c $(CONFIG_H) system.h $(TREE_H) print-tree.o : print-tree.c $(CONFIG_H) system.h $(TREE_H)
stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h \ stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h \
function.h $(EXPR_H) $(RTL_H) toplev.h except.h function.h $(EXPR_H) $(RTL_H) toplev.h except.h
fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h \
$(RTL_H)
toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) \ toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) \
flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \ flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
insn-codes.h insn-config.h $(RECOG_H) Makefile toplev.h dwarfout.h \ insn-codes.h insn-config.h $(RECOG_H) Makefile toplev.h dwarfout.h \
......
...@@ -47,6 +47,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -47,6 +47,7 @@ Boston, MA 02111-1307, USA. */
#include <setjmp.h> #include <setjmp.h>
#include "flags.h" #include "flags.h"
#include "tree.h" #include "tree.h"
#include "rtl.h"
#include "toplev.h" #include "toplev.h"
/* Handle floating overflow for `const_binop'. */ /* Handle floating overflow for `const_binop'. */
......
...@@ -6053,7 +6053,7 @@ express_from_1 (a, b, mult) ...@@ -6053,7 +6053,7 @@ express_from_1 (a, b, mult)
if (GET_CODE (a) == PLUS) if (GET_CODE (a) == PLUS)
{ {
rtx ra, oa, tmp; rtx ra, oa;
ra = XEXP (a, 0), oa = XEXP (a, 1); ra = XEXP (a, 0), oa = XEXP (a, 1);
if (rtx_equal_p (oa, b)) if (rtx_equal_p (oa, b))
...@@ -6251,10 +6251,10 @@ combine_givs (bl) ...@@ -6251,10 +6251,10 @@ combine_givs (bl)
giv_array[i++] = g1; giv_array[i++] = g1;
stats = (struct combine_givs_stats *) alloca (giv_count * sizeof (*stats)); stats = (struct combine_givs_stats *) alloca (giv_count * sizeof (*stats));
bzero (stats, giv_count * sizeof (*stats)); bzero ((char *) stats, giv_count * sizeof (*stats));
can_combine = (rtx *) alloca (giv_count * giv_count * sizeof(rtx)); can_combine = (rtx *) alloca (giv_count * giv_count * sizeof(rtx));
bzero (can_combine, giv_count * giv_count * sizeof(rtx)); bzero ((char *) can_combine, giv_count * giv_count * sizeof(rtx));
for (i = 0; i < giv_count; i++) for (i = 0; i < giv_count; i++)
{ {
......
...@@ -4021,8 +4021,6 @@ display_help () ...@@ -4021,8 +4021,6 @@ display_help ()
if (NUM_ELEM (documented_lang_options) > 1) if (NUM_ELEM (documented_lang_options) > 1)
{ {
int looking_for_start = 0;
printf ("\nLanguage specific options:\n"); printf ("\nLanguage specific options:\n");
for (i = 0; i < NUM_ELEM (documented_lang_options); i++) for (i = 0; i < NUM_ELEM (documented_lang_options); i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment