diff options
Diffstat (limited to 'gcc/java')
40 files changed, 58 insertions, 43 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3b8a95a6baf..7bdc8ca2087 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,18 @@ +2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> + + Update copyright years + +2014-01-02 Tobias Burnus <burnus@net-b.de> + + * jcf-dump.c (version): Update copyright notice dates. + * gcj.texi: Bump @copying's copyright year. + +2013-12-19 Jakub Jelinek <jakub@redhat.com> + + PR other/59545 + * class.c (hashUtf8String): Compute hash in unsigned type. + * javaop.h (WORD_TO_INT): Avoid signed integer overflow. + 2013-11-22 Andrew MacLeod <amacleod@redhat.com> * java-gimplify.c: Add required include files from gimple.h. @@ -22885,7 +22900,7 @@ Tue Mar 9 11:52:08 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> New directory. -Copyright (C) 1996-2013 Free Software Foundation, Inc. +Copyright (C) 1996-2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 5ed344cc0d2..d23a39f91d4 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -1,6 +1,6 @@ # Top level -*- makefile -*- fragment for the GNU compiler for the Java(TM) # language. -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. #This file is part of GCC. diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c index d8ed23964b7..191ab867eca 100644 --- a/gcc/java/boehm.c +++ b/gcc/java/boehm.c @@ -1,5 +1,5 @@ /* Functions related to the Boehm garbage collector. - Copyright (C) 2000-2013 Free Software Foundation, Inc. + Copyright (C) 2000-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c index 46d1d86820c..1ce9ce5c564 100644 --- a/gcc/java/builtins.c +++ b/gcc/java/builtins.c @@ -1,5 +1,5 @@ /* Built-in and inline functions for gcj - Copyright (C) 2001-2013 Free Software Foundation, Inc. + Copyright (C) 2001-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/class.c b/gcc/java/class.c index 532c9c1d94f..bbe7c863177 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1,5 +1,5 @@ /* Functions related to building classes and their related objects. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -920,7 +920,7 @@ hashUtf8String (const char *str, int len) { const unsigned char* ptr = (const unsigned char*) str; const unsigned char *limit = ptr + len; - int32 hash = 0; + uint32 hash = 0; for (; ptr < limit;) { int ch = UTF8_GET (ptr, limit); diff --git a/gcc/java/config-lang.in b/gcc/java/config-lang.in index 71fc29051d9..2e77f0062fe 100644 --- a/gcc/java/config-lang.in +++ b/gcc/java/config-lang.in @@ -1,6 +1,6 @@ # Top level configure fragment for the GNU compiler for the Java(TM) # language. -# Copyright (C) 1994-2013 Free Software Foundation, Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. #This file is part of GCC. diff --git a/gcc/java/constants.c b/gcc/java/constants.c index 64f6e696403..7e9cf2e7552 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -1,5 +1,5 @@ /* Handle the constant pool of the Java(TM) Virtual Machine. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 39b76a5cea0..53d6f89b2d5 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -1,6 +1,6 @@ /* Process declarations and variables for the GNU compiler for the Java(TM) language. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/except.c b/gcc/java/except.c index 9674abac22c..47c76e8e617 100644 --- a/gcc/java/except.c +++ b/gcc/java/except.c @@ -1,5 +1,5 @@ /* Handle exceptions for GNU compiler for the Java(TM) language. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 179bdad70f2..e66bdb152ab 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1,5 +1,5 @@ /* Process expressions for the GNU compiler for the Java(TM) language. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index efa24ea79b7..eb5472aa0c7 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -17,7 +17,7 @@ @c the word ``Java'. @c When this manual is copyrighted. -@set copyrights-gcj 2001-2013 +@set copyrights-gcj 2001-2014 @copying @c man begin COPYRIGHT diff --git a/gcc/java/java-except.h b/gcc/java/java-except.h index b2e97c4a114..cc97214588b 100644 --- a/gcc/java/java-except.h +++ b/gcc/java/java-except.h @@ -1,6 +1,6 @@ /* Definitions for exception handling for use by the GNU compiler for the Java(TM) language compiler. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c index cf1f97007ed..6c7a1b629e0 100644 --- a/gcc/java/java-gimplify.c +++ b/gcc/java/java-gimplify.c @@ -1,5 +1,5 @@ /* Java(TM) language-specific gimplification routines. - Copyright (C) 2003-2013 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def index 992d78abc5e..d0f4ce24c83 100644 --- a/gcc/java/java-tree.def +++ b/gcc/java/java-tree.def @@ -1,6 +1,6 @@ /* This file contains the definitions and documentation for the extra tree codes used by gcj. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index d96f0f61e1b..806d2d7a54d 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1,6 +1,6 @@ /* Definitions for parsing and type checking for the GNU compiler for the Java(TM) language. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/javaop.def b/gcc/java/javaop.def index 22767dfac10..2cc14a9dfdb 100644 --- a/gcc/java/javaop.def +++ b/gcc/java/javaop.def @@ -1,6 +1,6 @@ /* Table of opcodes for byte codes defined by the Java(TM) virtual machine specification. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/javaop.h b/gcc/java/javaop.h index 574c10c7992..fed05f1b32a 100644 --- a/gcc/java/javaop.h +++ b/gcc/java/javaop.h @@ -1,6 +1,6 @@ /* Utility macros to handle Java(TM) byte codes. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -154,7 +154,7 @@ WORD_TO_INT(jword w) { jint n = w & 0xffffffff; /* Mask lower 32 bits. */ n ^= (jint)1 << 31; - n -= (jint)1 << 31; /* Sign extend lower 32 bits to upper. */ + n -= (uint32)1 << 31; /* Sign extend lower 32 bits to upper. */ return n; } diff --git a/gcc/java/jcf-depend.c b/gcc/java/jcf-depend.c index 4b820aad5f4..89411c37750 100644 --- a/gcc/java/jcf-depend.c +++ b/gcc/java/jcf-depend.c @@ -1,6 +1,6 @@ /* Functions for handling dependency tracking when reading .class files. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index 7438174abaf..0a9cce162d4 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -1,7 +1,7 @@ /* Program to dump out a Java(TM) .class file. Functionally similar to Sun's javap. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -1227,7 +1227,7 @@ static void version (void) { printf ("jcf-dump %s%s\n\n", pkgversion_string, version_string); - printf ("Copyright %s 2013 Free Software Foundation, Inc.\n", _("(C)")); + printf ("Copyright %s 2014 Free Software Foundation, Inc.\n", _("(C)")); printf (_("This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n")); exit (0); diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 921b0992600..7491882254d 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -1,5 +1,5 @@ /* Utility routines for finding and reading Java(TM) .class files. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 5c84ddb711d..748f7c3e061 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -1,5 +1,5 @@ /* Parser for Java(TM) .class files. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jcf-path.c b/gcc/java/jcf-path.c index e4899fcecca..026bcb85160 100644 --- a/gcc/java/jcf-path.c +++ b/gcc/java/jcf-path.c @@ -1,5 +1,5 @@ /* Handle CLASSPATH, -classpath, and path searching. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c index d9d96513df4..10def13ca96 100644 --- a/gcc/java/jcf-reader.c +++ b/gcc/java/jcf-reader.c @@ -1,7 +1,7 @@ /* This file read a Java(TM) .class file. It is not stand-alone: It depends on tons of macros, and the intent is you #include this file after you've defined the macros. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 509f03120a6..8aa077e4c87 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -1,5 +1,5 @@ /* Utility macros to read Java(TM) .class files and byte codes. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jvgenmain.c b/gcc/java/jvgenmain.c index 6ade3f38f8a..5b14258af06 100644 --- a/gcc/java/jvgenmain.c +++ b/gcc/java/jvgenmain.c @@ -1,5 +1,5 @@ /* Program to generate "main" a Java(TM) class containing a main method. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index b66d14f522c..f37126a3a53 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -1,6 +1,6 @@ /* Specific flags and argument handling of the front-end of the GNU compiler for the Java(TM) language. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/lang-specs.h b/gcc/java/lang-specs.h index 5176ea3dd38..ebfbcc6b255 100644 --- a/gcc/java/lang-specs.h +++ b/gcc/java/lang-specs.h @@ -1,5 +1,5 @@ /* Definitions for specs for the GNU compiler for the Java(TM) language. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 6d89134debe..8a68691ccdb 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -1,5 +1,5 @@ /* Java(TM) language-specific utility routines. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/lang.opt b/gcc/java/lang.opt index 5965929fe2e..2968530cdc7 100644 --- a/gcc/java/lang.opt +++ b/gcc/java/lang.opt @@ -1,5 +1,5 @@ ; Options for the Java front end. -; Copyright (C) 2003-2013 Free Software Foundation, Inc. +; Copyright (C) 2003-2014 Free Software Foundation, Inc. ; ; This file is part of GCC. ; diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c index c4e088303c1..e2aa85560a6 100644 --- a/gcc/java/mangle.c +++ b/gcc/java/mangle.c @@ -1,6 +1,6 @@ /* Functions related to mangling class names for the GNU compiler for the Java(TM) language. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/mangle_name.c b/gcc/java/mangle_name.c index c23119b4f60..f58f0cb63b4 100644 --- a/gcc/java/mangle_name.c +++ b/gcc/java/mangle_name.c @@ -1,6 +1,6 @@ /* Shared functions related to mangling names for the GNU compiler for the Java(TM) language. - Copyright (C) 2001-2013 Free Software Foundation, Inc. + Copyright (C) 2001-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/parse.h b/gcc/java/parse.h index 3bd93bf93c9..2bd03ea0c78 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -1,5 +1,5 @@ /* Language parser definitions for the GNU compiler for the Java(TM) language. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. Contributed by Alexandre Petit-Bianco (apbianco@cygnus.com) This file is part of GCC. diff --git a/gcc/java/resource.c b/gcc/java/resource.c index 17155b8c362..8e5702f6fe2 100644 --- a/gcc/java/resource.c +++ b/gcc/java/resource.c @@ -1,5 +1,5 @@ /* Functions related to building resource files. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index 3a0aa3960a2..574029aac40 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -1,5 +1,5 @@ /* Handle types for the GNU compiler for the Java(TM) language. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/verify-glue.c b/gcc/java/verify-glue.c index 022f4c4e058..f0e1e4f97c0 100644 --- a/gcc/java/verify-glue.c +++ b/gcc/java/verify-glue.c @@ -1,5 +1,5 @@ /* Glue to interface gcj with bytecode verifier. - Copyright (C) 2003-2013 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/verify-impl.c b/gcc/java/verify-impl.c index 88387845a2c..e234f29cb15 100644 --- a/gcc/java/verify-impl.c +++ b/gcc/java/verify-impl.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2013 Free Software Foundation, Inc. +/* Copyright (C) 2001-2014 Free Software Foundation, Inc. This file is part of libgcj. diff --git a/gcc/java/verify.h b/gcc/java/verify.h index 63e5754abcd..e4490808b33 100644 --- a/gcc/java/verify.h +++ b/gcc/java/verify.h @@ -1,5 +1,5 @@ /* Declarations to interface gcj with bytecode verifier. - Copyright (C) 2003-2013 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/win32-host.c b/gcc/java/win32-host.c index 74366333aff..6ea7f51a3b6 100644 --- a/gcc/java/win32-host.c +++ b/gcc/java/win32-host.c @@ -1,5 +1,5 @@ /* Platform-Specific Win32 Functions - Copyright (C) 2003-2013 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/zextract.c b/gcc/java/zextract.c index 598db84288a..6b5b8890c61 100644 --- a/gcc/java/zextract.c +++ b/gcc/java/zextract.c @@ -1,7 +1,7 @@ /* Handle a .class file embedded in a .zip archive. This extracts a member from a .zip file, but does not handle uncompression (since that is not needed for classes.zip). - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/java/zipfile.h b/gcc/java/zipfile.h index e2b5024871c..ae963346934 100644 --- a/gcc/java/zipfile.h +++ b/gcc/java/zipfile.h @@ -1,5 +1,5 @@ /* Definitions for using a zipped' archive. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GCC. |