1. 01 Nov, 2002 15 commits
    • freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. · 8df91177
      2002-11-01  David O'Brien  <obrien@FreeBSD.org>
      	* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
      	(TRANSFER_FROM_TRAMPOLINE): Reformat.
      	Add comment.
      
      Approved by:  Mark Mitchell <mark@codesourcery.com>
                    Message-ID: <15490000.1036182355@warlock.codesourcery.com>
      
      From-SVN: r58730
      David O'Brien committed
    • * config/h8300/h8300.h (CAN_ELIMINATE): Simplify. · 616dc555
      From-SVN: r58729
      Kazu Hirata committed
    • * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New. · 25a533a0
      From-SVN: r58728
      Toshiyasu Morita committed
    • ia64.h (MASK_INLINE_DIV_LAT): Remove. · dcffbade
      	* config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
      	(MASK_INLINE_DIV_THR): Remove.
      	(TARGET_INLINE_DIV_LAT): Remove.
      	(TARGET_INLINE_DIV_THR): Remove.
      	(TARGET_INLINE_DIV): Remove.
      	(MASK_INLINE_FLOAT_DIV_LAT): New macro.
      	(MASK_INLINE_FLOAT_DIV_THR): New macro.
      	(MASK_INLINE_INT_DIV_LAT): New macro.
      	(MASK_INLINE_INT_DIV_THR): New macro.
      	(TARGET_INLINE_FLOAT_DIV_LAT): New macro.
      	(TARGET_INLINE_FLOAT_DIV_THR): New macro.
      	(TARGET_INLINE_INT_DIV_LAT): New macro.
      	(TARGET_INLINE_INT_DIV_THR): New macro.
      	(TARGET_INLINE_FLOAT_DIV): New macro.
      	(TARGET_INLINE_INT_DIV): New macro.
      	* config/ia64/ia64.md (divsi3): Change to use new macros.
      	(modsi3): Ditto.
      	(udivsi3): Ditto.
      	(umodsi3): Ditto.
      	(divsi3_internal): Ditto.
      	(divdi3): Ditto.
      	(moddi3): Ditto.
      	(udivdi3): Ditto.
      	(umoddi3): Ditto.
      	(divdi3_internal_lat): Ditto.
      	(divdi3_internal_thr): Ditto.
      	(divsf3): Ditto.
      	(divsf3_internal_lat): Ditto.
      	(divsf3_internal_thr): Ditto.
      	(divdf3): Ditto.
      	(divdf3_internal_lat): Ditto.
      	(divdf3_internal_thr): Ditto.
      	(divtf3): Ditto.
      	(divtf3_internal_lat): Ditto.
      	(divtf3_internal_thr): Ditto.
      	* config/ia64/ia64.c (ia64_override_options): Change
      	to check new macros for conflicts in settings.
      	* doc/invoke.texi (-minline-divide-min-latency): Remove.
      	(-minline-divide-max-throughput): Remove.
      	(-minline-float-divide-min-latency): New.
      	(-minline-float-divide-max-throughput): New.
      	(-minline-int-divide-min-latency): New.
      	(-minline-int-divide-max-throughput): New.
      
      From-SVN: r58727
      Steve Ellcey committed
    • mauve.exp (find_mauve_sources): New proc. · 0e75523e
      	* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
      	(test_mauve): Use it.
      	(test_mauve_sim): Likewise.
      
      From-SVN: r58725
      Tom Tromey committed
    • re PR libstdc++/8197 (std::sin(float) causes undefined reference to sinf) · 23ae3eb1
      
      2002-11-01  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
      
      	PR libstdc++/8197
      	* config/link-map.gnu: Export math stubbs.
      
      From-SVN: r58721
      Christian Ehrhardt committed
    • re PR libstdc++/8318 (Not all wide character based prototypes are included… · 5112ae3a
      re PR libstdc++/8318 (Not all wide character based prototypes are included within #ifdef _GLIBCPP_USE_WCHAR_T)
      
      
      2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/8318
      	* include/std/std_iostream.h: Tweak.
      	* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
      	* include/std/std_iomanip.h: Same.
      	* include/bits/stringfwd.h: Same.
      	* include/bits/basic_string.tcc: Same.
      	* include/bits/sstream.tcc: Same.
      	* include/bits/fstream.tcc: Same.
      	* include/bits/basic_ios.tcc: Same.
      	* include/bits/streambuf.tcc: Same.
      	* include/bits/locale_facets.tcc: Same.
      
      From-SVN: r58720
      Benjamin Kosnik committed
    • re PR libstdc++/7961 (compare( char *) implemented incorrectly.) · c86c54e6
      2002-11-01  John Carter  <john.carter@tait.co.nz>
      
      	PR libstdc++/7961
      	* include/bits/basic_string.tcc
      	(compare(const _CharT* __s)): Don't access __s past its length.
      
      From-SVN: r58717
      John Carter committed
    • re PR target/7856 ([arm] invalid offset in constant pool reference) · d5db54a1
      PR target/7856
      * arm.c (use_return_insn): Don't use a return insn if there are
      saved integer regs, but LR is not one of them.
      
      From-SVN: r58716
      Richard Earnshaw committed
    • ByteOrder.java: New file. · 9dcb1ec8
      2002-11-01  Michael Koch  <konqueror@gmx.de>
      
      	* java/nio/ByteOrder.java: New file.
      	* java/nio/channels/DatagramChannel.java:
      	(DatagramChannel): New constructor.
      	* java/nio/channels/Pipe.java: New file.
      	* java/nio/channels/SelectableChannel.java: New file.
      	* java/nio/channels/SelectionKey.java: New file.
      	* java/nio/channels/Selector.java: New file.
      	* java/nio/channels/ServerSocketChannel.java
      	(ServerSocketChannel): New constructor.
      	* java/nio/channels/SocketChannel.java
      	(SocketChannel): New constructor.
      	* java/nio/channels/Pipe.java: New file.
      	* java/nio/channels/spi/AbstractChannel.java: New file.
      	* java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
      	* java/nio/channels/spi/AbstractSelectableChannel.java:
      	License added
      	(AbstractSelectableChannel): New stubbed method.
      	* java/nio/channels/spi/AbstractSelectionKey.java: New file.
      	* java/nio/channels/spi/AbstractSelector.java: New file.
      	* java/nio/channels/spi/SelectorProvider.java: New file.
      	* java/nio/charset/Charset.java: New file.
      	* java/nio/charset/CoderMalfunctionError.java: New file.
      	* java/nio/charset/CodingErrorAction.java: New file.
      	* java/nio/charset/spi/CharsetProvider.java
      	(charsetForName): Uncommented.
      	* Makefile.am (java_native_source_files): Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r58713
      Michael Koch committed
    • expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P · 075fc17a
      
      	* expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
      	* machmode.h (SCALAR_FLOAT_MODE_P): New macro.
      
      From-SVN: r58712
      Jan Hubicka committed
    • Daily bump. · cfcfd176
      From-SVN: r58711
      GCC Administrator committed
    • re PR inline-asm/6162 (i386 asm reloader ice in reload_cse_simplify_operands) · 9efb4cb6
      
      
      	PR optimization/6162
      	* md.texi: Document restriction on commutative operand
      	specification.
      
      From-SVN: r58705
      Nathanael Nerode committed
    • 2002-11-01 Michael Koch <konqueror@gmx.de> · 75fe3383
      	* java/net/InetAddress.java:
      	(isAnyLocalAddress): Implemented.
      	(isLoopbackAddress): Implemented, comment added.
      	(isLinkLocalAddress): Implemented, documentation added.
      	(isSiteLocalAddress): Implemented, documentation added.
      	(isMCGlobal): Implemented, documentation added.
      	(isMCNodeLocal): Implemented, documentation added.
      	(isMCLinkLocal): Implemented, documentation added.
      	(isMCSiteLocal): Implemented, documentation added.
      	(isMCOrgLocal): Implemented, documentation added.
      	(getHostName): Documentation added.
      	(getCanonicalHostName): Implemented, documentation added.
      	(getAddress): Documentation added.
      	(hashCode): Documentation added.
      	(equals): Documentation added.
      	(toString): Fixed implementation.
      	(getByAddress): Use Inet4Address and Inet6Address.
      	(lookup): New linewrap.
      	(getByName): SecurityManager check added, support Inet4Address and
      	Inet6address, comments added.
      	(getAllByName): SecurityManager check added, comments added.
      	* java/net/Inet6Address.java:
      	(Inet6Address): Initialize parent class with addr instead of null.
      	* java/net/URL.java
      	(equals): Documentation added.
      	(getFile): Documentation added.
      	(hashCode): Documentation added.
      	* java/net/natInetAddress.cc:
      	(aton): Fix IPv6 support.
      	* java/net/natPlainDatagramSocketImpl.cc:
      	(peek): Throw PortUnreachableException when suitable.
      	(peekData): Throw PortUnreachableException when suitable.
      	(send): Throw PortUnreachableException when suitable.
      	(receive): Throw PortUnreachableException when suitable.
      
      From-SVN: r58704
      Michael Koch committed
    • re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !) · 04c7481e
      
      2002-10-31  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/8348
      	* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
      	(istream::seekg): Same.
      	* testsuite/27_io/istream_seeks.cc (test06): New.
      
      From-SVN: r58703
      Benjamin Kosnik committed
  2. 31 Oct, 2002 19 commits
  3. 30 Oct, 2002 6 commits
    • fold-const.c (fold_binary_op_with_conditional_arg): Improve handling of cases… · 9402f6fb
      fold-const.c (fold_binary_op_with_conditional_arg): Improve handling of cases where one or both branches of the conditional have...
      
      
      	* fold-const.c (fold_binary_op_with_conditional_arg):  Improve
      	handling of cases where one or both branches of the conditional
      	have void type, i.e. throw an exception or don't return.
      	(fold): Only apply (and undo) type conversion to the non-void
      	branches of a COND_EXPR.
      
      	* f/com.c (ffecom_subscript_check_): Cast the failure branch
      	of the bounds check COND_EXPR to void, to indicate noreturn.
      	(ffe_truthvalue_conversion): Only apply truth value conversion
      	to the non-void branches of a COND_EXPR.
      
      From-SVN: r58661
      Roger Sayle committed
    • re PR c++/8333 (c++ emits double .globals for symbols [ regression from 3.0.4 ]) · 9b5b7e3a
      	PR c++/8333
      	* varasm.c (asm_output_aligned_bss): Do not call
      	ASM_GLOBALIZE_LABEL.
      
      From-SVN: r58658
      Mark Mitchell committed
    • re PR ada/6558 (Wrongly reverted patches) · 1c4048ca
      	PR ada/6558
      	* misc.c : Include optabs.h
      
      	* Make-lang.in (misc.o): Add dependency on optabs.h
      
      From-SVN: r58656
      Geert Bosch committed
    • rs6000.md (load_toc_v4_PIC_1): Use preferred form for addressibility. · df7a8989
              * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
              for addressibility.
              (load_toc_v4_PIC_1b): Same.
      
      Co-Authored-By: Torbjorn Granlund <tege@swox.com>
      
      From-SVN: r58655
      David Edelsohn committed
    • Core issue 287, PR c++/7639 · 7088fca9
      	Core issue 287, PR c++/7639
      	* cp-tree.h (lang_type_class): Add decl_list field.
      	(CLASSTYPE_DECL_LIST): New macro.
      	(maybe_add_class_template_decl_list): Add declaration.
      	* class.c (duplicate_tag_error): Initialize CLASSTYPE_DECL_LIST.
      	(unreverse_member_declarations): Reverse CLASSTYPE_DECL_LIST.
      	(maybe_add_class_template_decl_list): New function.
      	(add_implicitly_declared_members): Use it.
      	* decl.c (maybe_process_template_type_declaration): Likewise.
      	(pushtag): Likewise.
      	* friend.c (add_friend): Likewise.
      	(make_friend_class): Likewise.
      	* semantics.c (finish_member_declaration): Likewise.
      	(begin_class_definition): Initialize CLASSTYPE_DECL_LIST.
      	* pt.c (instantiate_class_template): Use CLASSTYPE_DECL_LIST
      	to process members and friends in the order of declaration.
      
      	Core issue 287, PR c++/7639
      	* g++.dg/template/instantiate1.C: Adjust error location.
      	* g++.dg/template/instantiate3.C: New test.
      	* g++.old-deja/g++.pt/crash10.C: Adjust error location.
      	* g++.old-deja/g++.pt/derived3.C: Adjust error location.
      	* g++.old-deja/g++.pt/spec28.C: Reorder declaration.
      
      From-SVN: r58654
      Kriang Lerdsuwanakij committed
    • h8300.c (h8300_eightbit_constant_address_p): Truncate the addresses for H8/300 using HImode. · d2d199a3
      	* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
      	Truncate the addresses for H8/300 using HImode.
      
      From-SVN: r58653
      Kazu Hirata committed