summaryrefslogtreecommitdiff
path: root/gcc/ch
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-11 04:29:49 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-11 04:29:49 +0000
commit9a5bbcc22a3ee7c6f724e92e6367716b100fc4f7 (patch)
tree97625e0db2f6e73a7658484e5353f5687151cca6 /gcc/ch
parent072c61d7c300ac6348982272bcce135a4339d119 (diff)
downloadgcc-9a5bbcc22a3ee7c6f724e92e6367716b100fc4f7.tar.gz
Warning fixes:
* bb-reorder.c (build_scope_forest): Initialize variable `curr_scope'. * calls.c (expand_call): Likewise for variables `save_pending_stack_adjust' and `save_stack_pointer_delta'. * i386.c (function_arg_advance, function_arg): Cast to avoid signed/unsigned warnings. * i386.h (MEMORY_MOVE_COST): Likewise. * ifcvt.c (cond_exec_process_if_block): Initialize variables `else_start' and `else_end'. * libgcc2.h (__eh_alloc, __eh_free): Prototype. * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'. ch: * Makefile.in (EXPR_H): New dependency variable. (actions.o, expr.o): Use EXPR_H. (lang.o): Depend on RTL_H and EXPR_H. * lang.c: Include rtl.h and expr.h. (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. cp: * decl2.c (compare_options): Don't needlessly cast away const-ness. f: * com.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. java: * decl.c (create_primitive_vtable): Prototype. * jcf-write.c (generate_bytecode_insns): Initialize variable `saved_context'. * lang.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34490 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch')
-rw-r--r--gcc/ch/ChangeLog9
-rw-r--r--gcc/ch/Makefile.in10
-rw-r--r--gcc/ch/lang.c4
3 files changed, 17 insertions, 6 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog
index 18e04ff4991..624a63b0206 100644
--- a/gcc/ch/ChangeLog
+++ b/gcc/ch/ChangeLog
@@ -1,3 +1,12 @@
+2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (EXPR_H): New dependency variable.
+ (actions.o, expr.o): Use EXPR_H.
+ (lang.o): Depend on RTL_H and EXPR_H.
+
+ * lang.c: Include rtl.h and expr.h.
+ (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
+
2000-06-04 Philipp Thomas <pthomas@suse.de>
* Makefile.in(INTLLIBS): New macro.
diff --git a/gcc/ch/Makefile.in b/gcc/ch/Makefile.in
index 65a2aa35fc6..4bc7e3b76bb 100644
--- a/gcc/ch/Makefile.in
+++ b/gcc/ch/Makefile.in
@@ -249,6 +249,7 @@ native: config.status ../cc1chill$(exeext) ../chill
# CHILL language specific files.
+EXPR_H = $(srcdir)/../expr.h ../insn-codes.h
RTL_H = $(srcdir)/../rtl.h $(srcdir)/../rtl.def \
$(srcdir)/../machmode.h $(srcdir)/../machmode.def
TREE_H = $(srcdir)/../tree.h $(srcdir)/../real.h $(srcdir)/../tree.def \
@@ -274,8 +275,7 @@ $(srcdir)/hash.h:
actions.o : actions.c $(CONFIG_H) $(CHILL_TREE_H) actions.h $(RTL_H) \
lex.h $(srcdir)/../flags.h $(srcdir)/../input.h \
- $(srcdir)/../expr.h ../insn-codes.h $(srcdir)/../system.h \
- $(srcdir)/../toplev.h
+ $(EXPR_H) $(srcdir)/../system.h $(srcdir)/../toplev.h
convert.o : convert.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \
$(srcdir)/../tree.h $(srcdir)/../system.h $(srcdir)/../toplev.h \
$(srcdir)/../convert.h
@@ -284,15 +284,15 @@ decl.o : decl.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h lex.h \
except.o : except.c $(CONFIG_H) $(srcdir)/../tree.h $(RTL_H) $(CHILL_TREE_H) \
$(srcdir)/../system.h $(srcdir)/../toplev.h
expr.o : expr.c $(CONFIG_H) $(RTL_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \
- $(srcdir)/../expr.h ../insn-codes.h $(srcdir)/../tree.h lex.h \
- $(srcdir)/../system.h $(srcdir)/../toplev.h
+ $(EXPR_H) $(srcdir)/../tree.h lex.h $(srcdir)/../system.h \
+ $(srcdir)/../toplev.h
grant.o: grant.c $(CONFIG_H) $(CHILL_TREE_H) $(RTL_H) $(srcdir)/../flags.h \
$(srcdir)/../input.h lex.h actions.h $(srcdir)/../system.h \
$(srcdir)/../toplev.h $(srcdir)/../output.h
inout.o : inout.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \
$(srcdir)/../input.h $(srcdir)/../system.h $(srcdir)/../toplev.h
lang.o : lang.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../input.h lex.h \
- $(srcdir)/../system.h $(srcdir)/../toplev.h
+ $(srcdir)/../system.h $(srcdir)/../toplev.h $(EXPR_H) $(RTL_H)
lex.o : lex.c $(CONFIG_H) $(CHILL_TREE_H) $(RTL_H) $(srcdir)/../flags.h \
$(srcdir)/../input.h $(srcdir)/parse.h $(srcdir)/../system.h \
$(srcdir)/../toplev.h lex.h $(srcdir)/../dwarfout.h hash.h
diff --git a/gcc/ch/lang.c b/gcc/ch/lang.c
index 7b62c16b4f2..86d300425ba 100644
--- a/gcc/ch/lang.c
+++ b/gcc/ch/lang.c
@@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */
#include "lex.h"
#include "input.h"
#include "toplev.h"
+#include "rtl.h"
+#include "expr.h"
/* Type node for boolean types. */
@@ -288,7 +290,7 @@ incomplete_type_error (value, type)
HOST_WIDE_INT
lang_get_alias_set (t)
- tree t;
+ tree t ATTRIBUTE_UNUSED;
{
/* ??? Need to figure out what the rules are. Certainly we'd need
to handle union-like things, and probably variant records.