diff options
author | Tim Josling <tej@melbpc.org.au> | 2003-06-08 06:19:24 +0000 |
---|---|---|
committer | Tim Josling <timjosling@gcc.gnu.org> | 2003-06-08 06:19:24 +0000 |
commit | 2236275562e5a37fa3e8d14aa65d5708d5cc0dac (patch) | |
tree | b43db3aeab597c5c80f4ce806857c9c5e01b36d4 /gcc/treelang | |
parent | 797c8a9293dfdda97ac572656cae61e2649519b2 (diff) | |
download | gcc-2236275562e5a37fa3e8d14aa65d5708d5cc0dac.zip gcc-2236275562e5a37fa3e8d14aa65d5708d5cc0dac.tar.gz gcc-2236275562e5a37fa3e8d14aa65d5708d5cc0dac.tar.bz2 |
treelang fix for rs6000.
From-SVN: r67613
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index da01b0b..edf9a6f 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 bd3c26c..56b4555 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); } + |