OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago * genmodes.c (calc_wider_mode): Allocate enough room for all the
hainque [Wed, 15 Oct 2003 17:24:44 +0000 (17:24 +0000)]
* genmodes.c (calc_wider_mode): Allocate enough room for all the
entries we'll possibly assign in the sort buffer.

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

18 years agoFixed up last commit.
uweigand [Wed, 15 Oct 2003 17:12:01 +0000 (17:12 +0000)]
Fixed up last commit.

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

18 years ago * config.gcc (s390x-ibm-tpf*): New target.
uweigand [Wed, 15 Oct 2003 17:10:20 +0000 (17:10 +0000)]
* config.gcc (s390x-ibm-tpf*): New target.
* doc/invoke.texi: Document it.
* config/s390/t-tpf: New file.
* config/s390/tpf.h: New file.

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

18 years ago2003-10-15 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 15 Oct 2003 15:50:47 +0000 (15:50 +0000)]
2003-10-15  Michael Koch  <konqueror@gmx.de>

* java/text/RuleBasedCollator.java
(RuleBasedCollator): Moved around, documentation added.
(compare): Documentation added.
(equals): Likewise.
(getCollationElementIterator): Likewise.
(getCollationKey): Likewise.
(getRules): Likewise.
(hashCode): Likewise.

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

18 years ago * MAINTAINERS: Added myself to 'Write After Approval' section.
daney [Wed, 15 Oct 2003 15:40:13 +0000 (15:40 +0000)]
* MAINTAINERS: Added myself to 'Write After Approval' section.

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

18 years ago2003-10-15 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 15 Oct 2003 15:13:03 +0000 (15:13 +0000)]
2003-10-15  Michael Koch  <konqueror@gmx.de>

* java/text/RuleBasedCollator.java
(CollationElement): Renamed from RBCElement and moved into
RuledBasedCollator as inner class.

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

18 years ago2003-10-15 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 15 Oct 2003 14:49:30 +0000 (14:49 +0000)]
2003-10-15  Michael Koch  <konqueror@gmx.de>

* java/text/CollationElementIterator.java
(CollationElementIterator): Moved, documenatation added, call setText.
(next): Reformated.
(reset): Reformated.
(setText): New method.
(getOffset): New method.
* java/text/CollationKey.java
(getSourceString): Reformated.
(hashCode): Reformated.
(toByteArray): Reformated.

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

18 years agoForgot to mention cris_notice_update_cc in last ChangeLog entry
hp [Wed, 15 Oct 2003 14:13:03 +0000 (14:13 +0000)]
Forgot to mention cris_notice_update_cc in last ChangeLog entry

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

18 years ago PR target/12598
hp [Wed, 15 Oct 2003 14:07:57 +0000 (14:07 +0000)]
PR target/12598
* config/cris/cris.md (define_split "*mov_sidesi_biap_mem"+1)
(define_splits "*mov_sidesi_mem"+1, "casesi"+9, +10, +11, +12):
Use cris_mem_op and replace_equiv_address, not gen_rtx_MEM.
("call", "call_value", define_split "*mov_sidesi_mem"+19, +20)
(define_split "*mov_sidesi_mem"+21, +22, +23, +24, +25, +26, +27)
(define_split "*mov_sidesi_mem"+28, +29, +30): Use
replace_equiv_address, not gen_rtx_MEM.
* config/cris/cris.c (cris_mem_op): New match_operator function.
* config/cris/cris.h (PREDICATE_CODES): Add cris_mem_op.

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

18 years ago PR target/12598
hp [Wed, 15 Oct 2003 14:03:15 +0000 (14:03 +0000)]
PR target/12598
* gcc.dg/torture/cris-volatile-1.c: New test.

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

18 years ago2003-10-15 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 15 Oct 2003 14:02:37 +0000 (14:02 +0000)]
2003-10-15  Michael Koch  <konqueror@gmx.de>

* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Renamed infl to inf and bufsize to size,
added description to exception, check for inf == null and size < 0.

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

18 years ago2003-10-15 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 15 Oct 2003 13:57:00 +0000 (13:57 +0000)]
2003-10-15  Michael Koch  <konqueror@gmx.de>

* java/text/AttributedCharacterIterator.java,
java/text/CharacterIterator.java: Reformated.

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

18 years ago2003-10-15 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 15 Oct 2003 13:44:22 +0000 (13:44 +0000)]
2003-10-15  Michael Koch  <konqueror@gmx.de>

* javax/swing/UIDefaults.java (putDefaults):
Readded accidently removed "public" modifier.

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

18 years ago * config/m68k/m68k.h (MASK_SEP_DATA, TARGET_SEP_DATA,
bernie [Wed, 15 Oct 2003 10:29:27 +0000 (10:29 +0000)]
* config/m68k/m68k.h (MASK_SEP_DATA, TARGET_SEP_DATA,
MASK_ID_SHARED_LIBRARY, TARGET_ID_SHARED_LIBRARY): Move
definitions after the other flags.

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

18 years ago * MAINTAINERS: Move myself from 'Bug database only accounts' to
falk [Wed, 15 Oct 2003 08:00:29 +0000 (08:00 +0000)]
* MAINTAINERS: Move myself from 'Bug database only accounts' to
'Write After Approval' section. Update email.

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

18 years agooops
jason [Wed, 15 Oct 2003 02:37:10 +0000 (02:37 +0000)]
oops

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

18 years ago2003-10-14 Jeff Bailey <jbailey@nisa.net>
pinskia [Wed, 15 Oct 2003 02:17:34 +0000 (02:17 +0000)]
2003-10-14  Jeff Bailey  <jbailey@nisa.net>

       PR libstdc++/12562
       * crossconfig.m4: Share the config between *-linux* and *-gnu*.
       * configure: Regenerate.

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

18 years agoDaily bump.
gccadmin [Wed, 15 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2003-10-14 Ziemowit Laski <zlaski@apple.com>
zlaski [Wed, 15 Oct 2003 00:10:27 +0000 (00:10 +0000)]
2003-10-14  Ziemowit Laski  <zlaski@apple.com>

        * c-parse.in (methoddef, methodproto): Call objc_add_method()
        instead of add_method().
        * objc/objc-act.c (objc_check_decl): Do not check for
        constant_string_type.
        (add_method): Rename to objc_add_method().
        (really_start_method): Call objc_add_method() instead of
        add_method().
        * objc/objc-act.h (add_method): Rename to objc_add_method().

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

18 years ago * config/s390/s390-protos.h (s390_alc_comparison): Add prototype.
uweigand [Tue, 14 Oct 2003 22:55:36 +0000 (22:55 +0000)]
* config/s390/s390-protos.h (s390_alc_comparison): Add prototype.
(s390_slb_comparison): Likewise.
* config/s390/s390.c (s390_alc_comparison, s390_slb_comparison):
New functions.
* config/s390/s390.h (PREDICATE_CODES): Add s390_alc_comparison
and s390_slb_comparison.
* config/s390/s390.md ("*adddi3_31", "*subdi3_31"): Do not use on
zSeries machines.
("*adddi3_31z", "*subdi3_31z"): New insns.
("*adddi3_alc_cc", "*adddi3_alc", "*subdi3_slb_cc", "*subdi3_slb",
"*addsi3_alc_cc", "*addsi3_alc", "*subsi3_slb_cc", "*subsi3_slb"):
New insns.

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

18 years ago * configure.in: Clean up some feedback echoes.
neroden [Tue, 14 Oct 2003 22:10:20 +0000 (22:10 +0000)]
* configure.in: Clean up some feedback echoes.
* configure: Regenerate.

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

18 years ago * gettext.m4: Properly quote arguments to AC_DEFUN.
neroden [Tue, 14 Oct 2003 21:39:57 +0000 (21:39 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.

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

18 years ago * aclocal.m4: Properly quote names of macros being defined.
neroden [Tue, 14 Oct 2003 21:21:07 +0000 (21:21 +0000)]
* aclocal.m4: Properly quote names of macros being defined.

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

18 years ago * configure: Regenerate.
neroden [Tue, 14 Oct 2003 21:01:09 +0000 (21:01 +0000)]
* configure: Regenerate.

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

18 years ago PR c++/11878
jason [Tue, 14 Oct 2003 20:47:07 +0000 (20:47 +0000)]
    PR c++/11878
        * tree.c (build_target_expr_with_type): Call force_rvalue for
        classes with non-trivial copy ctors.

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

18 years ago PR c++/11063
jason [Tue, 14 Oct 2003 20:46:45 +0000 (20:46 +0000)]
    PR c++/11063
        * typeck.c (build_modify_expr): Call convert rather than abort.

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

18 years ago PR c++/11878
jason [Tue, 14 Oct 2003 20:46:27 +0000 (20:46 +0000)]
    PR c++/11878
        * tree.c (build_target_expr_with_type): Call force_rvalue for
        classes with non-trivial copy ctors.

        PR c++/11063
        * typeck.c (build_modify_expr): Call convert rather than abort.

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

18 years ago Breack out decl.c (3/n)
gdr [Tue, 14 Oct 2003 20:34:41 +0000 (20:34 +0000)]
Breack out decl.c (3/n)
* name-lookup.c: Include flags.h
(lookup_name_current_level): Make static.
(add_decl_to_level): Likewise.
(push_local_binding): Likewise.
(push_overloaded_decl): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(lookup_type_current_level): Likewise.
(unqualified_namespace_lookup): Likewise.
(namespace_ancestor): Likewise.
(push_using_directive): Likewise.
* decl.c (pushdecl): Move to name-lookup.c.
(pushdecl_top_level_1): Likewise.
(pushdecl_top_level): Likewise.
(pushdecl_top_level_and_finish): Likewise.
(maybe_push_decl): Likewise.
(push_using_decl): Likewise.
(push_overloaded_decl): Likewise.
(make_anon_name): Likewise.
(anon_cnt): Likewise.
(clear_anon_tags): Likewise.
(maybe_inject_for_scope_var): Likewise.
(check_for_out_of_scope_variable): Likewise.
* Make-lang.in (cp/name-lookup.o): Depend on flags.h.
* decl.c (warn_extern_redeclared_static): Export.
* cp-tree.h (warn_extern_redeclared_static): Declare.

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

18 years ago * config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.
neroden [Tue, 14 Oct 2003 19:51:11 +0000 (19:51 +0000)]
* config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.

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

18 years ago * config/ia64/ia64.c (ia64_expand_call): Force function address
sje [Tue, 14 Oct 2003 19:25:54 +0000 (19:25 +0000)]
* config/ia64/ia64.c (ia64_expand_call): Force function address
to DImode.
* config/ia64/ia64.md (call_gp): Put DImode on operand 0.

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

18 years ago * config/s390/s390.md ("muldf3", "*muldf3", "*muldf3_ibm",
uweigand [Tue, 14 Oct 2003 19:21:45 +0000 (19:21 +0000)]
* config/s390/s390.md ("muldf3", "*muldf3", "*muldf3_ibm",
"mulsf3", "*mulsf3", "*mulsf3_ibm"): Do not clobber CC.
("divdf3", "*divdf3", "*divdf3_ibm", "divsf3", "*divsf3",
"*divsf3_ibm"): Likewise.

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

18 years agogcc:
neroden [Tue, 14 Oct 2003 19:07:21 +0000 (19:07 +0000)]
gcc:
* config.gcc, config/m68hc11/t-m68hc11-gas: Replace uses of
target_alias with target_noncanonical.

ada:
* Make-lang.in: Replace uses of $(target_alias) with
$(target_noncanonical).
* ada/Makefile.in: Remove unused mention of $(target_alias).

cp:
* Make-lang.in: Replace uses of $(target_alias) with
$(target_noncanonical).

java:
* Make-lang.in: Replace uses of $(target_alias) with
$(target_noncanonical).

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

18 years ago * stor-layout.c (do_type_align): New fn, split out from...
jason [Tue, 14 Oct 2003 18:43:27 +0000 (18:43 +0000)]
    * stor-layout.c (do_type_align): New fn, split out from...
        (layout_decl): ...here.  Do all alignment calculations for
        FIELD_DECLs here.
        (update_alignment_for_field): Not here.
        (start_record_layout, debug_rli): Remove unpadded_align.
        * tree.h (struct record_layout_info_s): Remove unpadded_align.
        * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
        or DECL_MODE on the CONST_DECLs.
        (finish_struct): Don't mess with DECL_ALIGN.

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

18 years ago2003-10-14 Paolo Bonzini <bonzini@gnu.org>
tromey [Tue, 14 Oct 2003 17:53:42 +0000 (17:53 +0000)]
2003-10-14  Paolo Bonzini  <bonzini@gnu.org>

* interpret.cc (_Jv_InterpMethod::run): Don't
use libffi types, they were meant to be internal.
* gcj/javaprims.h (_Jv_ulong): New typedef.

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

18 years agoLets add the correct test case instead.
carlo [Tue, 14 Oct 2003 17:49:11 +0000 (17:49 +0000)]
Lets add the correct test case instead.

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

18 years agoPR libstdc++/12600
carlo [Tue, 14 Oct 2003 17:46:19 +0000 (17:46 +0000)]
PR libstdc++/12600
* include/bits/demangle.h (session<Allocator>::
  decode_unqualified_name(string_type& output)): Fail on a
  <operator-name> when decoding <template-argument>.
* testsuite/demangle/regression/cw-15.cc: New.

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

18 years ago2003-10-14 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 14 Oct 2003 17:15:27 +0000 (17:15 +0000)]
2003-10-14  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11480
* include/bits/stl_algo.h (unique): Fix.
* testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
* testsuite/25_algorithms/unique/11480.cc: New, from the PR.
* testsuite/25_algorithms/unique/2.cc: New.

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

18 years agofixed patch submitter's name
tromey [Tue, 14 Oct 2003 15:57:40 +0000 (15:57 +0000)]
fixed patch submitter's name

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

18 years ago * expr.c (block_move_libcall_safe_for_call_parm): Clean up,
geoffk [Tue, 14 Oct 2003 15:01:44 +0000 (15:01 +0000)]
* expr.c (block_move_libcall_safe_for_call_parm): Clean up,
and add case for machines where outgoing register parameters
get stack space.

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

18 years ago * config/darwin.c (machopic_indirect_data_reference): Use a scratch
geoffk [Tue, 14 Oct 2003 15:01:14 +0000 (15:01 +0000)]
* config/darwin.c (machopic_indirect_data_reference): Use a scratch
register when generating indirect address.

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

18 years ago2003-10-14 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 14 Oct 2003 14:56:29 +0000 (14:56 +0000)]
2003-10-14  Paolo Carlini  <pcarlini@unitus.it>

* src/localename.cc (_M_replace_categories, M_replace_facet):
Const-ify a couple of variables.

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

18 years ago * MAINTAINERS: Move myself from 'Write After Approval' to
sayle [Tue, 14 Oct 2003 13:40:33 +0000 (13:40 +0000)]
* MAINTAINERS: Move myself from 'Write After Approval' to
'Various Maintainers' section as middle-end maintainer.

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

18 years ago PR optimization/9325
sayle [Tue, 14 Oct 2003 13:31:27 +0000 (13:31 +0000)]
PR optimization/9325
* gcc.c-torture/execute/20031003-1.c: Remove non-portable tests
for overflowing floating point to integer conversion during RTL
simplification.

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

18 years ago* arm.c (arm_addimm_operand): MODE arguemnt is unused.
rearnsha [Tue, 14 Oct 2003 13:22:14 +0000 (13:22 +0000)]
* arm.c (arm_addimm_operand): MODE arguemnt is unused.
* arm.md (cbranchne_decr1): Fix bootstrap warning.

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

18 years ago * fixinc/inclhack.def (alpha_pthread_gcc): New fix.
ro [Tue, 14 Oct 2003 11:46:47 +0000 (11:46 +0000)]
* fixinc/inclhack.def (alpha_pthread_gcc): New fix.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/pthread.h [ALPHA_PTHREAD_GCC_CHECK]: New
testcase.
Fixes PR bootstrap/9330.

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

18 years ago2003-10-13 Eric Christopher <echristo@redhat.com>
echristo [Tue, 14 Oct 2003 08:39:24 +0000 (08:39 +0000)]
2003-10-13  Eric Christopher  <echristo@redhat.com>

* config/frv/frv.c (frv_adjust_field_align): Redo check for
too wide bitfields.
(frv_hard_regno_mode_ok): Add SPR_P and AP_FIRST.
* config/frv/frv.h (FUNCTION_PROFILER): Remove abort call.
(SBSS_SECTION_ASM_OP): Remove.
(EXTRA_SECTIONS): Remove in_sbss.
(EXTRA_SECTION_FUNCTIONS): Remove SBSS_SECTION_FUNCTION.
(SBSS_SECTION_FUNCTION, sbss_section): Remove.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Change sbss_section to
named_section.

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

18 years ago * name-lookup.h (cxx_scope_find_binding_for_name): Don't export.
gdr [Tue, 14 Oct 2003 08:19:06 +0000 (08:19 +0000)]
* name-lookup.h (cxx_scope_find_binding_for_name): Don't export.
(binding_for_name): Likewise.
(cxx_binding_clear): Move to name-lookup.c.
* name-lookup.c (cxx_scope_find_binding_for_name): Now static.
(binding_for_name): Likewise.
* decl2.c (is_ancestor): Move to name-lookup.c
(namespace_ancestor): Likewise.
(add_using_namespace): Likewise.
(ambiguous_decl): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(set_decl_namespace): Likewise.
(decl_namespace): Likewise.
(current_decl_namespace): Likewise.
(push_decl_namespace): Likewise.
(pop_decl_namespace): Likewise.
(push_scope): Likewise.
(pop_scope): Likewise.
(struct arg_lookup): Likewise.
(arg_assoc): Likewise.
(arg_assoc_args): Likewise.
(arg_assoc_type): Likewise.
(add_function): Likewise.
(arg_assoc_namespace): Likewise.
(arg_assoc_class): Likewise.
(arg_assoc_template_arg): Likewise.
(do_namespace_alias): Likewise.
(validate_nonmember_using_decl): Likewise.
(do_nonmember_using_decl): Likewise.
(do_toplevel_using_decl): Likewise.
(do_local_using_decl): Likewise.
(do_class_using_decl): Likewise.
(do_using_directive): Likewise.
(constructor_name_full): Likewise.
(constructor_name): Likewise.
(constructor_name_p): Likewise.

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

18 years ago2003-10-14 Petur Runolfsson <peturr02@ru.is>
andreast [Tue, 14 Oct 2003 04:47:10 +0000 (04:47 +0000)]
2003-10-14  Petur Runolfsson  <peturr02@ru.is>
    Andreas Tobler  <a.tobler@schweiz.ch>

* src/locale.cc (locale::_S_initialize): Workaround a confusion
of the use of the gthr API when __gthread_active_p() returns true.

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

18 years ago * Makefile.in, configure.in, config.host, mkheaders.in: Replace
neroden [Tue, 14 Oct 2003 03:41:42 +0000 (03:41 +0000)]
* Makefile.in, configure.in, config.host, mkheaders.in: Replace
uses of ${target_alias} for directory names (and other places which
won't like the empty string) with ${target_noncanonical}.  Introduce
call early in configure.in to _GCC_TOPLEV_NONCANONICAL_TARGET so it's
available.
* configure: Regenerate.

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

18 years ago * config/arm/iwmmxt.md (cond_iwmmxt_movsi_insn): New pattern.
ian [Tue, 14 Oct 2003 02:17:47 +0000 (02:17 +0000)]
* config/arm/iwmmxt.md (cond_iwmmxt_movsi_insn): New pattern.
* config/arm/arm.md: For splits which rely on conditional moves,
remove ! TARGET_IWMMXT condition.

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

18 years ago2003-10-13 Ziemowit Laski <zlaski@apple.com>
zlaski [Tue, 14 Oct 2003 00:38:48 +0000 (00:38 +0000)]
2003-10-13  Ziemowit Laski  <zlaski@apple.com>

        * objc/execute/_cmd.m: Fix typo.
        * objc.dg/image-info.m, objc.dg/symtab-1.m:
        Relax 'scan-assembler' regexp.
        * objc.dg/try-catch-1.m, objc.dg/try-catch-3.m,
        objc.dg/try-catch-4.m: Run on non-Darwin targets.
        * objc.dg/zero-link-2.m: Remove blank line.
        * objc.dg/zero-link-3.m: New test case.

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

18 years agoDaily bump.
gccadmin [Tue, 14 Oct 2003 00:16:36 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * ifcvt.c (num_removed_blocks): Rename to num_true_changes.
davem [Tue, 14 Oct 2003 00:06:52 +0000 (00:06 +0000)]
* ifcvt.c (num_removed_blocks): Rename to num_true_changes.
(find_cond_trap): Always increment if we emit a conditional
trap insn.

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

18 years ago * g77.f-torture/execute/980520-1.x: XFAIL at -O0.
geoffk [Mon, 13 Oct 2003 23:11:52 +0000 (23:11 +0000)]
* g77.f-torture/execute/980520-1.x: XFAIL at -O0.

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

18 years ago * gcc.dg/asm-names.c: Use scan-assembler-not rather
geoffk [Mon, 13 Oct 2003 23:09:17 +0000 (23:09 +0000)]
* gcc.dg/asm-names.c: Use scan-assembler-not rather
than linker trickery.

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

18 years ago PR c++/12370
reichelt [Mon, 13 Oct 2003 23:06:37 +0000 (23:06 +0000)]
PR c++/12370
* g++.dg/other/friend2.C: New test.
* ChangeLog: Add PR number to patch for PR c++/12370.

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

18 years ago * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
tromey [Mon, 13 Oct 2003 22:08:51 +0000 (22:08 +0000)]
* java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
(defineClass): Updated.
(_Jv_NewClass): Likewise.
* prims.cc (_Jv_InitPrimClass): Don't call
_Jv_InitNewClassFields.

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

18 years ago2003-10-13 Taras Judge <taras.judge@shaw.ca>
tromey [Mon, 13 Oct 2003 22:06:06 +0000 (22:06 +0000)]
2003-10-13  Taras Judge  <taras.judge@shaw.ca>

PR libgcj/12592
* gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
not just \n.

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

18 years ago * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
neroden [Mon, 13 Oct 2003 21:43:32 +0000 (21:43 +0000)]
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.

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

18 years ago * Makefile.in (BUILD_RTL): Replace $(BUILD_PREFIX)insn-modes.o
zack [Mon, 13 Oct 2003 21:16:33 +0000 (21:16 +0000)]
* Makefile.in (BUILD_RTL): Replace $(BUILD_PREFIX)insn-modes.o
with min-insn-modes.o.
(STAGESTUFF): Add min-insn-modes.c.
(genobjs): Add genmodes.o.
(print-rtl.o, print-rtl1.o): Depend on $(TM_P_H).
(insn-modes.o): Depend on $(TM_H) not $(GTM_H); also real.h.
(min-insn-modes.c, min-insn-modes.o): New rules.
(s-modes): Also generate min-insn-modes.c.
($(BUILD_PREFIX_1)insn-modes.o): Kill.
* genmodes.c (struct mode_data): Add format field.
(blank_mode, validate_mode, complete_mode): Update to match.
(make_scalar_mode): Separate into make_int_mode and make_float_mode.
(_SCALAR_MODE): Kill.
(FLOAT_MODE, FRACTIONAL_FLOAT_MODE): Add format argument.
(emit_insn_modes_c_header): Adjust.
(emit_min_insn_modes_c_header, emit_real_format_for_mode)
(emit_min_insn_modes_c): New functions.
(emit_insn_modes_c): Call emit_real_format_for_mode.
(main): Add -m option to generate min-insn-modes.c.
* machmode.h: Update documentation.  Add format argument to
all uses of FLOAT_MODE.
* real.c: Don't define real_format_for_mode here.

* dwarfout.c: Move default definition of PRINT_REG...
* defaults.h: ...here.
* print-rtl.c: Include tm_p.h.
(DEBUG_PRINT_REG, DEBUG_REGISTER_NAMES, debug_reg_names, reg_names):
Kill.
(print_rtx): Use PRINT_REG, not DEBUG_PRINT_REG.  But surround
this entire block with #ifndef GENERATOR_FILE.
* regclass.c: Unconditionally define reg_names.
* config/mips/mips.h, config/rs6000/rs6000.h, config/sh/sh.h
Don't define DEBUG_REGISTER_NAMES.
* config/rs6000/darwin.h: Don't use DEBUG_REGISTER_NAMES in
redefinition of REGISTER_NAMES.
* config/i386/i386.h: Don't define DEBUG_PRINT_REG.

* combine.c: Change all preprocessor conditionals on
EXTRA_CC_MODES to use SELECT_CC_MODE instead; rearrange a bit
for clarity.
* genopinit.c: Remove mention of EXTRA_CC_MODES in comment.
* configure.in: Don't define EXTRA_CC_MODES.
* configure, config.in: Regenerate.
* doc/tm.texi: Remove documentation of EXTRA_CC_MODES.

* config/arc/arc.c, config/m32r/m32r.c, config/sparc/sparc.c:
May assume that GET_MODE_CLASS is accurate for extra CC modes
at all times.

* config/i860/i860.h (INIT_CUMULATIVE_ARGS): Pass correct
number of arguments to aggregate_value_p.

* genmodes.c (RESET_FLOAT_FORMAT, reset_float_format): New.
* machmode.def: Explain ARCH-modes.def.  Document
RESET_FLOAT_FORMAT.  Improve commentary on various mode
clusters.  Do not define OI, PQI, PHI, PSI, PDI, QF, HF, TQF,
XF, or TF modes here.  Remove backward-compatibility
definition of CC.

* config/alpha/alpha-modes.def: New file; define TF mode.
* config/arc/arm-modes.def: Define XF mode.
* config/c4x/c4x-modes.def: Define QF and HF modes.  Unset
float format for SF and DF modes.
* config/dsp16xx/dsp16xx-modes.def: New file; define HF mode.
* config/i386/i386-modes.def: Define XF and TF modes.
* config/i960/i960-modes.def: Define TF mode.
* config/ia64/ia64-modes.def: Define TF and OI modes.
* config/m68k/m68k-modes.def: New file; define XF mode.
* config/mips/mips-modes.def: New file; define TF mode, reset
formats for SF and DF modes.
* config/pa/pa-modes.def: Define TF mode.
* config/rs6000/rs6000.c: Define TF and PSI modes.
* config/s390/s390-modes.def: Define OI mode.
* config/sh/sh-modes.def: New file; define PSI mode.
* config/sparc/sparc-modes.def: Define TF mode.
* config/vax/vax-modes.def: New file; reset formats for SF and
DF modes.

* config/c4x/c4x.c (c4x_override_options): No need to mess
with real_format_for_mode or set REAL_MODE_FORMATs.
(c4x_immed_int_constant): Don't apply GET_MODE_CLASS to rtx
variable.
* config/i386/i386.c (override_options): No need to set
REAL_MODE_FORMATs here.
* config/i960/i960.c (i960_initialize): Likewise.
* config/m68k/m68k.c (m68k_override_options): Likewise.
* config/ia64/ia64.c (ia64_override_options): Set REAL_MODE_FORMAT
for TFmode only if not the default.
* config/mips/mips.c (override_options): Likewise.
* config/vax/vax.c (override_optionms): Set REAL_MODE_FORMAT for
DFmode only if not the default.

* config/i370/i370.h (RET_REG): Don't consider TFmode.
* config/m68hc11/m68hc11.c (print_operand): Don't consider XFmode.
* config/dsp16xx/dsp16xx.c (hard_regno_mode_ok): #if 0 out use
of modes that don't appear anywhere in the machine description.

* config/arc/arc-modes.def, config/arm/arm-modes.def
* config/c4x/c4x-modes.def, config/frv/frv-modes.def
* config/i386/i386-modes.def, config/i960/i960-modes.def
* config/ia64/ia64-modes.def, config/mmix/mmix-modes.def
* config/pa/pa-modes.def, config/pdp11/pdp11-modes.def
* config/rs6000/rs6000-modes.def, config/s390/s390-modes.def
* config/sparc/sparc-modes.def: Convert to new style for
declaring extra CC modes.

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

18 years ago * cpplex.c (_cpp_clean_line): In the common case of a line
zack [Mon, 13 Oct 2003 18:53:28 +0000 (18:53 +0000)]
* cpplex.c (_cpp_clean_line): In the common case of a line
with no trigraphs and no \-newline, avoid writing to memory.
(_cpp_skip_block_comment): Use a local 'cur' pointer instead
of the buffer member.  Make c an uchar to avoid unnecessary
sign extensions.

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

18 years ago * configure.in: Remove unnecessary test.
neroden [Mon, 13 Oct 2003 18:18:01 +0000 (18:18 +0000)]
* configure.in: Remove unnecessary test.
* configure: Regenerate.

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

18 years ago * configure.in: Fix grammatical error. Move UWIN host error to...
neroden [Mon, 13 Oct 2003 17:50:21 +0000 (17:50 +0000)]
* configure.in: Fix grammatical error.  Move UWIN host error to...
* config.host: Here.
* configure: Regenerate.

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

18 years ago2003-10-13 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Mon, 13 Oct 2003 17:01:01 +0000 (17:01 +0000)]
2003-10-13  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md ("*fmadddf4", "*fmsubdf4", "*fmaddsf4",
"*fmsubsf4"): Insns are now dependent on TARGET_FUSED_MADD instead
of flag_unsafe_math_optimizations.
* config/s390/s390.h ("MASK_NO_FUSED_MADD", "TARGET_NO_FUSED_MADD",
"TARGET_FUSED_MADD", "TARGET_SWITCHES"): Introduced new target flags
fused-madd and no-fused-madd.
* doc/invoke.texi: Documented the new options fused-madd and
no-fused-madd for S/390.

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

18 years ago * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
amodra [Mon, 13 Oct 2003 16:37:44 +0000 (16:37 +0000)]
* src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
and align.

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

18 years ago * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Choose
amodra [Mon, 13 Oct 2003 16:28:23 +0000 (16:28 +0000)]
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Choose
MASK_ALIGN_NATURAL if rs6000_alignment_string not given.  Don't
assign DEFAULT_ABI.
(ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Update comment.
* config/rs6000/rs6000.c: Formatting.
(rs6000_parse_alignment_option): Only set rs6000_alignment_flags
when rs6000_alignment_string given.

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

18 years agoFix thinko.
gdr [Mon, 13 Oct 2003 10:33:59 +0000 (10:33 +0000)]
Fix thinko.

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

18 years ago Break out decl.c (2/n)
gdr [Mon, 13 Oct 2003 10:26:36 +0000 (10:26 +0000)]
Break out decl.c (2/n)
* name-lookup.c: Include diagnostic.h
(cxx_binding_free): Make static.
(cxx_binding_make): Likewise.
(binding_table_new): Likewise
(binding_table_free): Likewise.
(binding_table_insert): Likewise.
(binding_table_find_anon_type): Likewise.
(binding_table_reverse_maybe_remap): Likewise.
(supplement_binding): Likewise.
* name-lookup.h (global_scope_name): Declare extern.
(global_type_node): Likewise.
(cxx_binding_free): Don't export.
(cxx_binding_make): Likewise.
(binding_table_new): Likewise.
(binding_table_free): Likewise.
(binding_table_insert): Likewise.
(binding_table_find_anon_type): Likewise.
(binding_table_reverse_maybe_remap): Likewise.
* Make-lang.in (cp/name-lookup.o): Depend on $(DIAGNOSTIC_H)
* decl.c (lookup_namespace_name): Move to name-lookup.c
(select_decl): Likewise.
(unqualified_namespace_lookup): Likewise.
(lookup_qualified_name): Likewise.
(lookup_name_real): Likewise.
(lookup_name_nonclass): Likewise.
(lookup_function_nonclass): Likewise.
(lookup_name): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(lookup_flags): Likewise.
(qualify_lookup): Likewise.
(lookup_tag): Likewise.
(lookup_tag_reverse): Likewise.
(getdecls): Likewise.
(storedecls): Remove.
(cxx_remember_type_decls): Likewise.
(global_bindings_p): Likewise.
(innermost_nonclass_level): Likewise.
(toplevel_bindings_p): Likewise.
(namespace_bindings_p): Likewise.
(kept_level_p): Likewise.
(innermost_scope_kind): Likewise.
(template_parm_scope_p): Likewise.
(push_binding): Likewise.
(push_local_binding): Likewise.
(add_decl_to_level): Likewise.  Make extern.
(push_class_binding): Move to name-lookup.c.
(resume_level): Likewise.  Rename to resume_scope.
(begin_scope): Likewise.
(indent): Likewise.
(binding_depth): Likewise.
(is_class_level): Likewise.
(cxx_scope_descriptor): Likewise.
(cxx_scope_debug): Likewise.
(namespace_scope_ht_size): Likewise.
(leave_scope): Likewise.
(pushlevel_class): Likewise.
(poplevel_class): Likewise.
(clear_identifier_class_values): Likewise.
(pushdecl_with_scope): Likewise.
(pushdecl_namespace_level): Likewise.
(pushdecl_class_level): Likewise.
(push_class_level_binding): Likewise.
(push_using_directive): Likewise.
(identifier_global_value): Likewise.
(keep_next_level_flag): Likewise.
(keep_next_level): Likewise.
(free_binding_level): Likewise.
(set_class_shadows): Likewise.
(maybe_push_cleanup_level): Likewise.
(cp_namespace_decls): Likewise.
(bt_print_entry): Likewise.
(print_binding_level): Likewise.
(print_other_binding_stack): Likewise.
(print_binding_stack): Likewise.
(push_namespace): Likewise.
(pop_namespace): Likewise.
(push_nested_namespace): Likewise.
(pop_nested_namespace): Likewise.
(cxx_saved_binding_make): Likewise.
(struct cxx_saved_binding_make): Likewise.
(store_bindings): Likewise.
(maybe_push_to_top_level): Likewise.
(push_to_top_level): Likewise.
(pop_from_top_level): Likewise.
(identifier_type_value): Likewise.
(set_identifier_type_value): Likewise.
(set_identifier_type_value_with_scope): Likewise.
(pop_everything): Likewise.
(pushtag): Likewise.
(follow_tag_typedef): Likewise.
(maybe_process_template_type_declaration): Likewise.
(pop_binding): Likewise.
* cp-tree.h: Move corresponding declarations to name-lookup.h

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

18 years ago PR target/12538
ebotcazou [Mon, 13 Oct 2003 09:57:48 +0000 (09:57 +0000)]
PR target/12538
* config/sparc/sparc.c (MUST_SAVE_REGISTER): Delete.
(sparc_flat_must_save_register_p): New function to decide whether
a register must be saved/restored in the function prologue/epilogue.
(sparc_flat_compute_frame_size): Use it instead of MUST_SAVE_REGISTER.

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

18 years ago * config/sh/sh.c, config/sh/sh-protos.h: Convert to
steven [Mon, 13 Oct 2003 08:44:08 +0000 (08:44 +0000)]
* config/sh/sh.c, config/sh/sh-protos.h: Convert to
ISO C90 function declarations and definitions.

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

18 years ago * config/avr/avr.c, config/avr/avr-protos.h: Convert to
steven [Mon, 13 Oct 2003 08:40:44 +0000 (08:40 +0000)]
* config/avr/avr.c, config/avr/avr-protos.h: Convert to
ISO C90 function declarations and definitions.

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

18 years ago2003-10-13 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 13 Oct 2003 05:54:42 +0000 (05:54 +0000)]
2003-10-13  Michael Koch  <konqueror@gmx.de>

* java/io/File.java: Reformated.
(equals): Check for obj == null.

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

18 years ago2003-10-13 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 13 Oct 2003 05:34:53 +0000 (05:34 +0000)]
2003-10-13  Michael Koch  <konqueror@gmx.de>

* java/net/JarURLConnection.java
(jarFileURL): Added dcoumentation.
(jarFileURLConnection): Reformated documentation.
(entryName): Renamed from "element", documentation rewritten.
(connectionCache): Renamed from "conn_cache", documentation
reformated.
(JarURLConnection): Check URL protocol.
(getEntryName): Use entryName.
(connect): Use connectionCache.
(getInputStream): Use entryName, fixed comment.
(getJarEntry): Use entryName.
(getHeaders): Use entryName.
* java/net/URLConnection.java
(addRequestProperty): Fixed documentation.
(setDefaultRequestProptery): Added comment that it does nothing since
JDK 1.3.
(getDefaultRequestProperty): Likewise.

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

18 years ago2003-10-13 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 13 Oct 2003 05:03:39 +0000 (05:03 +0000)]
2003-10-13  Michael Koch  <konqueror@gmx.de>

* java/net/java/net/URLStreamHandlerFactory.java
(createURLStreamHandler): Removed redundant "public" modifier.
* java/sql/DatabaseMetaData.java:
(DatabaseMetaData):  Readded accidently removed "public" modifier.
* java/sql/ParameterMetaData.java:
(ParameterMetaData): Readded accidently removed "public" modifier.
* java/sql/PreparedStatement.java:
(PreparedStatement): Readded accidently removed "public" modifier.
* java/sql/Ref.java:
(Ref): Readded accidently removed "public" modifier.

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

18 years ago2003-10-13 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 13 Oct 2003 04:45:03 +0000 (04:45 +0000)]
2003-10-13  Michael Koch  <konqueror@gmx.de>

* java/nio/Buffer.java
(hasRemaining): Made implementation more clear.
* java/nio/MappedByteBuffer.java
(loaded): New member variable.
(force): Added comment.
(isLoaded): Return value of loaded.
(load): Set loaded to true, added comment.

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

18 years ago * config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
neroden [Mon, 13 Oct 2003 02:48:59 +0000 (02:48 +0000)]
* config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
config files which do the same thing.
* config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
config/freebsd6.h: Remove now unnecessary files.

OK, I don't know what happened, but get this to commit properly.

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

18 years agoDaily bump.
gccadmin [Mon, 13 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * gcc.dg/20031012-1.c: New test.
steven [Sun, 12 Oct 2003 22:16:04 +0000 (22:16 +0000)]
* gcc.dg/20031012-1.c: New test.

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

18 years agogcc/
steven [Sun, 12 Oct 2003 22:09:29 +0000 (22:09 +0000)]
gcc/
* c-common.c (c_common_truthvalue_conversion): Warn if the
address of a non-weak function is used as a truth value.

cp/
* cvt.c (ocp_convert): Move warning to C common code.

testsuite/
* gcc.dg/weak/weak-3.c: Fix for new warning.

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

18 years ago * config/h8300/h8300.c (WORD_REG_USED): Use SP_REG instead of
kazu [Sun, 12 Oct 2003 20:49:45 +0000 (20:49 +0000)]
* config/h8300/h8300.c (WORD_REG_USED): Use SP_REG instead of
a literal.
* config/h8300/h8300.h (REGNO_OK_FOR_BASE_P): Use MAC_REG
instead of a literal.

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

18 years ago * config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
neroden [Sun, 12 Oct 2003 20:09:19 +0000 (20:09 +0000)]
* config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
config files which do the same thing.
* config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
config/freebsd6.h: Remove now unnecessary files.

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

18 years ago2003-10-12 Petur Runolfsson <peturr02@ru.is>
paolo [Sun, 12 Oct 2003 20:03:18 +0000 (20:03 +0000)]
2003-10-12  Petur Runolfsson  <peturr02@ru.is>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11460
* src/strstream.cc (pbackfail): Fix to use to_int_type.
* testsuite/backward/11460.cc: New, from the PR.

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

18 years ago PR optimization/8750
kcook [Sun, 12 Oct 2003 17:10:12 +0000 (17:10 +0000)]
PR optimization/8750
* gcc.c-torture/execute/20031012-1.c: New Test Case.

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

18 years ago * doc/extend.texi (Function Attributes): Mention the exceptional
hp [Sun, 12 Oct 2003 16:08:10 +0000 (16:08 +0000)]
* doc/extend.texi (Function Attributes): Mention the exceptional
path for noreturn-marked functions.

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

18 years ago2003-10-12 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 12 Oct 2003 13:39:07 +0000 (13:39 +0000)]
2003-10-12  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/PipeImpl.java
(SourceChannelImpl): New inner class.
(SinkChannelImpl): New inner class.
(sink): New member variable.
(source): New member variable.
(PipeImpl): Add SelectorProvider argument, implemented.
(nativeInit): New method.
(sink): Return sink channel.
(source): Return source channel.
* gnu/java/nio/SelectorProviderImpl.java
(openPipe): Give provider as argument to PipeImpl constructor.
* java/nio/channels/spi/SelectorProvider.java
(pr): Removed.
(systemDefaultProvider): New member variable.
(provider): Made it synchronized, use property
java.nio.channels.spi.SelectorProvider.
* gnu/java/nio/natPipeImpl.cc: New file.
* Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
* Makefile.in: Regenerated.

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

18 years ago2003-10-12 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 12 Oct 2003 13:33:32 +0000 (13:33 +0000)]
2003-10-12  Michael Koch  <konqueror@gmx.de>

* javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableCellEditor.java,
javax/swing/table/TableCellRenderer.java,
javax/swing/table/TableColumnModel.java,
javax/swing/table/TableModel.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/Document.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/ViewFactory.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/MutableTreeNode.java,
javax/swing/tree/RowMapper.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeCellRenderer.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/undo/StateEditable.java,
javax/swing/undo/UndoableEdit.java:
Removed redundant modifiers.

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

18 years ago2003-10-12 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 12 Oct 2003 13:26:01 +0000 (13:26 +0000)]
2003-10-12  Michael Koch  <konqueror@gmx.de>

* javax/swing/event/AncestorListener.java,
javax/swing/event/CaretListener.java,
javax/swing/event/CellEditorListener.java,
javax/swing/event/ChangeListener.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/DocumentListener.java,
javax/swing/event/HyperlinkListener.java,
javax/swing/event/InternalFrameListener.java,
javax/swing/event/ListDataListener.java,
javax/swing/event/ListSelectionListener.java,
javax/swing/event/MenuDragMouseListener.java,
javax/swing/event/MenuKeyListener.java,
javax/swing/event/MenuListener.java,
javax/swing/event/MouseInputListener.java,
javax/swing/event/PopupMenuListener.java,
javax/swing/event/TableColumnModelListener.java,
javax/swing/event/TableModelListener.java,
javax/swing/event/TreeExpansionListener.java,
javax/swing/event/TreeModelListener.java,
javax/swing/event/TreeSelectionListener.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditListener.java,
javax/swing/plaf/UIResource.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
Removed redundant modifiers.

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

18 years ago2003-10-12 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 12 Oct 2003 13:20:50 +0000 (13:20 +0000)]
2003-10-12  Michael Koch  <konqueror@gmx.de>

* javax/swing/Action.java,
javax/swing/BoundedRangeModel.java,
javax/swing/CellEditor.java,
javax/swing/ComboBoxEditor.java,
javax/swing/ComboBoxModel.java,
javax/swing/DesktopManager.java,
javax/swing/JComboBox.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListSelectionModel.java,
javax/swing/MenuElement.java,
javax/swing/MutableComboBoxModel.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/ScrollPaneConstants.java,
javax/swing/SingleSelectionModel.java,
javax/swing/SpinnerModel.java,
javax/swing/SwingConstants.java,
javax/swing/UIDefaults.java,
javax/swing/WindowConstants.java,
javax/swing/border/Border.java,
javax/swing/colorchooser/ColorSelectionModel.java:
Removed redundant modifiers.

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

18 years ago2003-10-12 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 12 Oct 2003 10:12:09 +0000 (10:12 +0000)]
2003-10-12  Paolo Carlini  <pcarlini@unitus.it>

* config/locale/ieee_1003.1-2001/codecvt_specializations.h:
Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
* include/bits/basic_string.tcc: Likewise.
* include/bits/ios_base.h: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/stl_function.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/streambuf_iterator.h
* include/std/std_iosfwd.h: Likewise.
* include/std/std_istream.h: Likewise.
* include/std/std_sstream.h: Likewise.
* include/std/std_streambuf.h: Likewise.
* src/ios.cc: Likewise.
* include/bits/c++config:
Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
dg-error directive due to removal of a blank line.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.

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

18 years ago * cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
hubicka [Sun, 12 Oct 2003 09:06:26 +0000 (09:06 +0000)]
* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
warning.

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

18 years ago * config/i386/i386.c (x86_this_parameter): Fix typo.
dannysmith [Sun, 12 Oct 2003 08:21:00 +0000 (08:21 +0000)]
* config/i386/i386.c (x86_this_parameter): Fix typo.

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

18 years ago2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
paolo [Sun, 12 Oct 2003 07:34:30 +0000 (07:34 +0000)]
2003-10-12  Andreas Tobler  <a.tobler@schweiz.ch>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11844/11740 (cont)
* config/os/generic/ctype_inline.h (ctype<char>::is):
Generically, use a bitmasksize of 15 (instead of 10);
Fix the logic to actually return (M & m) != 0 as per
22.2.1.1.2.

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

18 years ago * Make-lang.in (treelang.install-info): Remove reference to
aj [Sun, 12 Oct 2003 04:59:14 +0000 (04:59 +0000)]
* Make-lang.in (treelang.install-info): Remove reference to
treelang.info.
(treelang.): Removed.

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

18 years agoDaily bump.
gccadmin [Sun, 12 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * Makefile.in (web.o): New.
hubicka [Sat, 11 Oct 2003 22:57:48 +0000 (22:57 +0000)]
* Makefile.in (web.o): New.
* web.c: New file.
* rtl.h (web_main): Declare.
* timervar.def (TV_WEB): New.
* toplev.c (dump_file_index, dump_file_info): Add DFI_web.
(rest_of_hanle_web): New.
(flag_web): New static variable.
(lang_independent_options): Add "web".
(rest_of_compilation): Call rest_of_handle_web.
* invoke.texi (-fweb): Document.
* common.opt (fweb): New.
* flags.h (flag_web): New.
* opts.c (decode_options): Set flag_web at -O3.

* passes.texi (web construction):  Document.
* invoke.texi (-O3): Document that -fweb is enabled.

* regrename.c (regrename_optimize): Deal better with situation when
replacement failed.

* sched-ebb.c: Include params.h and profile.h
(schedule_ebbs):  Use tracer parameters to discover superblocks
* Makefile.in (sched-ebb.o):  Add dependencies.

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

18 years ago * fold-const.c (negate_mathfn_p): New function to determine whether
sayle [Sat, 11 Oct 2003 21:15:08 +0000 (21:15 +0000)]
* fold-const.c (negate_mathfn_p): New function to determine whether
a built-in mathematical function is sign preserving, f(-x) == -f(x).
Add support for BUILT_IN_ASIN, BUILT_IN_ASINF and BUILT_IN_ASINL.
(tree_swap_operands_p): Change API to take an additional argument
indicating that the swapped operands evaluate in reverse order.
Canonicalize VAR_DECLs and PARM_DECLs last if we can, i.e. neither
operand side-effects or we don't care about flag_evaluation_order.
(reorder_operands_p): New function to check whether its safe to
evaluate the given operands in reverse order.
(negate_expr_p):  We can always negate integer constants unless
we honor -ftrapv and the signed type would overflow.  Only allow
-(A-B) into B-A if reorder_operands_p says that its OK.  Allow
negation of COMPLEX_CST if both real and imaginary parts can be
negated.  Allow negation through floating point extensions and
sign-preserving built-in functions.
(negate_expr):  Move the code to negate integers from "fold" to
here.  Always negate integer constants unless we honor -ftrapv
and the signed type would overflow.  Always negate real constants
unless we honor -ftrapping-math.  Only convert -(A-B) into B-A
if allowed by reorder_operands_p.  Add support for COMPLEX_CST.
Optimize negation through floating point extensions and
sign-preserving built-in functions (as defined by negate_mathfn_p).
(fold): Adjust calls to tree_swap_operands_p.
(fold <NEGATE_EXPR>): Move the remaining negation optimizations
to negate_expr_p/negate_expr.
(fold <MINUS_EXPR>): Use reorder_operands_p to check whether we're
allowed to convert (-A) - B into (-B) - A.

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

18 years ago * builtins.c (expand_builtin_strcmp): Defend against the possibility
sayle [Sat, 11 Oct 2003 21:11:29 +0000 (21:11 +0000)]
* builtins.c (expand_builtin_strcmp): Defend against the possibility
that gen_cmpstrsi may fail: Stabilize the argument list against
re-evaluation and expand the library call directly using this saved
argument list if a cmpstrsi sequence can't be generated.
(expand_builtin_strncmp): Likewise.

* config/i386/i386.md (cmpstrsi, movstrsi): Disable with -Os.

* gcc.c-torture/execute/string-opt-8.c: Don't test optimizations
that inline strncmp as cmpstrsi on i386 when compiled with -Os.

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

18 years ago PR optimization/12260
sayle [Sat, 11 Oct 2003 21:06:19 +0000 (21:06 +0000)]
PR optimization/12260
* simplify-rtx.c (simplify_unary_operation): Simplify all unary
operations through CONST nodes.  Optimize (neg (plus X C)) as
(minus -C X) for constant values C.
(simplify_binary_operation): Optimize (minus (neg X) C) as
(minus -C X) for constant values C.
(simplify_plus_minus): Avoid creating (neg (const (plus X C)),
instead create (minus -C X).

* gcc.c-torture/compile/20031011-2.c: New test case.

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

18 years ago * expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
sayle [Sat, 11 Oct 2003 21:00:51 +0000 (21:00 +0000)]
* expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
safe_from_p for us, once it chooses an evaluation order.
(expand_expr <MULT_EXPR>): Likewise.
(expand_expr <MIN_EXPR> <MAX_EXPR>): Likewise.  If expand_operands
places the second operand in "target", swap the operands.
(do_store_flag): Let expand_operands call safe_from_p for us.

* gcc.c-torture/execute/20031011-1.c: New testcase.

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

18 years ago PR optimization/12544
ebotcazou [Sat, 11 Oct 2003 20:56:24 +0000 (20:56 +0000)]
PR optimization/12544
* function.c (put_var_into_stack): Don't generate ADDRESSOFs
for DECL_NONLOCAL decls.

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