This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Details of patch to fix treelang copyrights


This was applied about 14 hours ago.  As well as fixing the copyrigths,
it also adds a minor change to allow treelang to build again since a
change to c-common.c

Tim Josling

diff -c old.cvs/gcc/gcc/testsuite/treelang/ChangeLog
cvs/gcc/gcc/testsuite/treelang/ChangeLog
*** old.cvs/gcc/gcc/testsuite/treelang/ChangeLog        Tue May  7
20:24:56 2002
--- cvs/gcc/gcc/testsuite/treelang/ChangeLog    Tue May  7 07:37:05 2002

***************
*** 1,8 ****
  2002-04-13  Tim Josling  <tej@melbpc.org.au>
!       * 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)

--- 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

  2001-12-02  Tim Josling  <tej@melbpc.org.au>
+
        * Make-lang.in
        Ensure directory is built during install (installdirs
dependency)

diff -c old.cvs/gcc/gcc/testsuite/treelang/Makefile.in
cvs/gcc/gcc/testsuite/treelang/Makefile.in
*** old.cvs/gcc/gcc/testsuite/treelang/Makefile.in      Tue May  7
20:24:56 2002
--- cvs/gcc/gcc/testsuite/treelang/Makefile.in  Tue May  7 06:54:51 2002

***************
*** 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 -c old.cvs/gcc/gcc/testsuite/treelang/a01gcci01.c
cvs/gcc/gcc/testsuite/treelang/a01gcci01.c
*** old.cvs/gcc/gcc/testsuite/treelang/a01gcci01.c      Tue May  7
20:24:56 2002
--- cvs/gcc/gcc/testsuite/treelang/a01gcci01.c  Tue May  7 06:56:32 2002

***************
*** 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 -c old.cvs/gcc/gcc/testsuite/treelang/a01gcci01.tree
cvs/gcc/gcc/testsuite/treelang/a01gcci01.tree
*** old.cvs/gcc/gcc/testsuite/treelang/a01gcci01.tree   Tue May  7
20:24:56 2002
--- cvs/gcc/gcc/testsuite/treelang/a01gcci01.tree       Tue May  7
06:56:16 2002
***************
*** 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 -c old.cvs/gcc/gcc/testsuite/treelang/treetests.exp
cvs/gcc/gcc/testsuite/treelang/treetests.exp
*** old.cvs/gcc/gcc/testsuite/treelang/treetests.exp    Tue May  7
20:24:56 2002
--- cvs/gcc/gcc/testsuite/treelang/treetests.exp        Tue May  7
06:58:16 2002
***************
*** 1,9 ****

  # Tests for treelang; run from gcc/treelang/Make-lang.in =>
gcc/Makefile

  # Copyright (C) 1999, 2000, 2001, 2002 by The Free Software Foundation


! # find ttt for the actual tests

  # Check the pgm is even there and set up the basics
  proc init_utility {pgm} {
--- 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


! # 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 -c old.cvs/gcc/gcc/treelang/ChangeLog
cvs/gcc/gcc/treelang/ChangeLog
*** old.cvs/gcc/gcc/treelang/ChangeLog  Tue May  7 20:24:56 2002
--- cvs/gcc/gcc/treelang/ChangeLog      Tue May  7 07:34:04 2002
***************
*** 1,3 ****
--- 1,11 ----
+ 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.
+
  2002-05-05  Tim Josling  <tej@melbpc.org.au>

        * Updated for gcc3.2 experimental. Major changes throughout.
Only in cvs/gcc/gcc/treelang: lex.c
Only in cvs/gcc/gcc/treelang: parse.c
Only in cvs/gcc/gcc/treelang: parse.h
Only in cvs/gcc/gcc/treelang: parse.output
diff -c old.cvs/gcc/gcc/treelang/treelang.texi
cvs/gcc/gcc/treelang/treelang.texi
*** old.cvs/gcc/gcc/treelang/treelang.texi      Tue May  7 20:24:56 2002

--- cvs/gcc/gcc/treelang/treelang.texi  Tue May  7 07:26:03 2002
***************
*** 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 -c old.cvs/gcc/gcc/treelang/treetree.c
cvs/gcc/gcc/treelang/treetree.c
*** old.cvs/gcc/gcc/treelang/treetree.c Tue May  7 20:24:56 2002
--- cvs/gcc/gcc/treelang/treetree.c     Tue May  7 07:38:21 2002
***************
*** 1127,1132 ****
--- 1127,1139 ----
    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).



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]