From: timjosling Date: Mon, 6 May 2002 21:57:48 +0000 (+0000) Subject: Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09b8097e4cafe3e8cd0e44f136056fce86ccad74;p=thirdparty%2Fgcc.git Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix broken treelang build resulting from changes to c-common.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53239 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/treelang/ChangeLog b/gcc/testsuite/treelang/ChangeLog index d7f7c78948bb..09a69046ad4b 100644 --- a/gcc/testsuite/treelang/ChangeLog +++ b/gcc/testsuite/treelang/ChangeLog @@ -1,8 +1,17 @@ +2002-05-07 Tim Josling + + * Makefile.in: Fix copyright + * a01gcci01.c: Ditto + * a01gcci01.tree: Ditto + * treetests.exp: Ditto + 2002-04-13 Tim Josling - * 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 + * 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 908131bd110a..e74b8bdf10ec 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 69ab63dac97d..4d857fac9cbe 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 e1e1ac1659fb..81d130999a14 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 10e6f8419c1e..e5c2a85989f8 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 6a21aedfe5a1..a0ec15f9c022 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,7 @@ +2002-05-07 Tim Josling + + * treetree.c: (cpp_get_options) Add. + 2002-05-06 Tim Josling * .cvsignore: Add. diff --git a/gcc/treelang/treelang.texi b/gcc/treelang/treelang.texi index 499f160161bd..8f9ea8f6506b 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 07cb1a5e5edd..34eb3946ae61 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).