diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-18 08:19:29 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-18 08:19:29 +0000 |
commit | 55f27842d18f4eb1a387cf998094458ca8da3cd1 (patch) | |
tree | 62cf6184818c603c685606e085631ca9c1bf9bcb | |
parent | 12e4492e7d498f3b0ebf1f7c212359522df44d4d (diff) | |
download | gcc-55f27842d18f4eb1a387cf998094458ca8da3cd1.tar.gz |
* parse.y: Change copyright header to refer to version 3 of the GNU
General Public License and to point readers at the COPYING3 file.
* lex.l: Likewise.
* lang.opt: Likewise.
* lang-specs.h: Likewise.
* treelang.h: Likewise.
* config-lang.in: Likewise.
* tree-convert.c: Likewise.
* treetree.c: Likewise.
* tree1.c: Likewise.
* Make-lang.in: Likewise.
* treetree.h: Likewise.
* spec.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126713 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/treelang/ChangeLog | 17 | ||||
-rw-r--r-- | gcc/treelang/Make-lang.in | 28 | ||||
-rw-r--r-- | gcc/treelang/config-lang.in | 28 | ||||
-rw-r--r-- | gcc/treelang/lang-specs.h | 27 | ||||
-rw-r--r-- | gcc/treelang/lang.opt | 10 | ||||
-rw-r--r-- | gcc/treelang/lex.l | 9 | ||||
-rw-r--r-- | gcc/treelang/parse.y | 9 | ||||
-rw-r--r-- | gcc/treelang/spec.c | 27 | ||||
-rw-r--r-- | gcc/treelang/tree-convert.c | 28 | ||||
-rw-r--r-- | gcc/treelang/tree1.c | 17 | ||||
-rw-r--r-- | gcc/treelang/treelang.h | 59 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 10 | ||||
-rw-r--r-- | gcc/treelang/treetree.h | 57 |
13 files changed, 166 insertions, 160 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 65dfa89a85e..4f5f4d1f60a 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,20 @@ +2007-07-17 Nick Clifton <nickc@redhat.com> + + * parse.y: Change copyright header to refer to version 3 of the + GNU General Public License and to point readers at the COPYING3 + file. + * lex.l: Likewise. + * lang.opt: Likewise. + * lang-specs.h: Likewise. + * treelang.h: Likewise. + * config-lang.in: Likewise. + * tree-convert.c: Likewise. + * treetree.c: Likewise. + * tree1.c: Likewise. + * Make-lang.in: Likewise. + * treetree.h: Likewise. + * spec.c: Likewise. + 2007-06-11 Rafael Avila de Espindola <espindola@google.com> * treetree.c (tree_lang_signed_type): Remove. diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in index 0a297a06275..7623734bca6 100644 --- a/gcc/treelang/Make-lang.in +++ b/gcc/treelang/Make-lang.in @@ -1,24 +1,24 @@ # Top level makefile fragment for TREELANG For GCC. -*- makefile -*- # Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, -# 2006 Free Software Foundation, Inc. +# 2006, 2007 Free Software Foundation, Inc. -#This file is part of GCC. +# This file is part of GCC. -#GCC 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. +# GCC 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 3, or (at your option) +# any later version. -#GCC 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. +# GCC 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 GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. -#You should have received a copy of the GNU General Public License -#along with GCC; see the file COPYING. If not, write to -#the Free Software Foundation, 51 Franklin Street, Fifth Floor, -#Boston, MA 02110-1301, USA. # This file provides the language dependent support in the main Makefile. # Each language makefile fragment must provide the following targets: diff --git a/gcc/treelang/config-lang.in b/gcc/treelang/config-lang.in index 69c4a76e49f..9c0c0c4f7f0 100644 --- a/gcc/treelang/config-lang.in +++ b/gcc/treelang/config-lang.in @@ -1,22 +1,22 @@ # Top level configure fragment for GNU C++. -# Copyright (C) 1994, 1995, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2007 Free Software Foundation, Inc. -#This file is part of GCC. +# This file is part of GCC. -#GCC 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. +# GCC 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 3, or (at your option) +# any later version. -#GCC 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. +# GCC 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 GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. -#You should have received a copy of the GNU General Public License -#along with GCC; see the file COPYING. If not, write to -#the Free Software Foundation, 51 Franklin Street, Fifth Floor, -#Boston, MA 02110-1301, USA. # Configure looks for the existence of this file to auto-config each language. # We define several parameters used by configure: diff --git a/gcc/treelang/lang-specs.h b/gcc/treelang/lang-specs.h index 096f39dc9df..4d9ae2bac7d 100644 --- a/gcc/treelang/lang-specs.h +++ b/gcc/treelang/lang-specs.h @@ -2,24 +2,23 @@ The format of the specs file is documented in gcc.c - Copyright (C) 1995, 96-98, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1995, 96-98, 1999, 2000, 2001, 2002, 2007 Free Software Foundation, Inc. -This file is part of GCC. + This file is part of GCC. -GCC 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. + GCC 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 3, or (at your option) + any later version. -GCC 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. + GCC 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; see the file COPYING. If not, write to -the Free Software Foundation, 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ /* This is the contribution to the `default_compilers' array in GCC.c for diff --git a/gcc/treelang/lang.opt b/gcc/treelang/lang.opt index 484f22f06cf..9b461d6b614 100644 --- a/gcc/treelang/lang.opt +++ b/gcc/treelang/lang.opt @@ -1,11 +1,11 @@ ; Options for the treelang front end. -; Copyright (C) 2003 Free Software Foundation, Inc. +; Copyright (C) 2003, 2007 Free Software Foundation, Inc. ; ; This file is part of GCC. ; ; GCC 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 +; Software Foundation; either version 3, or (at your option) any later ; version. ; ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY @@ -14,9 +14,9 @@ ; for more details. ; ; You should have received a copy of the GNU General Public License -; along with GCC; see the file COPYING. If not, write to the Free -; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -; 02110-1301, USA. +; along with GCC; see the file COPYING3. If not see +; <http://www.gnu.org/licenses/>. + ; See the GCC internals manual for a description of this file's format. diff --git a/gcc/treelang/lex.l b/gcc/treelang/lex.l index a372f984c80..a41cccdd6bf 100644 --- a/gcc/treelang/lex.l +++ b/gcc/treelang/lex.l @@ -5,11 +5,11 @@ --------------------------------------------------------------------- Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, - 2004, 2005 Free Software Foundation, Inc. + 2004, 2005, 2007 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 + Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -18,9 +18,8 @@ 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, 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + along with this program; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. 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 diff --git a/gcc/treelang/parse.y b/gcc/treelang/parse.y index 740237c8b98..65225205bd5 100644 --- a/gcc/treelang/parse.y +++ b/gcc/treelang/parse.y @@ -3,12 +3,12 @@ --------------------------------------------------------------------- -Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 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 +Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -17,9 +17,8 @@ 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, 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. +along with this program; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. 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 diff --git a/gcc/treelang/spec.c b/gcc/treelang/spec.c index a6a644f3c14..604ec31a46f 100644 --- a/gcc/treelang/spec.c +++ b/gcc/treelang/spec.c @@ -1,22 +1,21 @@ /* Specific flags and argument handling of the Treelang front-end. - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. -This file is part of GCC. + This file is part of GCC. -GNU CC 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. + GCC 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 3, or (at your option) + any later version. -GNU CC 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. + GCC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with GNU CC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ #include "config.h" #include "system.h" diff --git a/gcc/treelang/tree-convert.c b/gcc/treelang/tree-convert.c index 400c59c8df0..f111d6d7425 100644 --- a/gcc/treelang/tree-convert.c +++ b/gcc/treelang/tree-convert.c @@ -1,23 +1,23 @@ /* Language-level data type conversion for Treelang. This is a very slightly modified copy of c-convert.c. - Copyright (C) 1987, 1988, 1991, 1998, 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1991, 1998, 2002, 2003, 2007 + Free Software Foundation, Inc. -This file is part of GCC. + This file is part of GCC. -GCC 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. + GCC 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 3, or (at your option) any later + version. -GCC 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. + GCC 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 GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ /* This file contains the functions for converting C expressions diff --git a/gcc/treelang/tree1.c b/gcc/treelang/tree1.c index cec2baf717d..d581f94cf51 100644 --- a/gcc/treelang/tree1.c +++ b/gcc/treelang/tree1.c @@ -1,13 +1,13 @@ /* TREELANG Compiler almost main (tree1) Called by GCC's toplev.c - Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004 - Free Software Foundation, Inc. + Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004, + 2007 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 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 3 of the License, 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 @@ -15,9 +15,8 @@ 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, 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + along with this program; see the file COPYING3. If not, see + <http://www.gnu.org/licenses/>. 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 diff --git a/gcc/treelang/treelang.h b/gcc/treelang/treelang.h index 6850e00091e..ba28cc4514f 100644 --- a/gcc/treelang/treelang.h +++ b/gcc/treelang/treelang.h @@ -1,35 +1,30 @@ -/* - - TREELANG Compiler common definitions (treelang.h) - - Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004 - 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, 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, 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! - - --------------------------------------------------------------------------- - - Written by Tim Josling 1999, 2000, 2001, based in part on other - parts of the GCC compiler. - -*/ +/* TREELANG Compiler common definitions (treelang.h) + + Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004, + 2007 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 3, 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; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. + + 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! + + --------------------------------------------------------------------------- + + Written by Tim Josling 1999, 2000, 2001, based in part on other + parts of the GCC compiler. */ #include "input.h" diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c index 477c1967e9a..b4fe6556fde 100644 --- a/gcc/treelang/treetree.c +++ b/gcc/treelang/treetree.c @@ -5,7 +5,8 @@ you are in the right place. Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 + Free Software Foundation, Inc. This code is based on toy.c written by Richard Kenner. @@ -23,7 +24,7 @@ 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 + Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -32,9 +33,8 @@ 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, 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + along with this program; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. 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 diff --git a/gcc/treelang/treetree.h b/gcc/treelang/treetree.h index 6ff2de1d811..edfb33c03fd 100644 --- a/gcc/treelang/treetree.h +++ b/gcc/treelang/treetree.h @@ -1,32 +1,31 @@ -/* TREELANG Compiler definitions for interfacing to treetree.c - (compiler back end interface). - - Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, - 2004, 2005 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, 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, 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! - - --------------------------------------------------------------------------- - - Written by Tim Josling 1999, 2000, 2001, based in part on other - parts of the GCC compiler. */ +/* TREELANG Compiler definitions for interfacing to treetree.c + (compiler back end interface). + + Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, + 2004, 2005, 2007 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 3, 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; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. + + 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! + + --------------------------------------------------------------------------- + + Written by Tim Josling 1999, 2000, 2001, based in part on other + parts of the GCC compiler. */ tree tree_code_init_parameters (void); tree tree_code_add_parameter (tree list, tree proto_exp, tree exp); |