OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago2004-01-08 Stuart Hastings <stuart@apple.com>
stuart [Fri, 9 Jan 2004 01:01:50 +0000 (01:01 +0000)]
2004-01-08  Stuart Hastings  <stuart@apple.com>

* config/i386/i386.md: Typos in MMX/SSE immediate shifts.
* testsuite/gcc.dg/20020523-2.c (bail_if_no_sse): Moved cpu-ID code...
testsuite/gcc.dg/i386-cpuid.h (i386_cpuid): ...to here, to share with...
* testsuite/gcc.dg/i386-sse-6.c: ...this new testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75566 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/array-quals-1.c: Accept .data.rel.ro.
amodra [Fri, 9 Jan 2004 00:28:29 +0000 (00:28 +0000)]
* gcc.dg/array-quals-1.c: Accept .data.rel.ro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75565 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 9 Jan 2004 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75562 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraphunit.c (cgraph_decide_inlining): Fix typo.
hubicka [Thu, 8 Jan 2004 22:57:49 +0000 (22:57 +0000)]
* cgraphunit.c (cgraph_decide_inlining):  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75560 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
geoffk [Thu, 8 Jan 2004 22:50:54 +0000 (22:50 +0000)]
* config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
(UNSPEC_FIX_TRUNC_TF): New constant.
(movtf_internal): Make splitter active only when insn is active.
(extenddftf2): Rewrite to properly load zero into low part.
(extenddftf2_internal): New.
(extendsftf2): Rewrite.
(truncdftf2): Correct length.
(floatditf2): Delete.
(fix_trunc_helper): New.
(fix_trunctfdi2): Use fix_trunc_helper.
(fix_trunctfsi2): Likewise.fix_trunc
(fix_trunctfsi2_internal): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75559 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
geoffk [Thu, 8 Jan 2004 21:51:56 +0000 (21:51 +0000)]
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
addresses are legitimate on Darwin even when flag_pic.
(rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
non-offsettable addresses for loads of TFmode constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75558 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
fnasser [Thu, 8 Jan 2004 21:12:25 +0000 (21:12 +0000)]
    * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
        New name for the former setFile native method.
        (setFile): New method.
        (setDirectory): Implemented.
        (connectSignals): New native method.
        (setFilenameFilter): Improve comment.
        (getGraphics): Comment.
        (gtkHideFileDialog): New method.
        (gtkDisposeFileDialog): New method.
        (gtkSetFilename): New method.
        * java/awt/Dialog.java (show): Block on modal dialogs, but only
        for FileDialog for now.
        (hide): New method.
        (dispose): New method.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
        (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
        deprecated creation functions.  Make dialog modal.  Add it to the
        window group.
        (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
        function.
        (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
        Rename to...
        (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
        name.
        (window_closed): New function.
        (ok_clicked): New function.
        (cancel_clicked): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75557 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* obvious changelog typo fix
fche [Thu, 8 Jan 2004 16:42:25 +0000 (16:42 +0000)]
* obvious changelog typo fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75553 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago(ASM_OUTPUT_ALIGNED_BSS): Actually emit variables in the appropriate bss section.
nickc [Thu, 8 Jan 2004 16:19:00 +0000 (16:19 +0000)]
(ASM_OUTPUT_ALIGNED_BSS): Actually emit variables in the appropriate bss section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75552 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ada/acats/run_acats: Treat 'gnatchop' the same way
ebotcazou [Thu, 8 Jan 2004 15:19:36 +0000 (15:19 +0000)]
* ada/acats/run_acats: Treat 'gnatchop' the same way
as 'gnatmake'.  Export GCC_DRIVER.
* ada/acats/run_all.sh: Add target_gnatchop.  Use
'host_gnatchop' and 'target_gnatchop' instead of 'gnatshop'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75551 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
amodra [Thu, 8 Jan 2004 15:13:23 +0000 (15:13 +0000)]
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
target_flags has MASK_POWERPC64 when -m64.
* config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
to 620, 630, power3, power4 and rs64a entries.
* config/rs6000/rs6000.h (MASK_64BIT): Expand comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75550 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
ro [Thu, 8 Jan 2004 12:15:17 +0000 (12:15 +0000)]
* testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
to void *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75548 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12573
giovannibajo [Thu, 8 Jan 2004 11:57:53 +0000 (11:57 +0000)]
PR c++/12573
* g++.dg/template/dependent-expr4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75547 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12573
giovannibajo [Thu, 8 Jan 2004 11:52:41 +0000 (11:52 +0000)]
PR c++/12573
* pt.c (value_dependent_expression_p): Handle COMPONENT_REFs by
looking into them recursively. They can be there because of the
new __offsetof__ extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75546 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-08 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 8 Jan 2004 09:46:52 +0000 (09:46 +0000)]
2004-01-08  Michael Koch  <konqueror@gmx.de>

* javax/swing/JLayeredPane.java: Revert changes to standard
boilerplate, reworked imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75543 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * simplify-rtx.c (simplify_immed_subreg): Fix construction of
rsandifo [Thu, 8 Jan 2004 08:21:15 +0000 (08:21 +0000)]
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
floating-point constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75540 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (subrange_type_die): Add context_die parameter.
brobecke [Thu, 8 Jan 2004 07:54:13 +0000 (07:54 +0000)]
    * dwarf2out.c (subrange_type_die): Add context_die parameter.
        Create the subrange_type DIE using the given context DIE.
        (modified_type_die): Update call to subrange_type_die.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75537 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
zack [Thu, 8 Jan 2004 07:50:46 +0000 (07:50 +0000)]
* dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
Add multiple-include guard.
cp:
* parser.c (cp_parser_save_member_function_body): Mark the
definition static.
treelang:
* parse.y (yyerror): Mark the definition static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75536 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/altivec-11.c: New test.
hpenner [Thu, 8 Jan 2004 07:27:09 +0000 (07:27 +0000)]
  * gcc.dg/altivec-11.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75535 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
hpenner [Thu, 8 Jan 2004 07:25:56 +0000 (07:25 +0000)]
  * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
      all vector constant loadable by vsplt*.
      (output_vec_const_move): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75534 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR libgcj/13439:
tromey [Thu, 8 Jan 2004 05:27:39 +0000 (05:27 +0000)]
PR libgcj/13439:
* verify.cc (state::merge): Copy changed locals out of subroutine
in NO_STACK case.
(state::FLAG_CHANGED): New const.
(state::FLAG_UNUSED): Likewise.
(state::local_changed): Removed.  Updated all users.
(state::flags): New field.
(state::merge): Added jsr_semantics argument, more logic.
(push_jump_merge): Added jsr_semantics argument.
(handle_jsr_insn): Set jsr_semantics on push_jump_merge when
merging through the jsr instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75533 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * scripts/MakeDefaultMimeTypes.java: Use \n, not
tromey [Thu, 8 Jan 2004 05:20:31 +0000 (05:20 +0000)]
* scripts/MakeDefaultMimeTypes.java: Use \n, not
backslash-newline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75532 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 8 Jan 2004 03:52:52 +0000 (03:52 +0000)]
2004-01-07  Graydon Hoare  <graydon@redhat.com>

* java/awt/Container.java (LightweightDispatcher): Implement.
(visitChild): Reuse graphics object.
(dispatchEventImpl): Optionally dispatch to lightweight.
(addNotifyContainerChildren): Build LightweightDispatcher.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75531 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.
mmitchel [Thu, 8 Jan 2004 03:32:11 +0000 (03:32 +0000)]
* g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75529 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 8 Jan 2004 00:55:02 +0000 (00:55 +0000)]
2004-01-07  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_update (files_and_dependencies): Remove non-existant files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75528 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 8 Jan 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75525 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/6024
jsm28 [Wed, 7 Jan 2004 22:24:44 +0000 (22:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75521 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 Jan 2004 22:17:01 +0000 (22:17 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75520 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* approved by rth
fche [Wed, 7 Jan 2004 21:47:35 +0000 (21:47 +0000)]
* approved by rth

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75518 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 David Jee <djee@redhat.com>
djee [Wed, 7 Jan 2004 21:20:01 +0000 (21:20 +0000)]
2004-01-07  David Jee  <djee@redhat.com>

    * java/awt/Container.java
    (update): Clear only the clipped region, instead of clearing the
    entire Container.
    (visitChildren): Visit children in descending order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75517 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * link.c [sgi] (shared_libgnat_default): Change to STATIC.
ro [Wed, 7 Jan 2004 20:58:20 +0000 (20:58 +0000)]
* link.c [sgi] (shared_libgnat_default): Change to STATIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75516 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Gawain Bolton <gp.bolton@computer.org>
bkoz [Wed, 7 Jan 2004 20:55:06 +0000 (20:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75515 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/12165
jsm28 [Wed, 7 Jan 2004 19:40:03 +0000 (19:40 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75514 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 7 Jan 2004 18:54:00 +0000 (18:54 +0000)]
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

PR libgcj/13011:
* libjava.jar/simple.jar: Add a working MANIFEST.MF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75513 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 18:46:18 +0000 (18:46 +0000)]
2004-01-07  Michael Koch  <konqueror@gmx.de>

* java/lang/reflect/Array.java: Merged documentation with classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75512 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 7 Jan 2004 18:46:04 +0000 (18:46 +0000)]
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

        * jartool.c (make_manifest): Fix off-by-one bug when creating
        an empty MANIFEST.MF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75511 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 18:40:08 +0000 (18:40 +0000)]
2004-01-07  Michael Koch  <konqueror@gmx.de>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75510 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago (re-open) PR libstdc++/12658
ljrittle [Wed, 7 Jan 2004 17:40:45 +0000 (17:40 +0000)]
(re-open) PR libstdc++/12658
* src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
(locale::global): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75509 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 7 Jan 2004 17:13:51 +0000 (17:13 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75508 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 16:51:49 +0000 (16:51 +0000)]
2004-01-07  Michael Koch  <konqueror@gmx.de>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75507 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 16:37:45 +0000 (16:37 +0000)]
2004-01-07  Michael Koch  <konqueror@gmx.de>

* java/net/ServerSocket.java (isBound): Fixed documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75506 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Sascha Brawer <brawer@dandelis.ch>
mkoch [Wed, 7 Jan 2004 14:42:04 +0000 (14:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75505 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/winline-7.c: Don't cast void * to int.
amodra [Wed, 7 Jan 2004 12:40:42 +0000 (12:40 +0000)]
* gcc.dg/winline-7.c: Don't cast void * to int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75503 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 Jan 2004 05:59:19 +0000 (05:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75499 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-01-06 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Wed, 7 Jan 2004 05:22:37 +0000 (05:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75498 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
amodra [Wed, 7 Jan 2004 01:21:28 +0000 (01:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75497 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Eric Christopher <echristo@redhat.com>
echristo [Wed, 7 Jan 2004 00:52:32 +0000 (00:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75496 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 7 Jan 2004 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75493 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 7 Jan 2004 00:11:51 +0000 (00:11 +0000)]
2004-01-06  Graydon Hoare  <graydon@redhat.com>

* java/awt/Container.java (swapComponents): Add forgotten
function, required for JLayeredPane change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75491 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
geoffk [Tue, 6 Jan 2004 23:49:39 +0000 (23:49 +0000)]
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
(TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
* config/rs6000/darwin-ldouble.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75490 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
geoffk [Tue, 6 Jan 2004 22:51:00 +0000 (22:51 +0000)]
* emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
for constants.
(constant_subword): Delete.
* rtl.h (constant_subword): Delete prototype.
(immed_double_const): Is not in varasm.c.
* simplify-rtx.c (simplify_immed_subreg): New.
(simplify_subreg): Use simplify_immed_subreg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75487 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
hubicka [Tue, 6 Jan 2004 22:49:44 +0000 (22:49 +0000)]
* makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
(stagefeedback_flags_to_pass): use -fprofile-use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75486 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
geoffk [Tue, 6 Jan 2004 21:03:06 +0000 (21:03 +0000)]
* config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
than trying to generate RTL directly.
(fix_trunctfsi2): Use expand_fix rather than trying to generate
RTL directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75485 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 Jan 2004 20:19:31 +0000 (20:19 +0000)]
2004-01-06  Michael Koch  <konqueror@gmx.de>

* java/text/CollationElementIterator.java: Reformated.
(CollationElementIterator): Changed order of arguments.
* java/text/RuleBasedCollator.java
(RuleBasedCollator): Merged class documentation.
(CollationElement): Added documentation.
(compare): Reformated, renamed arguments.
(equals): Likewise.
(getCollationElementIterator): Likewise.
(getCollationKey): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75484 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
geoffk [Tue, 6 Jan 2004 20:06:12 +0000 (20:06 +0000)]
* dwarf2out.c (add_const_value_attribute): Remove incorrect comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75483 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
dje [Tue, 6 Jan 2004 19:49:26 +0000 (19:49 +0000)]
* config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
function into a separate macro.
(read_only_data_section): Add void argument.
(private_data_section): Same.
(read_only_private_data_section): Same.
(toc_section): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75482 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * invoke.texi: Remove typo in last change.
hubicka [Tue, 6 Jan 2004 18:26:12 +0000 (18:26 +0000)]
* invoke.texi:  Remove typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75479 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 6 Jan 2004 18:02:23 +0000 (18:02 +0000)]
2004-01-06  Graydon Hoare  <graydon@redhat.com>

* javax/swing/JLayeredPane.java: Fix semantics, add javadocs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75478 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agomissing changelog entry
graydon [Tue, 6 Jan 2004 17:54:08 +0000 (17:54 +0000)]
missing changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75477 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/10301
hubicka [Tue, 6 Jan 2004 17:31:10 +0000 (17:31 +0000)]
PR target/10301
* config.gcc: Accept opteron and athlon-64 as variants
of k8.
* i386.c (override_options): Likewise.
* invoke.texi (i386 -mtune): Expand documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75476 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * alias.c: Fix comment typos.
kazu [Tue, 6 Jan 2004 16:51:21 +0000 (16:51 +0000)]
* alias.c: Fix comment typos.
* builtins.c: Likewise.
* cfg.c: Likewise.
* df.c: Likewise.
* dominance.c: Likewise.
* dwarf2out.c: Likewise.
* emit-rtl.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* fold-const.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genrecog.c: Likewise.
* gensupport.c: Likewise.
* ggc-zone.c: Likewise.
* integrate.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* recog.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reorg.c: Likewise.
* rtlanal.c: Likewise.
* rtl.h: Likewise.
* sched-ebb.c: Likewise.
* simplify-rtx.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75475 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/install.texi: Fix typos.
kazu [Tue, 6 Jan 2004 16:21:17 +0000 (16:21 +0000)]
* doc/install.texi: Fix typos.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75474 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 Jan 2004 15:00:11 +0000 (15:00 +0000)]
2004-01-06  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Connection.java:
Reformated copyright.
(hdrHash): Removed.
(hdrVec): Removed.
(gotHeaders): Removed.
(getHeaderField): Removed.
(getHeaderField): Removed.
(getHeaderFieldKey): Removed.
(getKey): Removed.
(getField): Removed.
(getHeaders): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75473 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 Jan 2004 13:48:52 +0000 (13:48 +0000)]
2004-01-06  Michael Koch  <konqueror@gmx.de>

* javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobPrioritySupported.java: New files.
* Makefile.am (javax_source_files): Added new files.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75471 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 6 Jan 2004 12:20:42 +0000 (12:20 +0000)]
2004-01-06  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_istream/extractors_other/char/1.cc:
Remove redundant #includes.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/3.cc:
Likewise.
* testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
* testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
Likewise.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
Likewise.
* testsuite/27_io/basic_istream/readsome/char/8258.cc:
Likewise.
* testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
Likewise.
* testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75469 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix defintion of TRAMPOLINE_SIZE
nickc [Tue, 6 Jan 2004 11:00:28 +0000 (11:00 +0000)]
Fix defintion of TRAMPOLINE_SIZE

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75468 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/i386-sse-5.c: New test
hubicka [Tue, 6 Jan 2004 10:49:58 +0000 (10:49 +0000)]
* gcc.dg/i386-sse-5.c: New test
* g++.dg/eh/simd-1.c: Add -w argument for i386.

* i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
(function_arg_advance):  Do not pass aggregates in SSE; deal handling
of MMX_REGPARM.
(function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
add MMX_REGPARM.
* i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
(SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
(MMX_REGPARM_MAX): Similarly for -mmmx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75467 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 Jan 2004 08:54:20 +0000 (08:54 +0000)]
2004-01-06  Michael Koch  <konqueror@gmx.de>

* java/net/URLConnection.java
(contentHandler): Removed.
(locale): Removed.
(getHeaderFields): Return an empty map instead of null.
(getContent): Connect if needed, renamed "cType" to "type" and
"contentHandler" to "ch" and made it a local variable.
(getPermission): Don't use package in class name.
(setDefaultRequestProperty): Fixed typo in documentation.
(initializeDateFormats): Made locale a local variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75466 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 Jan 2004 08:34:58 +0000 (08:34 +0000)]
2004-01-06  Michael Koch  <konqueror@gmx.de>

* java/lang/Package.java
(getPackage): Get the current class loader directly.
* java/lang/SecurityManager.java
(currentLoadedClass): Dont iterate over class contexts.
(classLoaderDepth): Don't check class loaders if everything is allowed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75465 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sh/linux.h: Fix comment formatting.
kazu [Tue, 6 Jan 2004 04:21:52 +0000 (04:21 +0000)]
* config/sh/linux.h: Fix comment formatting.
* config/sh/netbsd-elf.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sh/vxworks.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75462 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocontrib/
kcook [Tue, 6 Jan 2004 02:39:27 +0000 (02:39 +0000)]
contrib/
2004-01-05  Kelley Cook  <kcook@gcc.gnu.org>
* gcc_update (files_generated): Revert 2003-12-18 change.

gcc/ada/
2004-01-05  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
Update comment and copyright date.
* stamp-xgnatug: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75461 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13057
mmitchel [Tue, 6 Jan 2004 02:26:13 +0000 (02:26 +0000)]
PR c++/13057
* class.c (build_clone): Copy type attributes from the original
function to the clone.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75460 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12815
mmitchel [Tue, 6 Jan 2004 00:52:36 +0000 (00:52 +0000)]
PR c++/12815
* class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
references as constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75458 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12816
mmitchel [Tue, 6 Jan 2004 00:52:10 +0000 (00:52 +0000)]
PR c++/12816
* class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
references as constant.

PR c++/12815
* g++.dg/rtti/typeid4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75457 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Tue, 6 Jan 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75453 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
kazu [Mon, 5 Jan 2004 22:08:26 +0000 (22:08 +0000)]
* system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
* toplev.c (output_file_directive): Don't use
ASM_OUTPUT_MAIN_SOURCE_FILENAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75448 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Mon, 5 Jan 2004 21:41:21 +0000 (21:41 +0000)]
2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Set all insets to 0 when a Configure event
is received for a GtkPlug.
* gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
Make handle long, not int.
(EmbeddedWindow()): New constructor.
(EmbeddedWindow(int)): Rename window_id to handle.  Make handle
long, not int.
(setHandle): New method.
(getHandle): Return long, not int.
* gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
declaration.
* gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
(create(long)): Take long parameter, not int.  Cast gtk_plug_new
argument to GdkNativeWindow.
(construct): New method.
(embed): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75447 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Mon, 5 Jan 2004 21:35:33 +0000 (21:35 +0000)]
2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
(create(int, int)): New method.
(create): Call new create method.
(gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
methods.
(childResized): Remove native implementation.  Implement in
Java.
(getHScrollbarHeight, getVScrollbarWidth): Call
gtk_widget_size_request to get scrollbar dimensions.
* java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
call getVScrollbarWidth and getHScrollbarHeight when vertical
and horizontal scrollbars respectively are needed.
(doLayout): Enlarge child if it is smaller than the viewport.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75446 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/compat/sdata-section.h: Declare 'abort'.
ebotcazou [Mon, 5 Jan 2004 21:29:39 +0000 (21:29 +0000)]
* gcc.dg/compat/sdata-section.h: Declare 'abort'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75445 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/awt/Dialog.java (constructor): Accept null title as per spec.
fnasser [Mon, 5 Jan 2004 21:23:12 +0000 (21:23 +0000)]
    * java/awt/Dialog.java (constructor): Accept null title as per spec.
        * java/awt/FileDialog.java (constructor): Throw exception on invalid
        argument as per spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75444 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Fernando Nasser <fnasser@redhat.com>
fnasser [Mon, 5 Jan 2004 21:18:06 +0000 (21:18 +0000)]
2004-01-05  Fernando Nasser  <fnasser@redhat.com>

        * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
        (insert): Ditto.
        (remove): Ditto.  Also, Check for valid argument.
        (removeAll): Use peer interface method.
        * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
        native add function.
        (nativeRemove): New name for native remove function.
        (getHistory): New native function.
        (constructor): Generate ItemEvent.
        (add): Ditto, if selection is changed.
        (remove): Ditto, ditto.
        (removeAll): Add implementation.
        (handleEvent): Remove.  Dead code.
        (choicePostItemEvent): Add comment.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
        comments and fix condition to change selection.
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
        remove all capability.
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
        (item_activate): Add cast to remove compiler warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75443 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Mon, 5 Jan 2004 21:13:46 +0000 (21:13 +0000)]
2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(getPreferredSize): Call preferredSize.
(preferredSize): Call gtkWidgetGetPreferredDimensions.
(getMinimumSize): Call minimumSize.
(minimumSize): Call gtkWidgetGetPreferredDimensions.
(gtkWidgetGetDimensions): Return the peer widget's current size
request.
(gtkWidgetGetPreferredDimensions): Return the peer widget's
natural size request.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75442 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12132
mmitchel [Mon, 5 Jan 2004 21:07:22 +0000 (21:07 +0000)]
PR c++/12132
* parser.c (cp_parser_explicit_instantiation): Improve error
recovery.
(cp_parser_require): Improve indication of the error location.

PR c++/12132
* g++.dg/template/error11.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75441 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13451
mmitchel [Mon, 5 Jan 2004 19:54:35 +0000 (19:54 +0000)]
PR c++/13451
* parser.c (cp_parser_class_head): Reorder logic to check for
invalid qualification.

PR c++/13451
* g++.dg/template/class2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75440 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 5 Jan 2004 19:23:50 +0000 (19:23 +0000)]
2004-01-05  Daniel Berlin  <dberlin@dberlin.org>

* ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
(USING_MMAP): We don't support non-mmap.
(struct alloc_chunk): Steal 1 bit from typecode, use it to mark
large objects.
(struct page_entry): Remove bytes_free.
(struct page_table_chain): Remove.
(struct globals): Remove page_table member.
(loookup_page_table_entry): Function deleted.
(set_page_table_entry): Ditto.
(ggc_allocated_p): No longer need page table lookups.
(ggc_marked_p): Ditto.
(alloc_small_page): Don't care about bytes_free anymore.
(alloc_large_page): Round up size.
(ggc_alloc_zone_1): Mark large objects as such, and calculate
their size the new way.
Remove page table lookups and setting.
(ggc_get_size): Calculate large object size the new way.
(sweep_pages): Redo to account for fact that we no longer have
bytes_free.
(ggc_collect): No longer need to reincrement bytes_free.
(ggc_pch_alloc_object): Handle new large objects properly.
(ggc_pch_read): Put PCH stuff into it's own uncollected zone.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75438 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Sascha Brawer <brawer@dandelis.ch>
mkoch [Mon, 5 Jan 2004 19:19:29 +0000 (19:19 +0000)]
2004-01-05  Sascha Brawer  <brawer@dandelis.ch>

Thanks to Brian Gough <bjg@network-theory.com>
* java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
* java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75437 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi: Remove a page break.
kazu [Mon, 5 Jan 2004 18:11:31 +0000 (18:11 +0000)]
* doc/invoke.texi: Remove a page break.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75436 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/avr/avr.c (avr_output_function_prologue): Remove an
kazu [Mon, 5 Jan 2004 17:26:30 +0000 (17:26 +0000)]
* config/avr/avr.c (avr_output_function_prologue): Remove an
extra pair of curly braces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75434 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mn10300/mn10300.c: Fix comment formatting.
kazu [Mon, 5 Jan 2004 17:01:43 +0000 (17:01 +0000)]
* config/mn10300/mn10300.c: Fix comment formatting.
* config/mn10300/mn10300.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75433 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-05 Robert Dewar <dewar@gnat.com>
charlet [Mon, 5 Jan 2004 15:20:47 +0000 (15:20 +0000)]
2004-01-05  Robert Dewar  <dewar@gnat.com>

* 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
be modified by the binder generated main program if the -D switch is
used.

* 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
imported functions (since now we expect this to be done for imported
functions)

* 5vtaprop.adb: Add several ??? for sections requiring more comments
Minor reformatting throughout

* 5zinit.adb: Minor reformatting
Add 2004 to copyright date
Minor changes to avoid -gnatwa warnings
Correct some instances of using OR instead of OR ELSE (noted while
doing reformatting)

* sprint.adb: Minor updates to avoid -gnatwa warnings

* s-secsta.ads, s-secsta.adb:
(SS_Get_Max): New function to obtain high water mark for ss stack
Default_Secondary_Stack is not a constant since it may be modified by
the binder generated main program if the -D switch is used.

* switch-b.adb: New -Dnnn switch for binder

* switch-c.adb:
Make -gnatg imply all warnings currently in -gnatwa

* vms_conv.adb: Minor reformatting
Add 2004 to copyright notice
Add 2004 to printed copyright notice

* 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
checks.adb, clean.adb, cstand.adb, einfo.ads,
einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
Minor reformatting and code clean ups.
Minor changes to prevent -gnatwa warnings

* ali.adb: Minor reformatting and cleanup of code
Acquire new SS indication of secondary stack use from ali files

* a-numaux.ads: Add Pure_Function pragmas for all imported functions
(since now we expect this to be done for imported functions)

* bindgen.adb: Generate call to modify default secondary stack size if
-Dnnn switch given

* bindusg.adb: Add line for new -D switch

* exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
replacement name for Type_May_Have_Non_Bit_Aligned_Components!
Add circuitry for both records and arrays to avoid gigi
processing if the type involved has non-bit-aligned components

* exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
N_String_Literal node always references an E_String_Literal_Subtype
entity. This may not be true in the future.
(Possible_Bit_Aligned_Component): Move processing of
Component_May_Be_Bit_Aligned from exp_ch5 to exp_util

* exp_ch6.adb (Expand_Thread_Body): Pick up
Default_Secondary_Stack_Size as variable so that we get value modified
by possible -Dnnn binder parameter.

* exp_util.adb (Component_May_Be_Bit_Aligned): New function.
(Type_May_Have_Bit_Aligned_Components): New function.

* exp_util.ads (Component_May_Be_Bit_Aligned): New function.
(Type_May_Have_Bit_Aligned_Components): New function.

* fe.h: (Set_Identifier_Casing): Fix prototype.
Add declaration for Sem_Elim.Eliminate_Error_Msg.
Minor reformatting.

* freeze.adb (Freeze_Entity): Add RM reference to error message about
importing constant atomic/volatile objects.
(Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
unless explicit Pure_Function pragma given, to avoid insidious bug of
call to non-pure imported function getting eliminated.

* gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
Add 2004 to printed copyright notice

* lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
stack used.

* Makefile.rtl: Add entry for g-sestin.o
g-sestin.ads: New file.

* mdll.adb: Minor changes to avoid -gnatwa warnings

* mlib-tgt.adb: Minor reformatting

* opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
New switch Sec_Stack_Used (GNAT, GNATBIND)
Make Default_Secondary_Stack_Size a variable instead of a constant,
so that it can be modified by the new -Dnnn bind switch.

* rtsfind.adb (Load_Fail): Give full error message in configurable
run-time mode if all_errors mode is set. This was not done in the case
of a file not found, which was an oversight.
Note if secondary stack unit is used by compiler.

* sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
ineffective elaborate all pragmas on non-visible packages (this
happened when a renamed subprogram was called). Now the elaborate all
always goes on the package containing the renaming rather than the one
containing the renamed subprogram.

* sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
(Process_Eliminate_Pragma): Add parameter to capture pragma location.

* sem_eval.adb (Eval_String_Literal): Do not assume that string literal
has an Etype that references an E_String_Literal.
(Eval_String_Literal): Avoid assumption that N_String_Literal node
always references an E_String_Literal_Subtype entity. This may not
be true in the future.

* sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
pragma location.

* sem_res.adb (Resolve): Specialize msg for function name used in proc
call.

2004-01-05  Ed Falis  <falis@gnat.com>

* g-debuti.adb: Replaced direct boolean operator with short-circuit
form.

2004-01-05  Vincent Celier  <celier@gnat.com>

* bld.adb: Minor comment updates
(Process_Declarative_Items): Correct incorrect name (Index_Name instead
of Item_Name).

* make.adb (Gnatmake): Special process for files to compile/check when
-B is specified. Fail when there are only foreign mains in attribute
Main of the project file and -B is not specified. Do not skip bind/link
steps when -B is specified.

* makeusg.adb: Document new switch -B

* opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag

* switch-m.adb: (Scan_Make_Switches): Process -B switch

* vms_data.ads: Add new GNAT PRETTY qualifier
/FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff

2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
case.

* misc.c (gnat_printable_name): If VERBOSITY is 2, call
Set_Identifier_Casing.

* decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
has size that overflows.

2004-01-05  Gary Dismukes  <dismukes@gnat.com>

* exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
-gnatwa warning on static condition.

2004-01-05  Doug Rupp  <rupp@gnat.com>

* link.c: (shared_libgnat_default) [VMS]: Change to STATIC.

2004-01-05  Arnaud Charlet  <charlet@act-europe.fr>

* Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
all attributes, including read-only attribute.

2004-01-05  Pascal Obry  <obry@gnat.com>

* bindgen.adb (Gen_Object_Files_Options): Generate the new shared
library naming scheme.

* mlib-prj.adb (Build_Library): Generate different names for the static
or dynamic version of the GNAT runtime. This is needed to support the
new shared library naming scheme.
(Process_Binder_File): Add detection of shared library in binder file
based on the new naming scheme.

* gnatlink.adb (Process_Binder_File): Properly detect the new naming
scheme for the shared runtime libraries.

* Makefile.in:
(LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
scheme.
(install-gnatlib): Do not create symlinks for shared libraries.
(gnatlib-shared-default): Idem.
(gnatlib-shared-dual-win32): New target. Not used for now as the
auto-import feature does not support arrays/records.
(gnatlib-shared-win32): Do not create copy for the shared libraries.
(gnatlib-shared-vms): Fix shared runtime libraries names.

* osint.ads, osint.adb (Shared_Lib): New routine, returns the target
dependent runtime shared library name.

2004-01-05  Vasiliy Fofanov  <fofanov@act-europe.fr>

* osint.adb (Read_Library_Info): Remove bogus check if ALI is older
than the object.

2004-01-05  Ed Schonberg  <schonberg@gnat.com>

* sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
protected objects when allocator has a subtype indication, not a
qualified expression. Note that qualified expressions may have to be
checked when limited aggregates are implemented.

* sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
pure, emit warning.
(Analyze_Pragma, case Pure_Function): If enclosing package is pure and
subprogram is imported, remove warning.

2004-01-05  Geert Bosch  <bosch@gnat.com>

* s-poosiz.adb: Update copyright notice.
(Allocate): Use Task_Lock to protect against concurrent access.
(Deallocate): Likewise.

2004-01-05  Joel Brobecker  <brobecker@gnat.com>

* s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75432 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.h: Update documentation on nothrow_flag.
kenner [Mon, 5 Jan 2004 15:16:35 +0000 (15:16 +0000)]
* tree.h: Update documentation on nothrow_flag.
* print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75431 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi: Remove traces of dead ports.
kazu [Mon, 5 Jan 2004 15:06:36 +0000 (15:06 +0000)]
* doc/invoke.texi: Remove traces of dead ports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75430 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13387
nathan [Mon, 5 Jan 2004 10:15:07 +0000 (10:15 +0000)]
PR c++/13387
* g++.dg/opt/alias3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75427 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo (double "for"s).
rsandifo [Mon, 5 Jan 2004 10:03:38 +0000 (10:03 +0000)]
Fix typo (double "for"s).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75426 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoUpdate copyright dates after recent commits.
rsandifo [Mon, 5 Jan 2004 09:59:41 +0000 (09:59 +0000)]
Update copyright dates after recent commits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75425 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
rsandifo [Mon, 5 Jan 2004 09:39:06 +0000 (09:39 +0000)]
* doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75423 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/12945
rsandifo [Mon, 5 Jan 2004 09:37:02 +0000 (09:37 +0000)]
PR target/12945
* coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
for counter labels.
* config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
(mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
(mips_symbol_insns): Don't trust the local/global classification.
(m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
(override_options): Make -mabicalls -fno-unit-at-a-time imply
-mno-explicit-relocs.
(mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
between local and global symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75422 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoI am a moron.
steven [Mon, 5 Jan 2004 09:35:05 +0000 (09:35 +0000)]
I am a moron.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75421 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
rsandifo [Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)]
* config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
(mips_preferred_reload_class): Declare.
* config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
(EXTRA_CONSTRAINT): Update accordingly.
(PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
* config/mips/mips.c (mips_dangerous_for_la25_p): New function.
(mips_preferred_reload_class): New function.  Prefer LEA_REGS if
mips_dangerous_for_la25_p.
(mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
if mips_dangerous_for_la25_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75420 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13157
mmitchel [Mon, 5 Jan 2004 06:24:47 +0000 (06:24 +0000)]
PR c++/13157
* name-lookup.c (lookup_using_namespace): Remove spacesp
parameter.
(unqualified_namespace_lookup): Likewise.
(lookup_qualified_name): Adjust accordingly.
(lookup_name_real): Likewise.
(lookup_arg_dependent): Do not eliminate the namespace of the
functions found by unqualified name lookup unless that is the
current namespace.

PR c++/13157
* g++.dg/template/koenig3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75416 138bc75d-0d04-0410-961f-82ee72b054a4