summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authortimjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 06:19:24 +0000
committertimjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 06:19:24 +0000
commitd33902461b8428c70087bebd5746ad8c406a8890 (patch)
treeb43db3aeab597c5c80f4ce806857c9c5e01b36d4 /gcc/treelang
parent96f8cdd2acb7c34cae0d2573b4e42ec95bc0c553 (diff)
downloadgcc-d33902461b8428c70087bebd5746ad8c406a8890.tar.gz
treelang fix for rs6000.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67613 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog4
-rw-r--r--gcc/treelang/treetree.c11
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index da01b0bb710..edf9a6fef3f 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-08 Tim Josling <tej@melbpc.org.au>
+
+ * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
+
Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
* Make-lang.in: Add support for stageprofile and stagefeedback
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index bd3c26c5141..56b45551f56 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -854,6 +854,16 @@ objc_comptypes (tree lhs ATTRIBUTE_UNUSED,
return 0;
}
+/* Should not be called for treelang. Needed by RS6000 backend. */
+
+int c_lex (tree *value);
+
+int
+c_lex (tree *value ATTRIBUTE_UNUSED)
+{
+ abort ();
+}
+
/* Should not be called for treelang. */
tree
@@ -1273,3 +1283,4 @@ get_string (const char *s, size_t l)
t = get_identifier_with_length (s, l);
return IDENTIFIER_POINTER(t);
}
+