1. 08 Mar, 2000 35 commits
  2. 07 Mar, 2000 5 commits
    • [multiple changes] · e23c0ba3
      2000-03-07  Neil Booth  <NeilB@earthling.net>
      
      	* cppexp.c (struct operation, left_shift, right_shift,
      	cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
      	"int"s to "unsigned int"s.
      	* cpplib.c (detect_if_not_defined, do_assert, do_unassert):
      	Similarly.
      	* cpplib.h: Update for above.
      	* mkdeps.c (deps_init, deps_calc_target): Cast pointers
      	returned from allocations.
      
      	* cppinit.c (opt_comp, parse_options): New functions.
      	(handle_option): Use parse_option to parse a single command
      	line option, that possibly takes an argument.
      	(cpp_handle_options): Sort the array of command line options on
      	first invocation (non-ASCII hosts only).
      	(print_help): Update.
      
      2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
      
      	* mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
      	backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
      
      From-SVN: r32394
      Zack Weinberg committed
    • Test for PR gcj/163: · 28c231d6
      2000-03-07  Bryce McKinlay  <bryce@albatross.co.nz>
      
              Test for PR gcj/163:
              * libjava.lang/PR163.java: New file.
              * libjava.lang/PR163.xfail: New file.
      
      From-SVN: r32393
      Bryce McKinlay committed
    • libjava.exp (test_libjava_from_javac): Removed hack for interfaces. · c7ce272a
      	* lib/libjava.exp (test_libjava_from_javac): Removed hack for
      	interfaces.  Fail if jv-scan reports a parse error.
      
      From-SVN: r32392
      Tom Tromey committed
    • re GNATS gcj/108 (Compiler doesn't check access modifiers on interface implementations) · 1729c265
      2000-03-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* java-tree.h (IS_INIT_CHECKED): New flag.
      	* check-init.c (check_init): Test and set IS_INIT_CHECKED.
      	* parse.y (patch_string): Call force_evaluation_order on the
      	completed string concatenation tree.
      	* expr.c (force_evaluation_order): Call force_evaluation_order on
              function's arguments too.
      
      (This fixes the Java PR #108:
       http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00174.html)
      
      From-SVN: r32391
      Alexandre Petit-Bianco committed
    • cppfiles.c (_cpp_find_include_file): Make sure ih->name is initialized. · b0699dad
      	* cppfiles.c (_cpp_find_include_file): Make sure ih->name is
      	initialized.
      	* cppinit.c (cpp_cleanup): Free imp->nshort also.
      
      	* cpperror.c (cpp_print_containing_files,
      	cpp_print_file_and_line, v_cpp_message): Rename to
      	print_containing_files, print_file_and_line, and v_message.
      	* cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
      	to _cpp_parse_expr, parse_escape, and lex.
      	(parse_charconst): Remove broken multibyte support.
      	* cppfiles.c (include_hash): Make static.
      	(cpp_included): New function.
      	(merge_include_chains, find_include_file, finclude,
      	simplify_pathname): Rename to _cpp_merge_include_chains,
      	_cpp_find_include_file, _cpp_read_include_file, and
      	_cpp_simplify_pathname.
      	* cpphash.c (cpp_lookup, free_definition, delete_macro,
      	cpp_install, create_definition, macroexpand, compare_defs,
      	dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
      	_cpp_delete_macro, _cpp_install, _cpp_create_definition,
      	_cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
      	* cppinit.c (cpp_handle_option): Rename to handle_option, make
      	static.
      	* cpplib.c: Remove extern prototype of cpp_parse_expr.
      
      	* cpphash.h: Update prototypes.
      	* cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
      
      From-SVN: r32390
      Zack Weinberg committed