1. 18 Sep, 2003 20 commits
    • tree.def (FFS_EXPR, [...]): Delete unused tree codes. · 96123432
      
      	* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
      	PARITY_EXPR): Delete unused tree codes.
      	* c-common.c (c_common_truthvalue_conversion): Delete references
      	to FFS_EXPR and POPCOUNT_EXPR.
      	* c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
      	(pp_c_expression): Likewise.
      	* expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
      	CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
      	* fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
      	CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.  Add support for calls to
      	BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
      	and long long variants.
      
      	* cp/lex.c (init_operators): Remove operator_name_info for FFS_EXPR.
      	* cp/class.c (instantiate_type): Remove FFS_EXPR case.
      
      	* f/com.c (ffecom_overlap_): Remove FFS_EXPR case.
      	(ffecom_tree_canonize_ref_): Likewise.
      	(ffe_truthvalue_conversion): Likewise.
      
      	* java/expr.c (java_truthvalue_conversion): Remove FFS_EXPR case.
      	* java/check-init.c (check_init): Likewise.
      
      From-SVN: r71525
      Roger Sayle committed
    • re PR libstdc++/11504 (-Wcast-qual vs. stl_tree) · b2bc3339
      
      2003-09-18  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/11504
      	* acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
      	WARN_FLAGS, remove -Wno-format.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r71523
      Benjamin Kosnik committed
    • ffi.c (ffi_prep_args): Take account into the alignement for the register size. · df805cdc
      	* src/sh/ffi.c (ffi_prep_args): Take account into the alignement
      	for the register size.
      	(ffi_closure_helper_SYSV): Handle the structure return value
      	address correctly.
      	(ffi_closure_helper_SYSV): Return the appropriate type when
      	the registers are used for the structure return value.
      	* src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
      	the 64-bit return value.  Update copyright years.
      
      From-SVN: r71521
      Kaz Kojima committed
    • basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. · 0b5ce4f1
      
      2003-09-18  Petur Runolfsson  <peturr02@ru.is>
      
      	* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
      	* config/io/basic_file_stdio.h: Same.
      	* include/std/std_fstream.h (__ctype_type): Delete.
      	* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
      
      From-SVN: r71520
      Petur Runolfsson committed
    • Timer.java (finalize): Added "throws Throwable". · f27fd64e
      2003-09-18  Michael Koch  <konqueror@gmx.de>
      
      	* java/util/Timer.java (finalize): Added "throws Throwable".
      
      From-SVN: r71519
      Michael Koch committed
    • * ChangeLog: Fix recent commit. · 02aec31e
      From-SVN: r71518
      Volker Reichelt committed
    • re PR c++/12316 (trouble with garbage collection) · ef08de80
      	PR c++/12316
      	* testsuite/g++.dg/other/gc2.C: New test.
      
      	* cp/ChangeLog: Add PR number to patch for PR c++/12316.
      
      From-SVN: r71517
      Volker Reichelt committed
    • 2003-09-18 Michael Koch <konqueror@gmx.de> · 9fd64790
      	* java/net/DatagramSocket.java
      	(ch): Removed.
      	(receive): Use getChannel() instead of ch.
      	(send): Likewise.
      	(getChannel): Return null.
      	* java/net/ServerSocket.java
      	(ch): Removed.
      	(setChannel): Removed.
      	(implAccept): Use getChannel() instead of ch.
      	(close): Likewise.
      	(getChannel): Return null.
      	* java/net/Socket.java
      	(ch): Removed.
      	(connect): Use getChannel() instead of ch.
      	(setChannel): Removed.
      	(getChannel): Return null.
      
      From-SVN: r71516
      Michael Koch committed
    • Reported by Guilhem Lavaux and Julian Dolby · 780071b5
      2003-09-18  Mark Wielaard  <mark@klomp.org>
      
      	Reported by Guilhem Lavaux and Julian Dolby
      	* java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
      	field "serialPersistentFields", not "getSerialPersistentFields".
      
      From-SVN: r71515
      Mark Wielaard committed
    • jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR. · 1319e88e
      2003-09-16  Andrew Haley  <aph@redhat.com>
      
              * jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR.
      
      From-SVN: r71514
      Andrew Haley committed
    • c-pretty-print.h (pp_type_specifier_seq): Fix thinko. · 53de5204
              * c-pretty-print.h (pp_type_specifier_seq): Fix thinko.
              * c-pretty-print.c: Fix formatting.
              (pp_c_integer_constant): Append type annotation to literals.  Tidy.
              (pp_c_type_specifier): Tidy.
              (pp_c_compound_literal): New function.
              (pp_c_initializer): Simplify..
              (pp_c_initializer_list): Likewise.
              (pp_c_brace_enclosed_initializer_list): New function.
              (pp_c_postfix_expression): Simplify.
      
      cp/
              * error.c (dump_type): Simplify.  Use pp_type_specifier_seq for
              "C" types.
              * cxx-pretty-print.c (pp_cxx_type_specifier_seq): Fix thinko.
      
      From-SVN: r71511
      Gabriel Dos Reis committed
    • TimeZone.java: Initialize lazily. · 1ea8e73b
      2003-09-18  Ingo Proetel  <proetel@aicas.com>
      
      	* java/util/TimeZone.java: Initialize lazily.
      	* java/util/Locale.java (readManifest): Fix check for country.
      	* java/util/GregorianCalendar.java: Make use of ResourceBundle better
      	traceable
      	* java/util/Calendar.java: Make use of ResourceBundle better
      	traceable.
      
      From-SVN: r71509
      Ingo Proetel committed
    • 2003-09-18 Jeroen Frijters <jeroen@frijters.net> · fc08ad28
      	* java/sql/Timestamp.java
      	(valueOf): Fixed confusion of java.sql.Date and java.util.Date
      
      From-SVN: r71508
      Jeroen Frijters committed
    • LineNumberReader (read): Don't reset pos & limit when markPos is 0. · f5e2e1ad
      2003-09-18  David P Grove  <groved@us.ibm.com>
      
      	* java/io/LineNumberReader (read): Don't reset pos & limit when
      	markPos is 0.
      
      From-SVN: r71507
      David P Grove committed
    • [multiple changes] · 1216e03b
      2003-09-18  Dalibor Topic  <robilad@kaffe.org>
      
      	* gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
      	constant.
      	(computeArguments): use computeTypicalArguments.
      
      	* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
      	Compile_jikes.java and RMICException.java.
      	* gnu/java/rmi/rmic/Compile_kjc.java: New file.
      	* gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
      	* gnu/java/rmi/rmic/RMICException.java: Likewise.
      
      	* gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
      
      	* gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
      	(computeTypicalArguments): New method.
      	(compile): Print compiler output to System.out. Collect compiler
      	error output and use it in exception message.
      
      	* gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
      	(destination): Initialize to null.
      	(run): Replace file separator with '.' when processing class.
      	(processClass): Replace '.' with file separator when compiling
      	classes.
      	(findClass): Use SystemClassLoader to load class.
      	(generateStub): Use full class name for generated stub, that puts
      	it in right path.  Replace '.' with file separator when generating
      	stub file name. Write just the stub class name without package
      	information as class name, and constructor name. Write only
      	interface names for interfaces extending java.rmi.Remote as
      	implemented.
      	(generateSkel): Use full class name for generated skel, that puts
      	it in right path.  Replace '.' with file separator when generating
      	stub file name. Write just the stub class name without package
      	information as class name.
      
      2003-09-18  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am (rmi_java_source_files):
      	Added gnu/java/rmi/rmic/Compile_kjc.java,
      	gnu/java/rmi/rmic/Compile_jikes.java and
      	gnu/java/rmi/rmic/RMICException.java
      	* Makefile.in: Regenerated.
      
      From-SVN: r71506
      Michael Koch committed
    • mn10300.md (andsi3, [...]): Make them set_zn. · feb297fe
      * config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3,
      one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn.
      
      From-SVN: r71499
      Alexandre Oliva committed
    • tree-optimize.c (tree_rest_of_compilation): Save and restore input_location. · 5d4854c8
              * tree-optimize.c (tree_rest_of_compilation): Save and restore
              input_location.
      
              * semantics.c (expand_body): Don't save/restore input_location.
      
      From-SVN: r71498
      Richard Henderson committed
    • Daily bump. · 3b51279d
      From-SVN: r71493
      GCC Administrator committed
  2. 17 Sep, 2003 20 commits