1. 08 Jan, 2004 15 commits
  2. 07 Jan, 2004 23 commits
    • re PR c/6024 (GCC fails to diagnose mismatch of enum types in prototype/function) · bca63328
      	PR c/6024
      	* c-typeck.c (comptypes): Only treat enumerated types in the same
      	translation unit as compatible with each other when they are the
      	same type.
      	* doc/extend.texi: Update.
      
      f:
      	* com.h (ffecom_gfrt_basictype): Correct return type.
      
      testsuite:
      	* gcc.dg/enum-compat-1.c: New test.
      	* gcc.c-torture/execute/builtin-types-compatible-p.c: Update.
      
      From-SVN: r75521
      Joseph Myers committed
    • crossconfig.m4: Add LFS, io bits to linux cross config. · 158960ba
      
      2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* crossconfig.m4: Add LFS, io bits to linux cross config.
      	* acconfig.h: Remove obsolete bits, reorder.
      	* config.h.in: Regenerate.
      	* aclocal.m4: Same.
      	* configure: Same.
      
      From-SVN: r75520
      Benjamin Kosnik committed
    • * approved by rth · 5d2082d1
      2004-01-07  Dave Jones <davej@redhat.com>
      
      	* malloc.c (GC_generic_malloc): Correct initialization typo.
      	* mallocx.c (GC_generic_malloca_ignore_off_page): Ditto.
      
      From-SVN: r75518
      Dave Jones committed
    • 2004-01-07 David Jee <djee@redhat.com> · 627e4e5f
          * java/awt/Container.java
          (update): Clear only the clipped region, instead of clearing the
          entire Container.
          (visitChildren): Visit children in descending order.
      
      From-SVN: r75517
      David Jee committed
    • * link.c [sgi] (shared_libgnat_default): Change to STATIC. · 47527624
      From-SVN: r75516
      Rainer Orth committed
    • [multiple changes] · e135a038
      
      2004-01-07  Gawain Bolton  <gp.bolton@computer.org>
      
      	* include/bits/stl_list.h:
      	* include/bits/list.tc:
      	* src/list.cc:
              Performance enhancements for destructor, push_front(),
              push_back(), pop_front(), pop_back(), sort()
              Eliminated static_casts where possible.
              Moved code out of header files into new src/list.cc
              implementation file for library where possible.
              Remove inheritance from iterator class and create separate
              classes for non-constant and constant iterators.
      	* include/bits/stl_tree.h (_Rb_tree class):
      	* src/tree.cc:
              Only erase contents in destructor.
              Eliminate unnecessary initialization in assignment operator.
              Optimize for the nominal case by not checking whether
              container is empty in clear().
              Re-order test in _M_insert() to improve performance.
              Move initialization of new node's left & right pointers to
              src/tree.cc to where new node's colour is initialized
              and to reduce the amount of inline code.
              Use  _M_leftmost() and _M_end() to improve readability where
              appropriate.
              Create separate classes for non-constant and constant
              iterators to clarify code, avoid extra template parameters and
              casting away constness.
      
      2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/Makefile.am (sources): Add list.cc, tree.cc.
      	* src/stl_tree.cc: Move to...
      	* src/tree.cc: ...here.
      	* src/list.cc: Add.
      	* config/linker-map.gnu: Tweaks.
      	* testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
      	* testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
      
      	* bits/stl_vector.h: Column wrap comments.
      
      From-SVN: r75515
      Benjamin Kosnik committed
    • re PR c/12165 (Typedef'ed variables ignore typedef's const qualifier) · 85b58ca5
      	PR c/12165
      	* c-decl.c (grokdeclarator): Take type qualifiers of typedefed
      	array type from the array element type.
      
      testsuite:
      	* gcc.dg/array-quals-1.c, gcc.dg/c90-idem-qual-3.c,
      	gcc.dg/c99-idem-qual-3.c: New tests.
      
      From-SVN: r75514
      Joseph Myers committed
    • re PR libgcj/13011 (gij -jar simple.jar generates: Exception during runtime initialization) · 51dc0a0a
      2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	PR libgcj/13011:
      	* libjava.jar/simple.jar: Add a working MANIFEST.MF.
      
      From-SVN: r75513
      Andreas Tobler committed
    • Array.java: Merged documentation with classpath. · 40f8ee2d
      2004-01-07  Michael Koch  <konqueror@gmx.de>
      
      	* java/lang/reflect/Array.java: Merged documentation with classpath.
      
      From-SVN: r75512
      Michael Koch committed
    • jartool.c (make_manifest): Fix off-by-one bug when creating an empty MANIFEST.MF. · 6838645e
      2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>
      
              * jartool.c (make_manifest): Fix off-by-one bug when creating
              an empty MANIFEST.MF.
      
      From-SVN: r75511
      Andreas Tobler committed
    • 2004-01-07 Michael Koch <konqueror@gmx.de> · 9b773289
      	* java/text/CollationElementIterator.java
      	(textIndex): Renamed from index.
      	* java/text/CollationKey.java
      	(collator): New member.
      	(CollationKey): New argument for parent collator.
      	(equals): Check for same collator, source string and key array.
      	* java/text/RuleBasedCollator.java:
      	Reformated.
      	(RuleBasedCollator): Don't re-initialize frenchAccents with default
      	value.
      	(getCollationElementIterator): Rewritten.
      	(getCollationKey): Added new argument to CollationKey constructor.
      
      From-SVN: r75510
      Michael Koch committed
    • (re-open) PR libstdc++/12658 · 677e7ddc
      	(re-open) PR libstdc++/12658
      	* src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
      	(locale::global): Likewise.
      
      From-SVN: r75509
      Loren J. Rittle committed
    • 9318-in.cc: Remove redundant #include. · d8f5bd50
      2004-01-07  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
      	Remove redundant #include.
      	* testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
      	* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
      	re-enable normal testing.
      	* testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
      	#include.
      	* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
      	More properly, #include <locale>.
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
      	Remove redundant #include.
      	* testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
      	redundant DejaGnu directive.
      	* testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
      	redundant #include.
      
      From-SVN: r75508
      Paolo Carlini committed
    • 2004-01-07 Michael Koch <konqueror@gmx.de> · 26067b8b
      	* gnu/java/nio/DatagramChannelImpl.java
      	(blocking): Removed.
      	(DatagramChannelImpl): Call configureBlocking().
      	(implConfigureBlocking): Dont initialize blocking.
      	* gnu/java/nio/ServerSocketChannelImpl.java
      	(blocking): Removed.
      	(ServerSocketChannelImpl): Call configureBlocking().
      	(implConfigureBlocking): Dont initialize blocking.
      	* gnu/java/nio/SocketChannelImpl.java
      	(blocking): Removed.
      	(SocketChannelImpl): Call configureBlocking().
      	(implConfigureBlocking): Dont initialize blocking.
      	(connect): Use isBlocking().
      	* java/nio/channels/spi/AbstractSelectableChannel.java
      	(configureBlocking): Use blockingLock() instead of LOCK.
      	Set blocking after successfully called implConfigureBlocking().
      	(register): Use blockingLock() instead of LOCK.
      
      From-SVN: r75507
      Michael Koch committed
    • ServerSocket.java (isBound): Fixed documentation. · 89e4eb2a
      2004-01-07  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/ServerSocket.java (isBound): Fixed documentation.
      
      From-SVN: r75506
      Michael Koch committed
    • DefaultBoundedRangeModel.java: Documented API. · b3db7ef1
      2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/DefaultBoundedRangeModel.java: Documented API.
      	(changeEvent): Create event object on demand.
      	(DefaultBoundedRangeModel, toString, setValue, setExtent,
      	setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
      	fireStateChanged): Re-written.
      	* javax/swing/event/EventListenerList.java: Reformatted, document
      	typical usage.
      	(toString): Implemented.
      	(getListeners): Re-written.
      	(remove): Re-written.
      	(add): Re-written.
      	(NO_LISTENERS): New singleton field.
      	(listenerList): Declare as transient; document.
      	(serialVersionUID): Document.
      	(getListenerCount(Class)): More efficient implementation,
      	also accepts null argument.  Improve Javadoc.
      	(getListenerCount()): Remove unnecessary cast; docfix.
      	* javax/swing/undo/UndoableEditSupport.java:
      	Re-format, document.
      	(UndoableEditSupport): Set realSource field. Improve documentation.
      	(_postEdit): Iterate over cloned listener vector.
      	(toString): Don't emit realSource.
      	(beginUpdate, endUpdate): Support nested updates.
      	(postEdit): Use compound edit if present.
      
      From-SVN: r75505
      Sascha Brawer committed
    • * gcc.dg/winline-7.c: Don't cast void * to int. · b48a0c18
      From-SVN: r75503
      Alan Modra committed
    • check_performance: Use -pthread. · b61f9bf0
      
      2004-01-06  Benjamin Kosnik  <bkoz@redhat.com>
                  Stefan Olsson  <stefan@snon.net>
      
      	* scripts/check_performance: Use -pthread.
      	* testsuite/performance/allocator.cc: Tweaks, add list.
      	* testsuite/performance/allocator_thread.cc: New.
      
      Co-Authored-By: Stefan Olsson <stefan@snon.net>
      
      From-SVN: r75499
      Benjamin Kosnik committed
    • locale_facets.h: Document public classes and functions. · 9a01c9b0
      2003-01-06  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/locale_facets.h: Document public classes and
      	functions.
      	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
      	Add comment.
      
      From-SVN: r75498
      Jerry Quinn committed
    • rs6000.c (rs6000_dbx_register_number): New function. · 93c9d1ba
      	* config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
      	* config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
      	* config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
      	(DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
      	* config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
      
      From-SVN: r75497
      Alan Modra committed
    • mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default. · deae8de6
      2004-01-06  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
      	(DWARF2_DEBUGGING_INFO): Define.
      	(PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
      	* config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
      	* config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
      	for irix as.
      	(SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
      	* config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
      	* config/mips/iris5gas.h: Ditto.
      	(DBX_DEBUGGING_INFO): Remove.
      	(DWARF2_DEBUGGING_INFO): Ditto.
      	(MIPS_DEBUGGING_INFO): Ditto.
      	(PREFERRED_DEBUGGING_TYPE): Ditto.
      	* config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
      	(PREFERRED_DEBUGGING_TYPE): Ditto.
      	(SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
      	* config/mips/elf64.h: Ditto.
      
      From-SVN: r75496
      Eric Christopher committed
    • Daily bump. · 470ea489
      From-SVN: r75493
      GCC Administrator committed
    • Container.java (swapComponents): Add forgotten function, required for JLayeredPane change. · 257dd280
      2004-01-06  Graydon Hoare  <graydon@redhat.com>
      
      	* java/awt/Container.java (swapComponents): Add forgotten
      	function, required for JLayeredPane change.
      
      From-SVN: r75491
      Graydon Hoare committed
  3. 06 Jan, 2004 2 commits