aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTim Josling <tej@melbpc.org.au>2002-05-06 21:57:48 +0000
committerTim Josling <timjosling@gcc.gnu.org>2002-05-06 21:57:48 +0000
commitd7ee9f9fa759ab04e844982d8818001f6ba7d4cd (patch)
treecf11518d64d2b8db96a4cbd286f6a6c9ba9069b6 /gcc
parent8d8563aebac33f1f72727f8a6c8fdd2d6670ad01 (diff)
downloadgcc-d7ee9f9fa759ab04e844982d8818001f6ba7d4cd.zip
gcc-d7ee9f9fa759ab04e844982d8818001f6ba7d4cd.tar.gz
gcc-d7ee9f9fa759ab04e844982d8818001f6ba7d4cd.tar.bz2
Added Tim Josling to MAINTAINERS file.
Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix broken treelang build resulting from changes to c-common.c. From-SVN: r53239
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/treelang/ChangeLog13
-rw-r--r--gcc/testsuite/treelang/Makefile.in20
-rw-r--r--gcc/testsuite/treelang/a01gcci01.c24
-rw-r--r--gcc/testsuite/treelang/a01gcci01.tree21
-rw-r--r--gcc/testsuite/treelang/treetests.exp20
-rw-r--r--gcc/treelang/ChangeLog4
-rw-r--r--gcc/treelang/treelang.texi6
-rw-r--r--gcc/treelang/treetree.c7
8 files changed, 112 insertions, 3 deletions
diff --git a/gcc/testsuite/treelang/ChangeLog b/gcc/testsuite/treelang/ChangeLog
index d7f7c78..09a6904 100644
--- a/gcc/testsuite/treelang/ChangeLog
+++ b/gcc/testsuite/treelang/ChangeLog
@@ -1,8 +1,17 @@
+2002-05-07 Tim Josling <tej@melbpc.org.au>
+
+ * Makefile.in: Fix copyright
+ * a01gcci01.c: Ditto
+ * a01gcci01.tree: Ditto
+ * treetests.exp: Ditto
+
2002-04-13 Tim Josling <tej@melbpc.org.au>
- * treetree.c (tree_code_create_function_initial)
- Remove duplicate call to layout_decl
+
+ * treetree.c (tree_code_create_function_initial)
+ Remove duplicate call to layout_decl
2001-12-02 Tim Josling <tej@melbpc.org.au>
+
* Make-lang.in
Ensure directory is built during install (installdirs dependency)
diff --git a/gcc/testsuite/treelang/Makefile.in b/gcc/testsuite/treelang/Makefile.in
index 908131b..e74b8bd 100644
--- a/gcc/testsuite/treelang/Makefile.in
+++ b/gcc/testsuite/treelang/Makefile.in
@@ -1,5 +1,25 @@
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+#
+# In other words, you are welcome to use, share and improve this program.
+# You are forbidden to forbid anyone else to use, share and improve
+# what you give them. Help stamp out software-hoarding!
+#
+#
all:
clean:
diff --git a/gcc/testsuite/treelang/a01gcci01.c b/gcc/testsuite/treelang/a01gcci01.c
index 69ab63d..4d857fa 100644
--- a/gcc/testsuite/treelang/a01gcci01.c
+++ b/gcc/testsuite/treelang/a01gcci01.c
@@ -1,5 +1,29 @@
/* Driver for treelang test pgm */
+/*
+
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ In other words, you are welcome to use, share and improve this program.
+ You are forbidden to forbid anyone else to use, share and improve
+ what you give them. Help stamp out software-hoarding!
+*/
+
int add(int, int);
int subtract(int, int);
int first_nonzero(int, int);
diff --git a/gcc/testsuite/treelang/a01gcci01.tree b/gcc/testsuite/treelang/a01gcci01.tree
index e1e1ac1..81d1309 100644
--- a/gcc/testsuite/treelang/a01gcci01.tree
+++ b/gcc/testsuite/treelang/a01gcci01.tree
@@ -1,5 +1,26 @@
// -*- c -*- c mode in emacs
+// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+// This program is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option) any
+// later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+//
+// In other words, you are welcome to use, share and improve this program.
+// You are forbidden to forbid anyone else to use, share and improve
+// what you give them. Help stamp out software-hoarding!
+
+
external_definition int add(int arg1, int arg2);
external_definition int subtract(int arg3, int arg4);
external_definition int first_nonzero(int arg5, int arg6);
diff --git a/gcc/testsuite/treelang/treetests.exp b/gcc/testsuite/treelang/treetests.exp
index 10e6f84..e5c2a85 100644
--- a/gcc/testsuite/treelang/treetests.exp
+++ b/gcc/testsuite/treelang/treetests.exp
@@ -1,9 +1,27 @@
# Tests for treelang; run from gcc/treelang/Make-lang.in => gcc/Makefile
+# find ttt for the actual tests
# Copyright (C) 1999, 2000, 2001, 2002 by The Free Software Foundation
-# find ttt for the actual tests
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+#
+# In other words, you are welcome to use, share and improve this program.
+# You are forbidden to forbid anyone else to use, share and improve
+# what you give them. Help stamp out software-hoarding!
# Check the pgm is even there and set up the basics
proc init_utility {pgm} {
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index 6a21aed..a0ec15f 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-07 Tim Josling <tej@melbpc.org.au>
+
+ * treetree.c: (cpp_get_options) Add.
+
2002-05-06 Tim Josling <tej@melbpc.org.au>
* .cvsignore: Add.
diff --git a/gcc/treelang/treelang.texi b/gcc/treelang/treelang.texi
index 499f160..8f9ea8f 100644
--- a/gcc/treelang/treelang.texi
+++ b/gcc/treelang/treelang.texi
@@ -1,4 +1,10 @@
\input texinfo @c -*-texinfo-*-
+
+@c NOTE THIS IS NOT A GOOD EXAMPLE OF HOW TO DO A MANUAL. FIXME!!!
+@c NOTE THIS IS NOT A GOOD EXAMPLE OF HOW TO DO A MANUAL. FIXME!!!
+@c NOTE THIS IS NOT A GOOD EXAMPLE OF HOW TO DO A MANUAL. FIXME!!!
+
+
@c %**start of header
@setfilename treelang.info
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 07cb1a5..34eb394 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -1127,6 +1127,13 @@ defer_fn (tree fn ATTRIBUTE_UNUSED)
abort ();
}
+/* Should not be called for treelang. */
+
+cpp_options
+*cpp_get_options (cpp_reader * cr ATTRIBUTE_UNUSED)
+{
+ abort ();
+}
/* Create the predefined scalar types of C,
and some nodes representing standard constants (0, 1, (void *) 0).