1. 08 Mar, 2005 27 commits
  2. 07 Mar, 2005 13 commits
    • class.c (finish_struct_1): Do not warn about non-virtual destructors in Java classes. · f03e8526
      	* class.c (finish_struct_1): Do not warn about non-virtual
      	destructors in Java classes.
      
      	* g++.dg/warn/Wnvdtor.C: New test.
      
      From-SVN: r96054
      Mark Mitchell committed
    • host-cygwin.c: New file to support precompiled headers on cygwin · 5fa09df4
      2005-03-08  Earl Chew <earl_chew@agilent.com>
      	    David Billinghurst <David.Billinghurst@riotinto.com>
      
      	* config/i386/host-cygwin.c: New file to support precompiled
      	headers on cygwin
      	* config/i386/x-cygwin: Use host-cygwin.c on cygwin host
      	* config.host: Use above files for cygwin host.
      
      Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>
      
      From-SVN: r96050
      Earl Chew committed
    • type_traits (is_polymorphic): Don't forget the virtual destructor, thus avoiding warnings. · cff001b2
      2005-03-07  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/type_traits (is_polymorphic): Don't forget
      	the virtual destructor, thus avoiding warnings.
      	* testsuite/testsuite_tr1.h (class AbstractClass,
      	class PolymorphicClass): Likewise.
      
      2005-03-07  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/std/std_complex.h (pow(const complex<_Tp>&,
      	const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
      	__y.__rep()) or __complex_pow(__x, __y) depending on the macro
      	_GLIBCXX_USE_C99_COMPLEX.
      
      From-SVN: r96048
      Paolo Carlini committed
    • fold-const.c (fold_binary_op_with_conditional_arg): Fix typo ordering ops from earlier change. · 92db3ec9
              * fold-const.c (fold_binary_op_with_conditional_arg): Fix typo
              ordering ops from earlier change.
      
      From-SVN: r96046
      David Edelsohn committed
    • Various fixes to allow us to again build if --enable-mapped-location: · dbce1570
      	* c-decl.c (finish_function): Use SET_EXPR_LOCATION instead of
      	unavailable annotate_with_file_line, if USE_MAPPED_LOCATION.
      	* tree-cfg.c (remove_bb): If USE_MAPPED_LOCATION, change type of
      	local variable loc. Change logic appropriately.
      	* tree-vect-transform.c (vect_finish_stmt_generation): Use
      	EXPR_LOCATION rather than EXPR_LOCUS if USE_MAPPED_LOCATION.
      	* c-parser.c (c_parser_for_statement): Initialize loc variable.
      	* tree.h (DECL_IS_BUILTIN): Temporarily revert definition of
      	DECL_IS_BUILTIN in the USE_MAPPED_LOCATION because of jc1 issues.
      
      From-SVN: r96045
      Per Bothner committed
    • [multiple changes] · a2da2c9a
      2005-03-04  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* verify-glue.c (vfy_is_assignable_from): Perform static check using
      	can_widen_reference_to if the C++ ABI is in use.
      	(vfy_get_interface_count, vfy_get_interface): Remove unused functions.
      	* verify-impl.c (debug_print, make_utf8_const, init_type, copy_type,
      	type_isresolved, init_state, set_pc, state_get_pc,
      	_Jv_BytecodeVerifier): Clean up unused and disabled functions.
      	(verify_fail): Report the current PC from the verifier context.
      	(free_state): Remove #if 0 block to enable this function.
      	(free_verifier_context): Call free_state on state_list iterator
      	values before freeing them.
      	* expr.c (pop_type_0): Pop correct type for error message when stack
      	contains a multi-word type.
      
      2005-03-04  Ranjit Mathew  <rmathew@hotmail.com>
      
      	* expr.c (build_java_array_length_access): Remove !flag_new_verifier
      	for known NULL array length access.
      
      From-SVN: r96044
      Bryce McKinlay committed
    • mpw-config.in: Remove. · c80d391c
      	* mpw-config.in: Remove.
      	* mpw-make.sed: Remove.
      	* mpw.c: Remove.
      	* Makefile.in (CFILES): Remove pex-mpw.c.
      	(CONFIGURED_OFILES): Remove pex-mpw.o.
      	(mpw.o, pex-mpw.o): Remove targets.
      	* maint-tool (undoc): Remove reference to mpw.c.
      
      From-SVN: r96043
      Ian Lance Taylor committed
    • gcj.texi (Invoking gcj-dbtool): Document '-f'. · 7f8b151b
      gcc/java:
      	* gcj.texi (Invoking gcj-dbtool): Document '-f'.
      libjava:
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
      	(usage): Document '-f'.
      
      From-SVN: r96041
      Tom Tromey committed
    • VMCompiler.java (md5Digest): New field. · 088a1762
      	* java/lang/VMCompiler.java (md5Digest): New field.
      	(compileClass): Clone md5Digest instead of looking up a new one.
      
      From-SVN: r96039
      Tom Tromey committed
    • re PR rtl-optimization/19683 (MIPS wrong-code for 64-bit multiply.) · 1de80b0e
      	PR rtl-optimization/19683
      	* reload1.c (choose_reload_regs): Pass the number of bits, not the
      	number of bytes, to smallest_int_for_mode.  Fix arguments to
      	REG_CANNOT_CHANGE_MODE_P.
      
      From-SVN: r96033
      Richard Sandiford committed
    • re PR java/20215 (gcj does not accept classes with same name fields) · 21b23409
      	PR java/20215:
      	* include/jvm.h (_Jv_Linker::find_field_helper): Updated.
      	* link.cc (find_field_helper): Added 'type' argument.
      	(find_field): Updated.
      
      From-SVN: r96032
      Tom Tromey committed
    • std_fstream.h (basic_fstream<>::open, [...]): Implement the resolution of DR 409… · 7a59efae
      std_fstream.h (basic_fstream<>::open, [...]): Implement the resolution of DR 409 [Ready], call clear() on success.
      
      2005-03-07  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/std/std_fstream.h (basic_fstream<>::open,
      	basic_ifstream<>::open, basic_ofstream<>::open): Implement the
      	resolution of DR 409 [Ready], call clear() on success.
      	* docs/html/ext/howto.html: Add an entry for DR 409.
      	* docs/html/faq/index.html (4_4): Clarify the new behavior.
      	* testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
      	* testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
      
      From-SVN: r96030
      Paolo Carlini committed
    • natXAnyEvent.cc (loadNext): Added timeout. · 9ed9eda6
      2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
      
      	* gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
      	* gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
          throw UnsupportedOperationException, fixed comments.
          (setFont, setForeground): Fixed comments.
      	* gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
          return type to boolean.
          (getNextEvent): Fixed javadocs.
      	* gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
          (nativeQueueEmpty): Removed unused code.
          (iterateNativeQueue): Removed outer loop.
      
      From-SVN: r96029
      Scott Gilbertson committed