* treelang.c: Remove cpp_post_options.
+2002-08-13 Tim Josling <tej@melbpc.org.au>
+
+ * parse.y: Provide dummy definition of rtx for use by config.h.
+ * Make-lang.in (treetree.o): Remove dependency on non-existent
+ gt-treelang-treelang.h.
+ (gt-treelang-treelang.h): Remove.
+
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
treelang/tree1.o: $(srcdir)/treelang/tree1.c $(srcdir)/treelang/treelang.h \
$(srcdir)/treelang/parse.h $(CONFIG_H) \
- gt-treelang-tree1.h gt-treelang-treelang.h gtype-treelang.h
+ gt-treelang-tree1.h gtype-treelang.h
$(CC) -o $@ -c $(ALL_CFLAGS) $(INCLUDES) $<
treelang/treetree.o: $(srcdir)/treelang/treetree.c $(srcdir)/treelang/treetree.h \
--output=$(srcdir)/treelang/parse.c --defines
# -v
-gt-treelang-tree1.h gt-treelang-treelang.h gtype-treelang.h : s-gtype; @true
+gt-treelang-tree1.h gtype-treelang.h : s-gtype; @true
#\f
# Build hooks:
if [ -f $$name ] ; then \
name2="`echo \`basename $$name\` | sed -e '$(program_transform_name)' `"; \
rm -f $(bindir)/$$name2$(exeext); \
+ echo $(INSTALL_PROGRAM) $$name$(exeext) $(bindir)/$$name2$(exeext); \
$(INSTALL_PROGRAM) $$name$(exeext) $(bindir)/$$name2$(exeext); \
chmod a+x $(bindir)/$$name2$(exeext); \
fi ; \
type_node = get_type_for_numeric_type (parm->type);
type_list = tree_cons (NULL_TREE, type_node, type_list);
}
- /* Last parm if null indicates fixed length list (as opposed to
+ /* Last parm if void indicates fixed length list (as opposed to
printf style va_* list). */
type_list = tree_cons (NULL_TREE, void_type_node, type_list);
/* The back end needs them in reverse order. */
int
maybe_objc_comptypes (tree lhs ATTRIBUTE_UNUSED,
tree rhs ATTRIBUTE_UNUSED,
+ int reflexive ATTRIBUTE_UNUSED);
+
+int
+maybe_objc_comptypes (tree lhs ATTRIBUTE_UNUSED,
+ tree rhs ATTRIBUTE_UNUSED,
int reflexive ATTRIBUTE_UNUSED)
{
return -1;
/* Tell the c code we are not objective C. */
tree
+maybe_building_objc_message_expr (void);
+
+tree
maybe_building_objc_message_expr ()
{
return 0;
}
+/* Tell the c code we are not objective C. */
+
+int
+objc_comptypes (tree lhs ATTRIBUTE_UNUSED,
+ tree rhs ATTRIBUTE_UNUSED,
+ int reflexive ATTRIBUTE_UNUSED)
+{
+ return 0;
+}
+
/* Should not be called for treelang. */
tree
/* Should not be called for treelang. */
void
-cpp_preprocess_file (cpp_reader *pfile ATTRIBUTE_UNUSED)
+cpp_post_options (cpp_reader *pfile ATTRIBUTE_UNUSED)
{
abort ();
}
/* Should not be called for treelang. */
-void
-cpp_finish (cpp_reader *pfile ATTRIBUTE_UNUSED)
+int
+cpp_finish (cpp_reader *pfile ATTRIBUTE_UNUSED, FILE *f ATTRIBUTE_UNUSED)
{
abort ();
}
/* Should not be called for treelang. */
void
+maybe_objc_check_decl (tree decl ATTRIBUTE_UNUSED);
+
+void
maybe_objc_check_decl (tree decl ATTRIBUTE_UNUSED)
{
abort ();
}
+/* Used for objective C. */
+
+void
+objc_check_decl (tree decl ATTRIBUTE_UNUSED);
+
+void
+objc_check_decl (tree decl ATTRIBUTE_UNUSED)
+{
+}
+
+/* Tell the c code we are not objective C. */
+
+tree
+objc_message_selector (void);
+
+tree
+objc_message_selector ()
+{
+ return 0;
+}
+
/* Should not be called for treelang. */
void