platform/upstream/gcc.git
20 years agore PR target/12978 (problem with -fweb and c4x target)
Herman A.J. ten Brugge [Sun, 25 Jan 2004 02:20:16 +0000 (03:20 +0100)]
re PR target/12978 (problem with -fweb and c4x target)

2004-01-24  Herman A.J. ten Brugge  <hermantenbrugge@home.nl>

        PR target/12978
        * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
        Remove movstrqi_small because it conflicts with movstrqi_large.

From-SVN: r76534

20 years ago* de.po: Update.
Joseph Myers [Sun, 25 Jan 2004 02:06:24 +0000 (02:06 +0000)]
* de.po: Update.

From-SVN: r76532

20 years agoDaily bump.
GCC Administrator [Sun, 25 Jan 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r76529

20 years agocris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
Kazu Hirata [Sat, 24 Jan 2004 22:27:20 +0000 (22:27 +0000)]
cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.

* config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(cris_struct_value_rtx): Likewise.
* config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
(CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
STRUCT_VALUE_REGNUM.
(STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.

From-SVN: r76525

20 years ago2004-01-24 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 24 Jan 2004 20:56:47 +0000 (20:56 +0000)]
2004-01-24  Michael Koch  <konqueror@gmx.de>

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

From-SVN: r76523

20 years agore PR bootstrap/13848 (bootstrap failure - ICE in ada/utils.c)
Ian Lance Taylor [Sat, 24 Jan 2004 20:54:58 +0000 (20:54 +0000)]
re PR bootstrap/13848 (bootstrap failure - ICE in ada/utils.c)

PR bootstrap/13848
* cse.c (cse_cc_succs): Change the mode of the source expression
as soon as decide we need a new mode.  Don't permit changing modes
if we found a match in a successor block.
(cse_condition_code_reg): Save original mode of source expression
so that we know whether we have to change the mode in other
insns.

* gcc.dg/20040124-1.c: New test.

From-SVN: r76522

20 years agoMakefile.am: Added library version to gtk peer lib.
Michael Koch [Sat, 24 Jan 2004 20:34:41 +0000 (20:34 +0000)]
Makefile.am: Added library version to gtk peer lib.

2004-01-24  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Added library version to gtk peer lib.
* Makefile.in: Regenerated.

From-SVN: r76520

20 years agoInflaterInputStream.java: Merged class documentation with classpath.
Michael Koch [Sat, 24 Jan 2004 20:32:57 +0000 (20:32 +0000)]
InflaterInputStream.java: Merged class documentation with classpath.

2004-01-24  Michael Koch  <konqueror@gmx.de>

* java/util/zip/InflaterInputStream.java: Merged class documentation
with classpath.

From-SVN: r76519

20 years agobasic_string.tcc (operator+(const _CharT*, const basic_string&)): No need to go throu...
Paolo Carlini [Sat, 24 Jan 2004 18:54:23 +0000 (18:54 +0000)]
basic_string.tcc (operator+(const _CharT*, const basic_string&)): No need to go through the append taking two iterators.

2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (operator+(const _CharT*,
const basic_string&)): No need to go through the append
taking two iterators.

From-SVN: r76517

20 years agobasic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min:...
Paolo Carlini [Sat, 24 Jan 2004 16:52:04 +0000 (16:52 +0000)]
basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min: machine language is worse.

2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (rfind(_CharT, size_type)):
Revert last change to use std::min: machine language is worse.
(find_last_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(_CharT, size_type)): Ditto.

* include/bits/basic_string.tcc (insert(size_type, const _CharT*,
size_type)): Discard the value returned by _M_check.
(replace(size_type, size_type, const _CharT*, size_type)): Ditto.
(append(const basic_string&, size_type, size_type)): Ditto.
(copy(_CharT*, size_type, size_type)): Ditto.
(compare(size_type, size_type, const basic_string&)): Ditto.
(compare(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(compare(size_type, size_type, const _CharT*)): Ditto.
(compare(size_type, size_type, const _CharT*, size_type)): Ditto.

From-SVN: r76514

20 years agopyobjc-tc.c (main): Treat result value as of type ffi_arg.
Andreas Tobler [Sat, 24 Jan 2004 16:13:48 +0000 (17:13 +0100)]
pyobjc-tc.c (main): Treat result value as of type ffi_arg.

2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
as of type ffi_arg.
* testsuite/libffi.call/struct3.c (main): Fix CHECK.

From-SVN: r76513

20 years agoemit-rtl.c (change_address, [...]): Return early when there is nothing to change.
Jan Hubicka [Sat, 24 Jan 2004 15:31:04 +0000 (16:31 +0100)]
emit-rtl.c (change_address, [...]): Return early when there is nothing to change.

* emit-rtl.c (change_address, adjust_address_1, offset_address,
widen_memory_access):  Return early when there is nothing to change.

From-SVN: r76512

20 years agobasic_string.h (insert(size_type, const basic_string&, size_type, size_type)): Define...
Paolo Carlini [Sat, 24 Jan 2004 12:32:54 +0000 (12:32 +0000)]
basic_string.h (insert(size_type, const basic_string&, size_type, size_type)): Define inline here.

2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (insert(size_type,
const basic_string&, size_type, size_type)): Define inline here.
* include/bits/basic_string.tcc (insert(size_type,
const basic_string&, size_type, size_type)): Move inline.

From-SVN: r76509

20 years agobasic_string.h (assign(const basic_string&, size_type, size_type)): Define inline...
Paolo Carlini [Sat, 24 Jan 2004 11:34:06 +0000 (11:34 +0000)]
basic_string.h (assign(const basic_string&, size_type, size_type)): Define inline here.

2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (assign(const basic_string&,
size_type, size_type)): Define inline here.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Only declare.
(_M_replace(iterator, iterator, _InputIterator,
_InputIterator)): Remove.
* include/bits/basic_string.tcc (assign(const basic_string&,
size_type, size_type)): Move inline.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Define, now does also what
_M_replace did before.
* src/string-inst.cc (_M_replace): Don't instantiate.

* include/bits/basic_string.tcc (find(const _CharT*,
size_type, size_type)): Tidy.
(rfind(_CharT, size_type)): Ditto.
(find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_first_not_of(_CharT, size_type)): Ditto.
(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(_CharT, size_type)): Ditto.

From-SVN: r76508

20 years agosimplify-rtx.c (simplify_relational_operation): Don't simplify address == constant...
Jakub Jelinek [Sat, 24 Jan 2004 11:01:29 +0000 (12:01 +0100)]
simplify-rtx.c (simplify_relational_operation): Don't simplify address == constant into address + -constant == 0.

* simplify-rtx.c (simplify_relational_operation): Don't
simplify address == constant into address + -constant == 0.

* gcc.dg/20040123-1.c: New test.

From-SVN: r76490

20 years agogcc.c (process_command): Don't internationalize the Copyright message.
Kazu Hirata [Sat, 24 Jan 2004 10:09:48 +0000 (10:09 +0000)]
gcc.c (process_command): Don't internationalize the Copyright message.

* gcc.c (process_command): Don't internationalize the
Copyright message.
* mips-tfile.c (main): Likewise.

From-SVN: r76488

20 years agocse.c: (cse_cc_succs) Fix comparison warning.
Andreas Tobler [Sat, 24 Jan 2004 09:57:07 +0000 (10:57 +0100)]
cse.c: (cse_cc_succs) Fix comparison warning.

2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>

* cse.c: (cse_cc_succs) Fix comparison warning.

From-SVN: r76487

20 years ago* config/h8300/h8300.md: Remove extraneous USE in expanders.
Kazu Hirata [Sat, 24 Jan 2004 09:54:32 +0000 (09:54 +0000)]
* config/h8300/h8300.md: Remove extraneous USE in expanders.

From-SVN: r76486

20 years agoh8300-protos.h: Provide prototypes for h8300_legitimate_constant_p and h8300_legitima...
Kazu Hirata [Sat, 24 Jan 2004 06:47:03 +0000 (06:47 +0000)]
h8300-protos.h: Provide prototypes for h8300_legitimate_constant_p and h8300_legitimate_address_p.

* config/h8300/h8300-protos.h: Provide prototypes for
h8300_legitimate_constant_p and h8300_legitimate_address_p.
* config/h8300/h8300.c (h8300_legitimate_constant_p): New.
(h8300_rtx_ok_for_base_p): Likewise.
(h8300_legitimate_address_p): Likewise.
* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use
h8300_legitimate_constant_p.
(RTX_OK_FOR_BASE_P): Remove.
(GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p.

From-SVN: r76484

20 years agoh8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
Kazu Hirata [Sat, 24 Jan 2004 05:32:06 +0000 (05:32 +0000)]
h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.

* config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
(REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
(REG_OK_FOR_INDEX_STRICT_P): Likewise.
(REG_OK_FOR_BASE_STRICT_P): Likewise.
(REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P.
(REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P.
(REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P.
(REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P.

From-SVN: r76483

20 years ago* gcc.dg/builtins-30.c: Move dg-warning marks to the proper lines.
Zack Weinberg [Sat, 24 Jan 2004 05:27:45 +0000 (05:27 +0000)]
* gcc.dg/builtins-30.c: Move dg-warning marks to the proper lines.

From-SVN: r76482

20 years agore PR libstdc++/13838 (std::bitset<>::operator |= error with -D_GLIBCXX_DEBUG)
Paolo Carlini [Sat, 24 Jan 2004 01:25:37 +0000 (01:25 +0000)]
re PR libstdc++/13838 (std::bitset<>::operator |= error with -D_GLIBCXX_DEBUG)

2004-01-23  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13838
* include/debug/bitset (operator|=): Fix typo.
* testsuite/23_containers/bitset/operations/13838.cc: New.

From-SVN: r76479

20 years ago* cselib.c (remove_useless_values): Do not access discarded values.
Jan Hubicka [Sat, 24 Jan 2004 00:38:50 +0000 (01:38 +0100)]
* cselib.c (remove_useless_values):  Do not access discarded values.

From-SVN: r76478

20 years agoc-typeck.c (build_conditional_expr): Do not allow non-lvalue arrays.
Joseph Myers [Sat, 24 Jan 2004 00:30:58 +0000 (00:30 +0000)]
c-typeck.c (build_conditional_expr): Do not allow non-lvalue arrays.

* c-typeck.c (build_conditional_expr): Do not allow non-lvalue
arrays.

testsuite:
* gcc.dg/c90-array-lval-7.c, gcc.dg/c99-array-lval-7.c: New tests.

From-SVN: r76477

20 years agobasic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix length_error...
Paolo Carlini [Sat, 24 Jan 2004 00:27:19 +0000 (00:27 +0000)]
basic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix length_error check.

2004-01-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (insert(size_type,
const _CharT*, size_type __n)): Fix length_error check.
(replace(size_type, size_type, const _CharT*, size_type):
Ditto; call _M_replace_safe.
(_M_replace_aux(size_type, size_type, size_type, _CharT):
Fix length_error check.
(_M_replace(iterator, iterator, _InputIterator,
_InputIterator)): Ditto, tweak.
(_M_replace_safe(size_type, size_type, const _CharT*,
size_type)): Remove length_error check.

* include/bits/basic_string.tcc (append(const basic_string&),
append(const basic_string&, size_type, size_type)): Tweak
comment.

* include/bits/basic_string.tcc (copy(_CharT*, size_type,
size_type)): If __n == 0 don't call traits::copy.

From-SVN: r76476

20 years agoMakefile.def (target_modules): Don't stage.
DJ Delorie [Sat, 24 Jan 2004 00:23:24 +0000 (19:23 -0500)]
Makefile.def (target_modules): Don't stage.

* Makefile.def (target_modules) [libiberty]: Don't stage.
* Makefile.in: Rebuilt.

From-SVN: r76475

20 years agomt_allocator.h: Reduce lock contention.
Stefan Olsson [Sat, 24 Jan 2004 00:21:02 +0000 (00:21 +0000)]
mt_allocator.h: Reduce lock contention.

2004-01-23  Stefan Olsson  <stefan@snon.net>

* include/ext/mt_allocator.h: Reduce lock contention.

From-SVN: r76474

20 years agoDaily bump.
GCC Administrator [Sat, 24 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r76471

20 years ago* recog.c: Fix a typo in copyright.
Kazu Hirata [Fri, 23 Jan 2004 23:49:36 +0000 (23:49 +0000)]
* recog.c: Fix a typo in copyright.

From-SVN: r76467

20 years agore PR c++/13701 (g++.old-deja/g++.eh/cleanup2.C ICEs)
Andrew Pinski [Fri, 23 Jan 2004 22:57:07 +0000 (22:57 +0000)]
re PR c++/13701 (g++.old-deja/g++.eh/cleanup2.C ICEs)

2004-01-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/13701
        * decl.c (finish_function): Move the call to
        finish_fname_decls below the call to
        finish_eh_spec_block.

From-SVN: r76464

20 years ago20030121-1.c: Move to ..
Andrew Pinski [Fri, 23 Jan 2004 22:45:53 +0000 (22:45 +0000)]
20030121-1.c: Move to ..

2004-01-23  Andrew Pinski  <apinski@apple.com>

        * gcc.dg/20030121-1.c: Move to ..
        * gcc.dg/20040121-1.c: here.

From-SVN: r76463

20 years agors6000.md (call): Fix misappiled patch.
Andrew Pinski [Fri, 23 Jan 2004 22:41:20 +0000 (22:41 +0000)]
rs6000.md (call): Fix misappiled patch.

2004-01-23  Andrew Pinski  <apinski@apple.com>

        * config/rs6000/rs6000.md (call): Fix misappiled patch.
        (call_value): Likewise.

From-SVN: r76462

20 years agocombine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
Richard Henderson [Fri, 23 Jan 2004 22:23:10 +0000 (14:23 -0800)]
combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.

        * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
        (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
        if SHIFT_COUNT_TRUNCATED is set.

From-SVN: r76461

20 years agoxtensa.c (xtensa_va_arg): Handle complex values as separate real and imaginary parts.
Bob Wilson [Fri, 23 Jan 2004 22:12:34 +0000 (22:12 +0000)]
xtensa.c (xtensa_va_arg): Handle complex values as separate real and imaginary parts.

* config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
separate real and imaginary parts.
* config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.

From-SVN: r76459

20 years agore PR rtl-optimization/13674 (ICE in reload_cse_simplify_operands, at postreload...
Hartmut Penner [Fri, 23 Jan 2004 22:07:06 +0000 (22:07 +0000)]
re PR rtl-optimization/13674 (ICE in reload_cse_simplify_operands, at postreload.c:378 on PPC64)

2004-01-23  Hartmut Penner <hpenner@de.ibm.com>

        PR target/13674
        * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
        loading into GPR.

From-SVN: r76458

20 years agoemit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change.
Jan Hubicka [Fri, 23 Jan 2004 22:05:19 +0000 (23:05 +0100)]
emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change.

* emit-rtl.c (change_address_1):  Do not re-generate the RTX if nothing
change.

From-SVN: r76457

20 years agoalloc-pool.c (align_four): Kill.
Jan Hubicka [Fri, 23 Jan 2004 22:01:55 +0000 (23:01 +0100)]
alloc-pool.c (align_four): Kill.

* alloc-pool.c (align_four): Kill.
(create_alloc_pool): Align size to eight.
(free_alloc_pool, free_pool): Invalidate deallocated data.

From-SVN: r76456

20 years agore PR target/1532 (-O3 generates (obviously) redundant tests and jumps)
Ian Lance Taylor [Fri, 23 Jan 2004 21:05:21 +0000 (21:05 +0000)]
re PR target/1532 (-O3 generates (obviously) redundant tests and jumps)

PR gcc/1532
* cse.c (cse_change_cc_mode): New static function.
(cse_change_cc_mode_insns, cse_cc_succs): Likewise.
(cse_condition_code_reg): New function.
* rtl.h (cse_condition_code_reg): Declare.
* toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
* target.h (struct gcc_target): Add fixed_condition_code_regs and
cc_modes_compatible.
* target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
(TARGET_CC_MODES_COMPATIBLE): Define.
(TARGET_INITIALIZER): Add new initializers.
* targhooks.c (default_cc_modes_compatible): New function.
* targhooks.c (default_cc_modes_compatible): Declare.
* hooks.c (hook_bool_intp_intp_false): New function.
* hooks.h (hook_bool_intp_intp_false): Declare.
* config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
(TARGET_CC_MODES_COMPATIBLE): Define.
(ix86_fixed_condition_code_regs): New static function.
(ix86_cc_modes_compatible): Likewise.
* doc/tm.texi (Condition Code): Document new hooks.

From-SVN: r76454

20 years agoinclhack.def (bad_lval): Renamed to ...
Rainer Orth [Fri, 23 Jan 2004 20:40:52 +0000 (20:40 +0000)]
inclhack.def (bad_lval): Renamed to ...

* fixinc/inclhack.def (bad_lval): Renamed to ...
(alpha_bad_lval): ... this.
Removed file list.
Restrict to alpha*-dec-osf*.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/dirent.h: Remove, moving test ...
* fixinc/tests/base/testing.h: ... here, reflecting new name.

From-SVN: r76450

20 years agore PR c/13814 (rejects different prototypes than builtin function)
Andrew Pinski [Fri, 23 Jan 2004 18:38:40 +0000 (10:38 -0800)]
re PR c/13814 (rejects different prototypes than builtin function)

2004-01-23  Zack Weinberg  <zack@codesourcery.com>

        PR c/13814
        * c-decl.c (diagnose_mismatched_decls): Also discard a
        built-in if we encounter an old-style definition with the
        same name.

From-SVN: r76445

20 years ago* gcc.dg/builtins-29.c: New test case.
Roger Sayle [Fri, 23 Jan 2004 18:37:16 +0000 (18:37 +0000)]
* gcc.dg/builtins-29.c: New test case.

From-SVN: r76444

20 years agore PR c/18314 (Abnormal behavior in optimization)
Zack Weinberg [Fri, 23 Jan 2004 18:13:55 +0000 (18:13 +0000)]
re PR c/18314 (Abnormal behavior in optimization)

PR 18314
* c-decl.c (diagnose_mismatched_decls): Also discard a
built-in if we encounter an old-style definition with the
same name.
testsuite:
* gcc.dg/builtins-30.c: New testcase.

From-SVN: r76441

20 years agoconfig.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32...
Jakub Jelinek [Fri, 23 Jan 2004 17:42:58 +0000 (18:42 +0100)]
config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32,64}.

* config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
set to default{32,64}.

From-SVN: r76439

20 years agolinux64.h (MD_FALLBACK_FRAME_STATE_FOR): Corrected to handle kernels with changed...
Jakub Jelinek [Fri, 23 Jan 2004 17:32:16 +0000 (18:32 +0100)]
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Corrected to handle kernels with changed ucontext.

* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
[!__powerpc64__]: Corrected to handle kernels with changed ucontext.

* include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
header.  For __powerpc64__ provide the default-signal.h definitions
for now.
* include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
instead of the dummy definitions.
* configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
(powerpc64*-*): Remove with_libffi_default.
Only add -mminimal-toc for 64-bit compilations.
* configure.in: Use powerpc-signal.h on powerpc64 as well.
(x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
* configure: Rebuilt.

From-SVN: r76437

20 years agofold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXPR if...
Eric Botcazou [Fri, 23 Jan 2004 16:52:07 +0000 (17:52 +0100)]
fold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.

* fold-const.c (fold_binary_op_with_conditional_arg): Only
build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.

Co-Authored-By: Olivier Hainque <hainque@act-europe.fr>
From-SVN: r76434

20 years agore PR libstdc++/13831 (Unused variable in basic_filebuf::underflow)
Paolo Carlini [Fri, 23 Jan 2004 16:51:24 +0000 (16:51 +0000)]
re PR libstdc++/13831 (Unused variable in basic_filebuf::underflow)

2004-01-23  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13831
* include/bits/fstream.tcc (underflow): Remove unused
variable.
* include/bits/streambuf_iterator.h (equal): Ditto.
* include/bits/locale_facets.h (_M_convert_from_char):
Ditto.

From-SVN: r76433

20 years agore PR c/13814 (rejects different prototypes than builtin function)
Kaveh R. Ghazi [Fri, 23 Jan 2004 16:47:06 +0000 (16:47 +0000)]
re PR c/13814 (rejects different prototypes than builtin function)

PR c/13814
* config/linker-map.gnu (nan): Delete.
* libmath/mathconf.h (NAN, nan): Delete.
* linkage.m4 (nan): Don't check for it.
* libmath/nan.c: Delete file.

* config.h.in, configure: Regenerate.

From-SVN: r76431

20 years agoarm.c (arm_legitimate_address_p): Don't check the mode size for minipool references.
Daniel Jacobowitz [Fri, 23 Jan 2004 16:33:43 +0000 (16:33 +0000)]
arm.c (arm_legitimate_address_p): Don't check the mode size for minipool references.

* config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
size for minipool references.

From-SVN: r76429

20 years agoreal.c (real_floor, real_ceil): Tweak to allow input and output arguments to overlap.
Roger Sayle [Fri, 23 Jan 2004 16:16:33 +0000 (16:16 +0000)]
real.c (real_floor, real_ceil): Tweak to allow input and output arguments to overlap.

* real.c (real_floor, real_ceil): Tweak to allow input and output
arguments to overlap.
(real_round): New function to implement round(3m) semantics.
* real.h (real_round): Prototype here.
* builtins.c (fold_builtin_round): New function to constant fold
round, roundf and roundl.
(fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}.

* gcc.dg/builtins-29.c: New test case.

From-SVN: r76428

20 years agoFileLockImpl.java: Compile fixes.
Michael Koch [Fri, 23 Jan 2004 15:53:51 +0000 (15:53 +0000)]
FileLockImpl.java: Compile fixes.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java: Compile fixes.

From-SVN: r76427

20 years agoVMClassLoader.java: Reworked imports.
Michael Koch [Fri, 23 Jan 2004 15:29:38 +0000 (15:29 +0000)]
VMClassLoader.java: Reworked imports.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/lang/VMClassLoader.java: Reworked imports.

From-SVN: r76426

20 years agore PR target/13819 (sh-elf broken; abort in sh_reorg())
Alexandre Oliva [Fri, 23 Jan 2004 15:29:09 +0000 (15:29 +0000)]
re PR target/13819 (sh-elf broken; abort in sh_reorg())

PR optimization/13819
* config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs
introduced by 2004-01-20's Jan Hubicka's copy_insn change.
(sh_handle_sp_switch_attribute): Remove warning.

From-SVN: r76425

20 years agoAbstractAction.java: Reformated.
Michael Koch [Fri, 23 Jan 2004 15:19:28 +0000 (15:19 +0000)]
AbstractAction.java: Reformated.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractAction.java: Reformated.

From-SVN: r76424

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 15:15:31 +0000 (15:15 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/text/CollationElementIterator.java:
(setText): New method.

From-SVN: r76423

20 years agoFileLockImpl.java: Fixed filename in copyright.
Michael Koch [Fri, 23 Jan 2004 14:37:09 +0000 (14:37 +0000)]
FileLockImpl.java: Fixed filename in copyright.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java:
Fixed filename in copyright.
(released): Removed.
(finalize): New method.
* gnu/java/nio/natFileLockImpl.cc
(releaseImpl): Implemented.
* java/nio/channels/FileChannelImpl.java:
Reworked imports.
(lock): Implemented.
(lockImpl): New method.
(tryLock): Implemented.
(tryLockImpl): New method.
* java/nio/channels/natFileChannelImpl.cc
(lockImpl): New method.
(tryLockImpl): New method.

From-SVN: r76422

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 14:07:28 +0000 (14:07 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorEcos.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorPosix.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorWin32.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.

From-SVN: r76421

20 years agobasic_string.h (push_back(_CharT)): Call _M_replace_aux.
Paolo Carlini [Fri, 23 Jan 2004 13:57:19 +0000 (13:57 +0000)]
basic_string.h (push_back(_CharT)): Call _M_replace_aux.

2004-01-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (push_back(_CharT)):
Call _M_replace_aux.
(insert(size_type, const basic_string&)): Trivial tweak.
(insert(size_type, size_type, _CharT)): Call _M_replace_aux.
(insert(iterator, _CharT)): Ditto.
(erase(size_type, size_type)): Ditto.
(erase(iterator)): Ditto.
(erase(iterator, iterator)): Ditto.
(replace(size_type, size_type, size_type, _CharT)): Ditto.

From-SVN: r76420

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 13:50:10 +0000 (13:50 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java
(sync): Moved around, added javadoc.
(valid): Likewise.
(open): Likewise.
(write): Likewise.
(close): Likewise.
(setLength): Likewise.
(seek): Likewise.
(getLength): Likewise.
(getFilePointer): Likewise.
(read): Likewise.
(available): Likewise.
(finalize): Likewise.

From-SVN: r76419

20 years ago* i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.
Jan Hubicka [Fri, 23 Jan 2004 13:24:58 +0000 (14:24 +0100)]
* i386.c (ix86_emit_restore_regs_using_mov):  Deal with large offsets.

From-SVN: r76416

20 years agotm.texi: Insert some weasel words when LOAD_EXTEND_OP may or may not return non-NIL.
J"orn Rennecke [Fri, 23 Jan 2004 13:01:42 +0000 (13:01 +0000)]
tm.texi: Insert some weasel words when LOAD_EXTEND_OP may or may not return non-NIL.

* doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
may or may not return non-NIL.
* postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
check CANNOT_CHANGE_MODE_CLASS

From-SVN: r76415

20 years agoAbstractAction.java: Reformated.
Michael Koch [Fri, 23 Jan 2004 12:42:10 +0000 (12:42 +0000)]
AbstractAction.java: Reformated.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractAction.java: Reformated.
(getPropertyChangeListeners): New method.
* javax/swing/AbstractCellEditor.java: Reformated.
(getCellEditorListeners): New method.
* javax/swing/DefaultListSelectionModel.java
(listenerList): New field.
(listeners): Removed.
(get_listeners): Removed.
(addListSelectionListener): Rewritten.
(removeListSelectionListener): Rewritten.
(getListSelectionListeners): New method.
(getListeners): New method.
* javax/swing/JComboBox.java: Imports reworked.
(addActionListener): Implemented.
(removeActionListener): Implemented.
(addItemListener): Implemented.
(removeItemListener): Implemented.
(addPopupMenuListener): Implemented.
(removePopupMenuListener): Implemented.
(getActionListeners): New method.
(getItemListeners): New method.
(getPopupMenuListeners): New method.

From-SVN: r76413

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 12:32:23 +0000 (12:32 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/http/Connection.java
(connect): Don't initialize bufferedOutputStream if not needed.
(sendRequest): Set property for content length if content is present.
Write content only if present.
(getOutputStream): Check if already connected, dont connect,
initalize bufferedOutputStream if needed.

From-SVN: r76412

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 12:29:05 +0000 (12:29 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java
(in, out, err): Added javadoc.
(static): Merged loading code.
(fd, position): Moved around.

From-SVN: r76411

20 years agoBitwiseXORComposite-1.png: New file.
Michael Koch [Fri, 23 Jan 2004 12:01:23 +0000 (12:01 +0000)]
BitwiseXORComposite-1.png: New file.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
New file.

From-SVN: r76410

20 years agoClass.java, [...]: Merged copyright with classpath.
Michael Koch [Fri, 23 Jan 2004 11:56:48 +0000 (11:56 +0000)]
Class.java, [...]: Merged copyright with classpath.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/lang/Class.java,
java/lang/Object.java,
java/lang/Thread.java: Merged copyright with classpath.

From-SVN: r76409

20 years agoFileDescriptor.java: Merged copyright with classpath to start merging this class.
Michael Koch [Fri, 23 Jan 2004 11:45:54 +0000 (11:45 +0000)]
FileDescriptor.java: Merged copyright with classpath to start merging this class.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java: Merged copyright with classpath to
start merging this class.

From-SVN: r76408

20 years agobasic-block.h (PROP_POSTRELOAD): New macro.
Jan Hubicka [Fri, 23 Jan 2004 11:02:09 +0000 (12:02 +0100)]
basic-block.h (PROP_POSTRELOAD): New macro.

* basic-block.h (PROP_POSTRELOAD): New macro.
(CLEANUP_LOG_LINKS): New.
* cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
* toplev.c (rest_of_handle_life):  Preserve LOG_LINKS trought cleanup_cfg.

* cselib.c (value_pool): New.
(new_cselib_val): Use pool.
(cselib_init): Initialize value_pool
(cselib_finish): Free pool.

From-SVN: r76405

20 years ago1aexcept.adb, [...]: Removed, unused.
Arnaud Charlet [Fri, 23 Jan 2004 10:35:42 +0000 (11:35 +0100)]
1aexcept.adb, [...]: Removed, unused.

* 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
1ssecsta.ads: Removed, unused.

From-SVN: r76404

20 years ago[multiple changes]
Arnaud Charlet [Fri, 23 Jan 2004 10:30:04 +0000 (11:30 +0100)]
[multiple changes]

2004-01-23  Robert Dewar  <dewar@gnat.com>

* exp_aggr.adb: Minor reformatting

* exp_ch9.adb: Minor code clean up
Minor reformatting
Fix bad character in comment

* targparm.adb (Get_Target_Parameters): Give clean abort error on
unexpected end of file, along with more detailed message.

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

* exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
PAT.

* decl.c (copy_alias_set): New function.
(gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.

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

* Makefile.in (install-gnatlib): Change occurrences of lib$$file to
lib$${file} in case subsequent character is not a separator.

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

* 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
when the GCC version is at least 3.

* make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
Remove all "Opt.", to prepare for opt split

* prj-part.adb (Parse_Single_Project): New Boolean out parameter
Extends_All. Set to True when the project parsed is an extending all
project. Fails for importing an extending all project only when the
imported project is an extending all project.
(Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
depending on the value of Extends_All returned.

* prj-proc.adb (Process): Check that no project shares its object
directory with a project that extends it, directly or indirectly,
including a virtual project.
Check that no project extended by another project shares its object
directory with another also extended project.

* prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
Kind = N_With_Clause

* prj-tree.ads: Minor reformatting
Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).

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

* sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
applies to a type with an incomplete view, use full view in Name of
clause, for consistency with uses of Get_Attribute_Definition_Clause.

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

* 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
SCHED_RR, since other values are not supported by this policy.
(Initialize): Move initialization of mutex attribute to package
elaboration, to prevent early access to this variable.

* Makefile.in: Remove mention of Makefile.adalib, unused.

* Makefile.adalib: Removed, unused.

From-SVN: r76403

20 years agore PR ada/13471 (Bug Box: Storage_Error stack overflow(?), presence of incorrect...
Arnaud Charlet [Fri, 23 Jan 2004 09:53:05 +0000 (10:53 +0100)]
re PR ada/13471 (Bug Box: Storage_Error stack overflow(?), presence of incorrect system.ads causes loop)

PR ada/13471
* targparm.adb (Get_Target_Parameters): Give clean abort error on
unexpected end of file, along with more detailed message.

From-SVN: r76402

20 years agosparc.c (scan_record_type): New function.
Eric Botcazou [Fri, 23 Jan 2004 09:16:56 +0000 (10:16 +0100)]
sparc.c (scan_record_type): New function.

* config/sparc/sparc.c (scan_record_type): New function.
(function_arg_slotno): Use it to determine which kinds of
registers the record can be passed in.

From-SVN: r76400

20 years agoallocator_map_thread.cc: New test.
Loren J. Rittle [Fri, 23 Jan 2004 06:54:06 +0000 (06:54 +0000)]
allocator_map_thread.cc: New test.

libstdc++/13823
* testsuite/performance/allocator_map_thread.cc: New test.

From-SVN: r76398

20 years agocompat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.
Andreas Tobler [Fri, 23 Jan 2004 04:42:39 +0000 (05:42 +0100)]
compat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.

2004-01-23  Andreas Tobler  <a.tobler@schweiz.ch>

* g++.dg/compat/compat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise.

From-SVN: r76397

20 years agofptr.c: Fix old-style definition.
James A. Morrison [Fri, 23 Jan 2004 04:31:49 +0000 (04:31 +0000)]
fptr.c: Fix old-style definition.

2004-01-22  James A. Mmorrison  <ja2morri@uwaterloo.ca>

* config/pa/fptr.c: Fix old-style definition.

From-SVN: r76396

20 years agore PR libgcj/13107 (Wrong verification error in gij: recursive subroutine call)
Tom Tromey [Fri, 23 Jan 2004 02:49:57 +0000 (02:49 +0000)]
re PR libgcj/13107 (Wrong verification error in gij: recursive subroutine call)

PR libgcj/13107:
* testsuite/libjava.lang/pr13107_2.xfail: New file.
* testsuite/libjava.lang/pr13107_3.xfail: New file.
* testsuite/libjava.lang/pr13107_3.java: New file.
* testsuite/libjava.lang/pr13107_3.out: New file.
* testsuite/libjava.lang/pr13107_2.java: New file.
* testsuite/libjava.lang/pr13107_2.out: New file.
* testsuite/libjava.lang/pr13107.java: New file.
* testsuite/libjava.lang/pr13107.out: New file.
* verify.cc (jsr_ptrs): Removed.
(entry_points): Likewise.
(struct subr_info): Likewise.
(struct subr_entry_info): Likewise.
(type_val::unused_by_subroutine_type): Likewise.
(type::merge): Don't handle unused_by_subroutine_type.
(type::print): Likewise.
(state::flags): Removed.
(state::subroutine): Likewise.
(state::seen_subrs): Likewise.
(state::NO_STACK): Likewise.
(state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
(state): Updated all methods.
(state::clean_subrs): Removed.
(state::state): Removed `ret_semantics' flag.
(state::copy): Likewise.
(state::add_subr): Removed.
(state::enter_subroutine): Likewise.
(type::set_return_address): New method.
(handle_jsr_insn): Set return address on the type.  Always
invalidate PC after call.
(check_nonrecursive_call): Removed.
(~_Jv_BytecodeVerifier): Updated.
(branch_prepass): Removed special handling of jsr.
(note_branch_target): Likewise.
(get_subroutine): Removed.
(state::merge): Don't merge subroutines and don't handle
NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
(state::note_variable): Removed.
(state::is_unmerged_ret_state): Likewise.
(state::print): Updated.
(set_variable): Likewise.
(merge_into): Renamed from push_jump_merge.  Removed ret_semantics
and jsr_semantics arguments.  Updated for new reverification
list.
(pop_jump): Rewrote.
(construct_primitive_array_type): Updated.
(state::next): Removed.
(INVALID_STATE): New define.
(state::INVALID): Removed.
(state::NO_NEXT): New value.
(state::pc, state::next): New fields.
(state::get_pc): New method.
(next_verify_pc): Removed.
(next_verify_state): New field.
(verify_instructions_0): Always check for falling off end.
(linked): New type.
(linked_utf8): Removed.
(states): Changed type.
(type::state_mergeable_p): New method.
(state::state_mergeable_p): Likewise.
(handle_ret_insn): Removed most code.
(state::reverify): New method.
(add_new_state): Likewise.
(state::set_pc): Likewise.

From-SVN: r76395

20 years agore PR rtl-optimization/13724 (Bad code generated for unsigned int -> long long multip...
Paolo Bonzini [Fri, 23 Jan 2004 02:03:25 +0000 (02:03 +0000)]
re PR rtl-optimization/13724 (Bad code generated for unsigned int -> long long multiplication)

2004-01-22  Paolo Bonzini  <bonzini@gnu.org>

PR optimization/13724
* cse.c (fold_rtx) <SUBREG>:  Fold a SUBREG to zero if it
represents the zero bits produced by a ZERO_EXTEND operation.

From-SVN: r76394

20 years agore PR rtl-optimization/13821 (IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg)
Roger Sayle [Fri, 23 Jan 2004 01:47:15 +0000 (01:47 +0000)]
re PR rtl-optimization/13821 (IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg)

PR optimization/13821
* simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to
correctly calculate the lowpart offset of the contracted subreg.

From-SVN: r76393

20 years agoRemoved testsuite/ChangeLog again; put entry into top-level ChangeLog
Jeff Sturm [Fri, 23 Jan 2004 01:43:36 +0000 (01:43 +0000)]
Removed testsuite/ChangeLog again; put entry into top-level ChangeLog

From-SVN: r76392

20 years agoinvoke.texi (Optimize Options): Note that --param arguments are subject to change...
Ian Lance Taylor [Fri, 23 Jan 2004 01:30:24 +0000 (01:30 +0000)]
invoke.texi (Optimize Options): Note that --param arguments are subject to change without notice.

* doc/invoke.texi (Optimize Options): Note that --param arguments
are subject to change without notice.

From-SVN: r76391

20 years agore PR java/13733 (The result of an assignment operator is the LHS after assignment...
Jeff Sturm [Fri, 23 Jan 2004 00:21:05 +0000 (00:21 +0000)]
re PR java/13733 (The result of an assignment operator is the LHS after assignment, not the RHS)

PR java/13733
* libjava.compile/PR13733.java: New file.
* libjava.compile/PR13733.xfail: New file.

From-SVN: r76389

20 years agoDaily bump.
GCC Administrator [Fri, 23 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r76386

20 years agore PR java/13733 (The result of an assignment operator is the LHS after assignment...
Jeff Sturm [Thu, 22 Jan 2004 23:45:10 +0000 (23:45 +0000)]
re PR java/13733 (The result of an assignment operator is the LHS after assignment, not the RHS)

PR java/13733
* parse.y (patch_assignment): Don't modify lhs_type for
reference assignments.

From-SVN: r76382

20 years agocls_uint.c (cls_ret_uint_fn): Treat result value as of type ffi_arg, not unsigned...
Ulrich Weigand [Thu, 22 Jan 2004 23:05:13 +0000 (23:05 +0000)]
cls_uint.c (cls_ret_uint_fn): Treat result value as of type ffi_arg, not unsigned int.

* testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
value as of type ffi_arg, not unsigned int.

From-SVN: r76377

20 years agoconfig.gcc (mips-sgi-irix6*o32): Removed.
Rainer Orth [Thu, 22 Jan 2004 23:02:12 +0000 (23:02 +0000)]
config.gcc (mips-sgi-irix6*o32): Removed.

* config.gcc (mips-sgi-irix6*o32): Removed.
* config/mips/iris6-o32-as.h: Likewise.
* config/mips/iris6-o32-gas.h: Likewise.
* config/mips/iris6-o32.h: Likewise.

From-SVN: r76376

20 years agocfgcleanup.c (first_pass): New static variable.
Jan Hubicka [Thu, 22 Jan 2004 22:33:51 +0000 (23:33 +0100)]
cfgcleanup.c (first_pass): New static variable.

* cfgcleanup.c (first_pass): New static variable.
(try_forward_edges):  Add work limiting check for threading.
(try_crossjump_bb):  Add work limiting check for crossjumping.
(try_optimize_cfg):  Maintain first pass variable.

From-SVN: r76375

20 years agoxtensa.c (function_arg): Generalize logic so that it handles complex and vector modes.
Bob Wilson [Thu, 22 Jan 2004 21:42:33 +0000 (21:42 +0000)]
xtensa.c (function_arg): Generalize logic so that it handles complex and vector modes.

* config/xtensa/xtensa.c (function_arg): Generalize logic so that it
handles complex and vector modes.

From-SVN: r76373

20 years ago2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Arnaud Vandyck [Thu, 22 Jan 2004 21:41:53 +0000 (22:41 +0100)]
2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
            Michael Koch  <konqueror@gmx.de>

* javax/swing/table/DefaultTableCellRenderer.java
(DefaultTableCellRenderer): Added javadoc for the class and for
the constructor, Border instance, create an EmptyBorder.
(UIResource): Removed the comment at the end of the class
(setForeground): New method.
(setBackground): New method.
(updateUI): New method.
(getTableCellRendererComponent): Rewritten with the help of
dvholten and Stephane Meslin-Weber.
(validate): New method.
(repaint): New method.
(firePropertyChange): New method.
(setValue): New method.

Co-Authored-By: Michael Koch <konqueror@gmx.de>
From-SVN: r76372

20 years agoh8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
Kazu Hirata [Thu, 22 Jan 2004 21:21:13 +0000 (21:21 +0000)]
h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.

* config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
(REG_OK_FOR_BASE_P_STRICT): Likewise.
(STRICT): Likewise.

From-SVN: r76370

20 years ago* c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
Daniel Jacobowitz [Thu, 22 Jan 2004 20:23:27 +0000 (20:23 +0000)]
* c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
(genrtl_for_stmt): Remove emit_nop calls.

From-SVN: r76368

20 years ago2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
Thomas Fitzsimmons [Thu, 22 Jan 2004 20:17:43 +0000 (20:17 +0000)]
2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(connectJObject): Replace printf calls with g_assert statements.
Move property-notify-event signal connection to ...
(connectSignals): Connect property-notify-event signal.  Iterate
through the vbox's children to find layout.

From-SVN: r76367

20 years agoMakefile.in: Convert to ./ throughout.
DJ Delorie [Thu, 22 Jan 2004 19:10:56 +0000 (14:10 -0500)]
Makefile.in: Convert to ./ throughout.

* Makefile.in: Convert to ./ throughout.  Rebuild dependencies
with explicit build rules.
(VPATH): Remove.
(.c.o): Poison.
* configure.ac (pexecute, LIBOBJS): Add ./ .
* maint-tool: Build dependencies with explicit rules.

From-SVN: r76366

20 years agore PR target/13713 (gnat1 segmentation fault in stage 3 on hppa-linux)
John David Anglin [Thu, 22 Jan 2004 17:51:25 +0000 (17:51 +0000)]
re PR target/13713 (gnat1 segmentation fault in stage 3 on hppa-linux)

PR target/13713
PR target/13324
* pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
clrstrdi_prereload, clrstrdi_postreload): Fix constraints.

From-SVN: r76365

20 years agoarm.c: Include "debug.h".
Daniel Jacobowitz [Thu, 22 Jan 2004 17:00:56 +0000 (17:00 +0000)]
arm.c: Include "debug.h".

* config/arm/arm.c: Include "debug.h".
(thumb_pushpop): Take two new arguments.  Add some commentary.
Output frame information when pushing.
(thumb_exit, thumb_unexpanded_epilogue): Update calls to
thumb_pushpop.
(thumb_output_function_prologue): Likewise.  Accumulate a CFA
offset, and pass it to thumb_pushpop.  Output CFI information.
(thumb_expand_prologue): Add some frame-related markers and notes.

From-SVN: r76362

20 years agos390.c (s390_frame_info): Allow large frame sizes for TARGET_64BIT.
Ulrich Weigand [Thu, 22 Jan 2004 16:38:14 +0000 (16:38 +0000)]
s390.c (s390_frame_info): Allow large frame sizes for TARGET_64BIT.

* config/s390/s390.c (s390_frame_info): Allow large frame sizes
for TARGET_64BIT.
(s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
* config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.

From-SVN: r76360

20 years agolocale_facets.tcc (money_put::do_put(..., long double)): Use the basic_string constru...
Paolo Carlini [Thu, 22 Jan 2004 14:25:37 +0000 (14:25 +0000)]
locale_facets.tcc (money_put::do_put(..., long double)): Use the basic_string constructor for char arrays...

2004-01-22  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc
(money_put::do_put(..., long double)): Use the basic_string
constructor for char arrays, not that for C-strings, to pass
__digits to do_put(..., const string_type&): __ws isn't
null-terminated.

From-SVN: r76355

20 years agobasic_string.h (_M_replace_safe): Change signatures to take size_types and const...
Paolo Carlini [Thu, 22 Jan 2004 12:46:28 +0000 (12:46 +0000)]
basic_string.h (_M_replace_safe): Change signatures to take size_types and const _CharT*.

2004-01-22  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (_M_replace_safe): Change
signatures to take size_types and const _CharT*.
(_M_replace_aux): Likewise, takes size_types instead of
iterators.
(append(size_type, _CharT)): Update call.
(assign(size_type, _CharT)): Ditto.
(replace(iterator, iterator, size_type, _CharT)): Ditto.
(_M_replace_dispatch(iterator, iterator, _Integer,
_Integer, __true_type)): Ditto.
* include/bits/basic_string.tcc (assign(const _CharT*,
size_type)): Ditto.
(insert(size_type, const _CharT*, size_type)): Ditto.
(replace(size_type, size_type, const _CharT*,
size_type)): Ditto.
(_M_replace(iterator, iterator, _InputIterator,
_InputIterator)): Ditto.
(append(const basic_string&)): Ditto.
(append(const basic_string&, size_type, size_type): Ditto.
(append(const _CharT*, size_type): Ditto.
(_M_replace_safe, _M_replace_safe): Change definitions
accordingly, simplify.
* string-inst.cc (_M_replace_safe): Don't instantiate.

From-SVN: r76353

20 years agortlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
Roger Sayle [Thu, 22 Jan 2004 12:44:54 +0000 (12:44 +0000)]
rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.

* rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
(subreg_lsb): Change to call new subreg_lsb_1 helper function.
* rtl.h (subreg_lsb_1): Prototype here.
* simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
sign extensions.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r76352

20 years agotm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the macro need not be defined if...
Kazu Hirata [Thu, 22 Jan 2004 11:50:01 +0000 (11:50 +0000)]
tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the macro need not be defined if...

* doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
macro need not be defined if jump-tables should contain
relative addresses only when -fPIC or -fPIC is in effect.

From-SVN: r76350

20 years agoalias.c (reg_base_value): Turn into varray.
Jan Hubicka [Thu, 22 Jan 2004 11:35:58 +0000 (12:35 +0100)]
alias.c (reg_base_value): Turn into varray.

* alias.c (reg_base_value): Turn into varray.
(reg_base_value_size): Kill.
(old_reg_base_value): New deletable varray.
(alias_invariant_size): New variable.
(REG_BASE_VALUE): Update to use varray.
(find_base_value): Likewise.
(record_set): Likewise.
(record_base_value): Likewise.
(memrefs_conflict_p): Likewise.
(record_set): Likewise
(record_base_value): Likewise.
(memrefs_conflict_p): Use alias_invariant_size.
(init_alias_analysis): Use varray; set alias_invariant_size;
rescale other arrays to be sized by maxreg.
(end_alias_analysis): Save reg_base_value; clear alias_invariant_size.

From-SVN: r76349

20 years agosparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in structures.
Eric Botcazou [Thu, 22 Jan 2004 11:15:37 +0000 (12:15 +0100)]
sparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in structures.

* config/sparc/sparc.c (function_arg_slotno): Use
FLOAT_TYPE_P to detect FP fields in structures.
(function_arg_record_value_1): Likewise.
(function_arg_record_value_2): Likewise.

From-SVN: r76346