OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * java/sql/Timestamp.java (compareTo(Object)): New method.
tromey [Mon, 10 Feb 2003 19:56:12 +0000 (19:56 +0000)]
* java/sql/Timestamp.java (compareTo(Object)): New method.
(compareTo(Timestamp)): Likewise.
(serialVersionUID): Updated.

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

21 years ago * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
zlomek [Mon, 10 Feb 2003 19:18:42 +0000 (19:18 +0000)]
* Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
* bb-reorder.c (make_reorder_chain): Deleted.
(make_reorder_chain_1): Deleted.
(find_traces): New function.
(rotate_loop): New function.
(mark_bb_visited): New function.
(find_traces_1_round): New function.
(copy_bb): New function.
(bb_to_key): New function.
(better_edge_p): New function.
(connect_traces): New function.
(copy_bb_p): New function.
(get_uncond_jump_length): New function.
(reorder_basic_blocks): Use new functions (Software Trace Cache).
* cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
boundaries.

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

21 years ago2003-02-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 10 Feb 2003 18:42:19 +0000 (18:42 +0000)]
2003-02-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.

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

21 years ago * tree.h (struct tree_decl): Remove unused live_range_rtl field.
geoffk [Mon, 10 Feb 2003 17:46:07 +0000 (17:46 +0000)]
* tree.h (struct tree_decl): Remove unused live_range_rtl field.
(DECL_LIVE_RANGE_RTL): Remove.

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

21 years ago * cp-tree.h (struct lang_type_header): Make all fields unsigned
geoffk [Mon, 10 Feb 2003 17:44:55 +0000 (17:44 +0000)]
    * cp-tree.h (struct lang_type_header): Make all fields unsigned
        char.

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

21 years agoReplace occurances of "GNU CC" with "GCC" and reformat as appropriate.
nickc [Mon, 10 Feb 2003 16:33:09 +0000 (16:33 +0000)]
Replace occurances of "GNU CC" with "GCC" and reformat as appropriate.

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

21 years ago * config/h8300/clzsi2.c: Remove.
kazu [Mon, 10 Feb 2003 13:20:54 +0000 (13:20 +0000)]
* config/h8300/clzsi2.c: Remove.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
ctzsi2, paritysi2, and popcountsi2.

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

21 years ago PR c/7741
ebotcazou [Mon, 10 Feb 2003 12:45:54 +0000 (12:45 +0000)]
PR c/7741
* c-decl.c (duplicate_decls): Discard the initializer of the
new decl when the types are conflicting.

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

21 years ago * Makefile.in (sreal.o): Added.
zlomek [Mon, 10 Feb 2003 12:34:24 +0000 (12:34 +0000)]
* Makefile.in (sreal.o): Added.
(predict.o): Depends on sreal.h instead of real.h.
* sreal.c: New file.
* sreal.h: New file.
* predict.c: Use sreal.c instead of real.c.

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

21 years ago * gcc.dg/i386-fpcvt-1.c: New test.
hubicka [Mon, 10 Feb 2003 12:12:56 +0000 (12:12 +0000)]
* gcc.dg/i386-fpcvt-1.c:  New test.

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

21 years agooops - omiited from previous delta:
nickc [Mon, 10 Feb 2003 11:46:40 +0000 (11:46 +0000)]
oops - omiited from previous delta:

    * Contributed support for the Cirrus EP9312 "Maverick"
    floating point co-processor.  Written by Aldy Hernandez
    <aldyh@redhat.com>.
    (config/arm/arm.c): Add Cirrus support.
    (config/arm/arm.h): Likewise.
    (config/arm/aout.h): Likewise.
    (config/arm/arm.md): Likewise.
    (config/arm/arm-protos.h): Likewise.
    (config.gcc): Likewise.
    (doc/invoke.texi): Describe new -mcpu value and new
    -mcirrus-fix-invalid-insns switch,
    (cirrus.md): New file.

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

21 years agoAdd support for Cirrus EP9312, an ARM variant.
nickc [Mon, 10 Feb 2003 11:45:26 +0000 (11:45 +0000)]
Add support for Cirrus EP9312, an ARM variant.

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

21 years ago * combine.c (combine_simplify_rtx): Simplify using
hubicka [Mon, 10 Feb 2003 10:56:05 +0000 (10:56 +0000)]
* combine.c (combine_simplify_rtx): Simplify using
(float_truncate (float x)) is (float x)
(float_extend (float_extend x)) is (float_extend x).

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

21 years ago * calls.c (try_to_integrate): Tidy stack_usage_map access.
amodra [Mon, 10 Feb 2003 06:16:53 +0000 (06:16 +0000)]
* calls.c (try_to_integrate): Tidy stack_usage_map access.
(emit_library_call_value_1): Likewise. Formatting.
(store_one_arg): Likewise.

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

21 years ago2003-02-09 Nick Clifton <nickc@redhat.com>
aldyh [Mon, 10 Feb 2003 05:00:17 +0000 (05:00 +0000)]
2003-02-09  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
        spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
        spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
        spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
        spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
        docs.  Add range test for immediate value.

2003-02-09  Aldy Hernandez  <aldyh@redhat.com>

        Rename spe_evxor to xorv2si3.
        (xorv4hi3): New.
        (xorv1di3): New.

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

21 years ago * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
gerald [Mon, 10 Feb 2003 00:24:44 +0000 (00:24 +0000)]
* doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
tag.

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

21 years agoDaily bump.
gccadmin [Mon, 10 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * i386.c (vector_move_operand): New predicate.
hubicka [Sun, 9 Feb 2003 23:30:51 +0000 (23:30 +0000)]
* i386.c (vector_move_operand): New predicate.
(ix86_expand_vector_move): Be happy about 0.
* i386.h (PREDICATE_CODES): Add sse-move_operand.
* i386.md (mov*_internal): Add 'C' alternative.

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

21 years ago * i386.md (floathi*): Deal with SSE.
hubicka [Sun, 9 Feb 2003 22:59:20 +0000 (22:59 +0000)]
* i386.md (floathi*): Deal with SSE.

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

21 years ago * simplify-rtx.c (simplify_unary_operation,
hubicka [Sun, 9 Feb 2003 22:55:35 +0000 (22:55 +0000)]
* simplify-rtx.c (simplify_unary_operation,
simplify_binary_operation):  Deal with vector modes
(simplify_ternary_operation):  Deal with no-op VEC_MERGE.

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

21 years ago * toplev.c (rest_of_compilation): Recompute register usage after
rsandifo [Sun, 9 Feb 2003 19:18:54 +0000 (19:18 +0000)]
* toplev.c (rest_of_compilation): Recompute register usage after
split_all_insns.

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

21 years ago * libgcc-std.ver (__clztf2): New.
rth [Sun, 9 Feb 2003 18:35:22 +0000 (18:35 +0000)]
    * libgcc-std.ver (__clztf2): New.
        (__ctztf2, __popcounttf2, __paritytf2): New.
        * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
        __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
        adjust code to match the different type sizes.
        * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
        __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.

        * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
        TImode; select word_mode and twice that.
        (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
        select the modes from float, double, and long double.
        (init_optabs): Remove duplicate initializations.

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

21 years ago * gcc.c-torture/execute/builtin-bitops-1.c: When testing the
kazu [Sun, 9 Feb 2003 13:09:45 +0000 (13:09 +0000)]
* gcc.c-torture/execute/builtin-bitops-1.c: When testing the
int-wide bitops, use the constants of the same width.
Likewise, if long long is 32-bit wide, test bitops using
32-bit constants.

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

21 years ago * doc/install.texi: Squeeze and streamline section on
gerald [Sun, 9 Feb 2003 13:04:01 +0000 (13:04 +0000)]
* doc/install.texi: Squeeze and streamline section on
testing and regression checking.

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

21 years ago * i386.md (ahi?v*3): Set third operand type to TImode.
hubicka [Sun, 9 Feb 2003 12:35:28 +0000 (12:35 +0000)]
* i386.md (ahi?v*3): Set third operand type to TImode.
* i386.c (ix86_expand_binop_builtin): Extend operand when needed.

* simplify-rtx.c (simplify_subreg): Fix conversion from vector into
integer mode.

* rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
Change code so they are arithmetic expressions now.
* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
simplify_ternary_operation): Deal with VEC_* expressions.

* i386.md (vmaskcmp, pinsrw, movd patterns):  Fix RTL representation.

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

21 years ago * cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
hubicka [Sun, 9 Feb 2003 11:06:41 +0000 (11:06 +0000)]
* cfgrtl.c (verify_flow_info):  Use control_flow_insn_p.
* reload1.c (fixup_abnormal_edges):  Split basic blocks when EH edges
possibly got duplicated.

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

21 years ago * config/alpha/alpha.c (override_options): Turn off explicit
rth [Sun, 9 Feb 2003 05:21:00 +0000 (05:21 +0000)]
    * config/alpha/alpha.c (override_options): Turn off explicit
        relocs until post-peep2 code duplication resolved.

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

21 years ago * optabs.c (expand_unop): Widen clz properly when clz is done
kazu [Sun, 9 Feb 2003 04:25:16 +0000 (04:25 +0000)]
* optabs.c (expand_unop): Widen clz properly when clz is done
via libcall.

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

21 years ago * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
danglin [Sun, 9 Feb 2003 03:23:13 +0000 (03:23 +0000)]
* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
Correct alignment.
(__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
lock.

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

21 years agoDaily bump.
gccadmin [Sun, 9 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * jcf-io.c (java_or_class_file): Use libiberty's lbasename
sayle [Sat, 8 Feb 2003 18:49:22 +0000 (18:49 +0000)]
* jcf-io.c (java_or_class_file): Use libiberty's lbasename
instead of basename to avoid compiler warnings on Tru64.

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

21 years ago * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
kazu [Sat, 8 Feb 2003 18:27:12 +0000 (18:27 +0000)]
* config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
* config/h8300/crti.asm: Likewise.
* config/h8300/crtn.asm: Likewise.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/fixunssfsi.c: Likewise.
* config/h8300/h8300-protos.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/rtems.h: Likewise.

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

21 years ago * doc/invoke.texi: Documentation for my previous commit.
rakdver [Sat, 8 Feb 2003 14:51:06 +0000 (14:51 +0000)]
* doc/invoke.texi: Documentation for my previous commit.
* doc/passes.texi: Ditto.

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

21 years ago * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
rakdver [Sat, 8 Feb 2003 14:29:00 +0000 (14:29 +0000)]
* cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
Declare.
(DLTHE_FLAG_UPDATE_FREQ): New.
* cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
fix_bb_placement, fix_bb_placements, place_new_loop,
scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
New static functions.
(fix_loop_placement, can_duplicate_loop_p,
duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
New functions.

* cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
unswitch_loops): Declare.
* loop-init.c: New file.
* loop-unswitch.c: New file.
* Makefile.in (loop-init.o, loop-unswitch.o): New.
* params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
* toplev.c (DFI_loop2): New dump.
(flag_unswitch_loops): New.
(lang_independent_options): Add it.
(rest_of_compilation): Call new loop optimizer.
(parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.

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

21 years ago * config/h8300/clzsi2.c: New.
kazu [Sat, 8 Feb 2003 13:22:46 +0000 (13:22 +0000)]
* config/h8300/clzsi2.c: New.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.

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

21 years ago * MAINTAINERS: Update my email
lauras [Sat, 8 Feb 2003 10:52:39 +0000 (10:52 +0000)]
* MAINTAINERS: Update my email

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

21 years ago- Add ctz patterns.
dje [Sat, 8 Feb 2003 03:59:40 +0000 (03:59 +0000)]
- Add ctz patterns.

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

21 years ago * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
dje [Sat, 8 Feb 2003 01:51:26 +0000 (01:51 +0000)]
    * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
        * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
        (ffssi2): Use clz instead of unspec.
        (clzdi2): Rename from cntlzd2.
        (ffsdi2): Use clz instead of unspec.

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

21 years ago * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
ljrittle [Sat, 8 Feb 2003 01:11:35 +0000 (01:11 +0000)]
* config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
* config/ia64/freebsd.h (LINK_SPEC): Likewise.
* config/sparc/freebsd.h (LINK_SPEC): Likewise.
* config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
* gcc.dg/20021014-1.c: Annotate with expected notice text.

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

21 years agoDaily bump.
gccadmin [Sat, 8 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * doc/trouble.texi: Document pitfalls of two-stage name lookup.
gerald [Fri, 7 Feb 2003 23:12:03 +0000 (23:12 +0000)]
* doc/trouble.texi: Document pitfalls of two-stage name lookup.

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

21 years ago * gcse.c (local_cprop_find_used_regs): New.
rth [Fri, 7 Feb 2003 22:57:41 +0000 (22:57 +0000)]
    * gcse.c (local_cprop_find_used_regs): New.
        (local_cprop_pass): Use it.

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

21 years ago2003-02-04 Fred Fish <fnf@intrinsity.com>
echristo [Fri, 7 Feb 2003 22:50:09 +0000 (22:50 +0000)]
2003-02-04  Fred Fish  <fnf@intrinsity.com>

        * mips-tfile.c (parse_def): Parenthesize assignments to fix
        precedence bugs.

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

21 years ago * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
rth [Fri, 7 Feb 2003 22:39:49 +0000 (22:39 +0000)]
    * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.

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

21 years ago * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
sayle [Fri, 7 Feb 2003 22:37:57 +0000 (22:37 +0000)]
* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
(BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
(BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
* builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
builtin functions (and their __builtin_* variants).
* builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
(expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
when not optimizing.

* doc/extend.texi: Document new pow and atan2 builtins, and
their float and long double variants.  Realphabetize builtins.

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

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

21 years ago * i386.md (sse2_nandv2di3): Fix.
hubicka [Fri, 7 Feb 2003 22:26:52 +0000 (22:26 +0000)]
* i386.md (sse2_nandv2di3): Fix.

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

21 years ago * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
dannysmith [Fri, 7 Feb 2003 22:10:56 +0000 (22:10 +0000)]
* config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
* config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
definition.
* config/i386/i386.h (ix86_return_in_memory): Return aggregate
types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.

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

21 years ago * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
mark [Fri, 7 Feb 2003 21:33:05 +0000 (21:33 +0000)]
   * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
       when verify is true.
       (JarFile(File, boolean)): Likewise.
       (manifestRead): Set manifestRead field correctly.

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

21 years ago * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
hubicka [Fri, 7 Feb 2003 21:26:28 +0000 (21:26 +0000)]
* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.

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

21 years ago * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
hubicka [Fri, 7 Feb 2003 21:26:27 +0000 (21:26 +0000)]
* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.

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

21 years ago2003-02-07 Daniel Berlin <dberlin@dberlin.org>
dberlin [Fri, 7 Feb 2003 21:22:07 +0000 (21:22 +0000)]
2003-02-07  Daniel Berlin  <dberlin@dberlin.org>

* cfg.c (dump_flow_info): Add back accidently deleted line.

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

21 years ago2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
mark [Fri, 7 Feb 2003 21:05:12 +0000 (21:05 +0000)]
2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>

       * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
       tests; see patch #1016 on Savannah.

2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>

       * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
       (toString): do not return Strings starting with . and - erroneously.
       Improves Mauve results to 12 of 600 instead of 16 of 338 on
       DiagBigDecimal.

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

21 years agoStephen Crawley <crawley@dstc.edu.au>
mark [Fri, 7 Feb 2003 20:19:53 +0000 (20:19 +0000)]
Stephen Crawley  <crawley@dstc.edu.au>

       * java/beans/PropertyDescriptor.java
       (PropertyDescriptor(String, Class)): Sanity check getter and setter
       methods.
       (PropertyDescriptor(String, Class, String, String)): Likewise.
       (PropertyDescriptor(String, Method, Method): Factor out getter and
       setter method sanity checks into new method.
       (findMethods): Don't do parameter sanity checking of get method here.
       (checkMethods): New method.

2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>

       * java/beans/PropertyDescriptor.java: Reformat.

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

21 years ago * optabs.c (expand_float): Search wider integer modes first.
rth [Fri, 7 Feb 2003 19:38:04 +0000 (19:38 +0000)]
    * optabs.c (expand_float): Search wider integer modes first.

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

21 years ago * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
bwilson [Fri, 7 Feb 2003 19:19:18 +0000 (19:19 +0000)]
    * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
        based on preprocessor flag.

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

21 years ago * gcse.c (implicit_sets): New.
rth [Fri, 7 Feb 2003 19:17:20 +0000 (19:17 +0000)]
    * gcse.c (implicit_sets): New.
        (compute_hash_table_work): Include them in hash table.
        (find_implicit_sets, fis_get_condition): New.
        (one_cprop_pass): Allocate and free implicit_sets; call
        find_implicit_sets before building hash table.

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

21 years ago * cp-simplify.c (genericize_try_block): Do genericize catch blocks.
jason [Fri, 7 Feb 2003 18:14:56 +0000 (18:14 +0000)]
    * cp-simplify.c (genericize_try_block): Do genericize catch blocks.

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

21 years ago * libjava.mauve/xfails: Add new entries for
mark [Fri, 7 Feb 2003 17:50:35 +0000 (17:50 +0000)]
   * libjava.mauve/xfails: Add new entries for
       gnu.testlet.java.text.CollationElementIterator.jdk11

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

21 years ago* config/t-netbsd (USER_H): Revert previous change.
thorpej [Fri, 7 Feb 2003 15:53:35 +0000 (15:53 +0000)]
* config/t-netbsd (USER_H): Revert previous change.

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

21 years ago * doc/c-tree.texi (Namespaces): Fix typo.
gerald [Fri, 7 Feb 2003 14:44:19 +0000 (14:44 +0000)]
* doc/c-tree.texi (Namespaces): Fix typo.

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

21 years ago2003-02-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 7 Feb 2003 11:00:35 +0000 (11:00 +0000)]
2003-02-07  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
unsigned char platforms.

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

21 years ago2003-02-06 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Fri, 7 Feb 2003 04:31:20 +0000 (04:31 +0000)]
2003-02-06 Andreas Tobler <a.tobler@schweiz.ch>

        * libffi/src/powerpc/darwin_closure.S:
        Fix alignement bug, allocate 8 bytes for the result.
        * libffi/src/powerpc/aix_closure.S:
        Likewise.
        * libffi/src/powerpc/ffi_darwin.c:
        Update stackframe description for aix/darwin_closure.S.

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

21 years ago * gcc.dg/20020430-1.c: Fix dg command typos.
ghazi [Fri, 7 Feb 2003 03:58:06 +0000 (03:58 +0000)]
* gcc.dg/20020430-1.c: Fix dg command typos.
* gcc.dg/20020503-1.c: Likewise.

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

21 years ago * regrename.c (do_replace, find_oldest_value_reg,
hubicka [Fri, 7 Feb 2003 01:20:04 +0000 (01:20 +0000)]
* regrename.c (do_replace, find_oldest_value_reg,
copyprop_hardreg_forward_1): Update register attributes.

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

21 years ago2003-02-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 7 Feb 2003 00:26:44 +0000 (00:26 +0000)]
2003-02-06  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9562
* include/std/std_istream.h
(basic_istream::sentry::operator bool()): Make const.
* include/std/std_ostream.h
(basic_ostream::sentry::operator bool()): Likewise.
* testsuite/27_io/istream_sentry.cc (test03): Add.
* testsuite/27_io/ostream_sentry.cc: Add.

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

21 years agoDaily bump.
gccadmin [Fri, 7 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-02-06 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 6 Feb 2003 23:08:12 +0000 (23:08 +0000)]
2003-02-06  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
variables starting with underscore.
(struct unit_usage): New structure.
(unit_usages, cycle_alt_unit_usages): New global variables.
(check_unit_distribution_in_reserv): Remove it.
(store_alt_unit_usage): New function.
(check_regexp_units_distribution): Rewrite it.

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

21 years ago PR c++/8785
reichelt [Thu, 6 Feb 2003 22:34:55 +0000 (22:34 +0000)]
PR c++/8785
* g++.dg/parse/fused-params1.C: New test.

PR c++/8857
* g++.dg/parse/tmpl-tmpl-operator1.C: New test.

PR c++/8921
* g++.dg/parse/non-dependent1.C: New test.

PR c++/8928
* g++.dg/parse/dupl-tmpl-args1.C: New test.

PR c++/9228
* g++.dg/parse/undefined7.C: New test.
* g++.dg/parse/non-templ1.C: New test.

PR c++/9229
* g++.dg/parse/too-many-tmpl-args1.C: New test.

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

21 years ago * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
danglin [Thu, 6 Feb 2003 21:17:13 +0000 (21:17 +0000)]
* config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
target_cpu_default.
* pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
if not MASK_NO_SPACE_REGS.
(output_call): Adjust return pointer, don't load new space register
into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
(pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
TARGET_NO_SPACE_REGS is true.
* pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
conditions.
(epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
(interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
true.  Use bve when TARGET_64BIT is true.

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

21 years ago* Makefile.def: Remove "snavigator", "grep", and "db" modules.
dj [Thu, 6 Feb 2003 20:55:11 +0000 (20:55 +0000)]
* Makefile.def: Remove "snavigator", "grep", and "db" modules.
* Makefile.tpl: Remove "all-snavigator" and "all-grep".
* Makefile.in: Regenerated.
* configure.in: Remove all traces of snavigator, db, and grep.
* configure: Regenerated.

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

21 years ago * combine.c (nonzero_bits): Fix double break.
rth [Thu, 6 Feb 2003 19:26:42 +0000 (19:26 +0000)]
    * combine.c (nonzero_bits): Fix double break.

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

21 years agoReverted erroneously applied patch
tromey [Thu, 6 Feb 2003 19:01:24 +0000 (19:01 +0000)]
Reverted erroneously applied patch

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

21 years ago2003-02-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 6 Feb 2003 18:08:51 +0000 (18:08 +0000)]
2003-02-06  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9548
Implement resolution of DR 231 (Ready)
* include/bits/locale_facets.h (__num_base::_S_format_float):
Change declaration: return void, remove __prec parameter.
* src/locale.cc (__num_base::_S_format_float): Implement
resolution of DR 231.
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Tweak uses. Check for negative precision.
* testsuite/22_locale/num_put/put/char/6.cc: Add
* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.

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

21 years ago * MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
gerald [Thu, 6 Feb 2003 12:44:28 +0000 (12:44 +0000)]
* MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
After Approval.

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

21 years ago * MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
gerald [Thu, 6 Feb 2003 11:41:19 +0000 (11:41 +0000)]
* MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
After Approval.

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

21 years ago PR c/9530
ebotcazou [Thu, 6 Feb 2003 10:39:45 +0000 (10:39 +0000)]
PR c/9530
* config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
from functions that return a float to functions that don't.

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

21 years ago * i386.c (x86_inter_unit_moves): New variable.
hubicka [Thu, 6 Feb 2003 10:03:13 +0000 (10:03 +0000)]
* i386.c (x86_inter_unit_moves): New variable.
(ix86_secondary_memory_needed): Fix 64bit case, honor
TARGET_INTER_UNIT_MOVES
* i386.h (x86_inter_unit_moves): Declare.
(TARGET_INTER_UNIT_MOVES): New macro.
* i386.md (movsi_1): Cleanup constraints; disable
when not doing inter-unit moves.
(movsi_1_nointernunit): New.
(movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
(movdi_1_rex64_nointerunit): New.
(mivsf_1): disable when not doing inter-unit moves.
(movsf_1_nointerunit): New.

* basic-block.h (inside_basic_block_p):  Declare.
* cfgbuild.c (inside_basic_block_p): Make global.
* haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK.
* scheudle-ebb.c  (schedule_ebb): Return last basic block of trace;
update CFG.
(fix_basic_block_boundaries, add_missing_bbs): New.
(rank): Use profile.
(scheudle_ebbs): Rely on CFG; update coments.

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

21 years ago2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
bkoz [Thu, 6 Feb 2003 08:10:47 +0000 (08:10 +0000)]
2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>

* config/io/basic_file_libio.h: Fixups.
* config/io/c_io_libio.h: Same.
* libio/Makefile.am: Same.
* libio/Makefile.in: Regenerated.

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

21 years ago2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 6 Feb 2003 06:24:21 +0000 (06:24 +0000)]
2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
Explicitly use the "C" locale.
* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.

2003-02-06  Petur Runolfsson  <peturr02@ru.is>

DR 75
DR 305
PR libstdc++/9028 (partial)
PR libstdc++/9224
PR libstdc++/9246
PR libstdc++/9247

* src/codecvt.cc
(codecvt<wchar_t, char, mbstate_t>::do_encoding,
codecvt<wchar_t, char, mbstate_t>::do_length,
codecvt<wchar_t, char, mbstate_t>::do_max_length):
Move...
* config/locale/generic/codecvt_members.cc:  ...here.
* config/locale/gnu/codecvt_members.cc:  ...and here.

* config/locale/generic/codecvt_members.cc,
* config/locale/gnu/codecvt_members.cc
(codecvt<wchar_t, char, mbstate_t>::do_encoding
codecvt<wchar_t, char, mbstate_t>::do_in,
codecvt<wchar_t, char, mbstate_t>::do_length,
codecvt<wchar_t, char, mbstate_t>::do_max_length,
codecvt<wchar_t, char, mbstate_t>::do_out):
New implementation that handles stateless encodings,
including UTF-8.

* config/locale/generic/codecvt_members.cc,
* config/locale/gnu/codecvt_members.cc,
* config/locale/ieee_1003.1-2001/codecvt_specializations.h,
* include/bits/codecvt.h,
* src/codecvt.cc
(codecvt::length, codecvt::do_length):
Change type of first argument of length and do_length from
'const state_type&' to 'state_type&' according to DR 75.

* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
Cleanup and check for correct return value from encoding
for "C" locale.
* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
* testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/length/char/2.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
* testsuite/22_locale/codecvt/unicode/1.cc:  New test.
* testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.

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

21 years ago2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 6 Feb 2003 05:58:10 +0000 (05:58 +0000)]
2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (time_put::do_put): Use __write.
(money_put::do_put): Same.

2003-02-05  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/ios_base.h (ios_base): Document reserved storage.

* include/bits/locale_facets.h: (struct __pad): Comment on
implementation.
(__verify_grouping): Same.
(__add_grouping): Same.
* include/bits/locale_facets.tcc (__verify_grouping): Move
comments to declaration.
(__add_grouping): Same.

* include/bits/locale_facets.tcc:
(__write<_CharT, _OutIter>): New function.
(__write<_CharT>): New function specialization.
(num_put::_M_insert): Remove explicit loop over iterator.  Use
__write.
(num_put::_M_widen_float): Remove __basefield.
(num_put::_M_widen_int): Move __basefield to within grouping block.

* include/bits/streambuf_iterator.h: Include <streambuf>.
(ostreambuf_iterator::_M_put): Add.

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

21 years ago * Makefile.in (host_hook_obj): New.
geoffk [Thu, 6 Feb 2003 01:47:56 +0000 (01:47 +0000)]
* Makefile.in (host_hook_obj): New.
(OBJS): Add $(host_hook_obj).
(host_default.o): New rule.
* config.gcc (host_hook_obj): New, default to host-default.o.
(powerpc-*-darwin*): Use host-darwin.o.
(out_host_hook_obj): New.
* configure: Regenerate.
* configure.in: Print information about out_host_hook_obj, substitute
into output files.
* host-default.c: New file.
* hosthooks.h: New file.
* toplev.c (general_init): Call host_hooks.extra_signals.
* config/rs6000/host-darwin.c: New file.
* config/rs6000/x-darwin: New file.
* doc/hostconfig.texi: Add documentation for new host hook.
Rearrange existing documentation.

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

21 years ago * gcc.c-torture/compile/921206-1.c: Rename undeclared function from
sayle [Thu, 6 Feb 2003 01:26:40 +0000 (01:26 +0000)]
* gcc.c-torture/compile/921206-1.c: Rename undeclared function from
"pow" to "foo" to avoid potential confusion with math built-ins.

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

21 years ago * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
sayle [Thu, 6 Feb 2003 01:23:41 +0000 (01:23 +0000)]
* dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
with *targetm.delegitimize_address.
(rtl_for_decl_location): Likewise.
* dwarfout.c (output_mem_loc_descriptor): Likewise.  Include target.h.
* Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)

* config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
* config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
prototype.
* config/i386/i386.c (ix86_delegitimize_address): Renamed from
i386_simplify_dwarf_addr.  Made static.  Prototyped.
(TARGET_DELEGITIMIZE_ADDRESS): Update definition from
i386_simplify_dwarf_addr to ix86_delegitimize_address.
(ix86_find_base_term): Likewise.
(maybe_get_pool_constant): Likewise.

* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
prototype.
* config/s390/s390.c (s390_delegitimize_address): Renamed from
s390_simplify_dwarf_addr.  Made static.  Prototyped.
(TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.

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

21 years agoMark PR for last change.
rth [Thu, 6 Feb 2003 00:37:34 +0000 (00:37 +0000)]
Mark PR for last change.

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

21 years ago * integrate.c (output_inline_function): Reset input_filename
rth [Thu, 6 Feb 2003 00:37:01 +0000 (00:37 +0000)]
    * integrate.c (output_inline_function): Reset input_filename
        and lineno from the decl before rest_of_compilation.

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

21 years ago * gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
ghazi [Thu, 6 Feb 2003 00:33:26 +0000 (00:33 +0000)]
* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
conditions for SPARC targets.

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

21 years agoDaily bump.
gccadmin [Thu, 6 Feb 2003 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
jakub [Wed, 5 Feb 2003 23:58:57 +0000 (23:58 +0000)]
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
attribute.

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

21 years ago * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
rth [Wed, 5 Feb 2003 22:37:54 +0000 (22:37 +0000)]
    * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
        (CTZ_DEFINED_VALUE_AT_ZERO): New.
        * doc/rtl.texi, doc/tm.texi: Document them.

        * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
        of the value at zero properly.
        * fold-const.c (tree_expr_nonnegative_p): Likewise.
        * simplify-rtx.c (simplify_unary_operation): Likewise.

        * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
        (CTZ_DEFINED_VALUE_AT_ZERO): New.

        * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
        (TARGET_EXPAND_BUILTIN): Remove.
        (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
        * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
        (enum arm_builtins): Remove.
        * config/arm/arm.md (UNSPEC_CLZ): Remove.
        (clzsi2): Rename from clz; use clz instead of unspec.
        (ctzsi2): New.
        * config/arm/arm-protos.h: Update.

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

21 years ago * i386-protos.h (x86_emit_floatuns): Declare.
hubicka [Wed, 5 Feb 2003 22:13:40 +0000 (22:13 +0000)]
* i386-protos.h (x86_emit_floatuns):  Declare.
* i386.c (x86_emit_floatuns): New global function.
* i386.md (floatunssisf2, floatunsdisf2,
floatunsdidf2):  New patterns.

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

21 years ago * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
rakdver [Wed, 5 Feb 2003 20:04:53 +0000 (20:04 +0000)]
* cfgloopmanip.c (force_single_succ_latches): Fix missindentation.

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

21 years ago2003-02-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 5 Feb 2003 19:26:24 +0000 (19:26 +0000)]
2003-02-05  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.

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

21 years ago2003-02-04 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 5 Feb 2003 18:11:11 +0000 (18:11 +0000)]
2003-02-04  Hans Boehm <Hans.Boehm@hp.com>

* config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
  config/ia64/linux.h

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

21 years ago * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
sayle [Wed, 5 Feb 2003 18:03:48 +0000 (18:03 +0000)]
* cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.

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

21 years ago PR optimization/8555
jakub [Wed, 5 Feb 2003 11:29:15 +0000 (11:29 +0000)]
PR optimization/8555
* config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
instead of aborting.

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

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

21 years ago * config/i386/i386.md (UNSPEC_BSF): Remove.
rth [Wed, 5 Feb 2003 09:40:57 +0000 (09:40 +0000)]
    * config/i386/i386.md (UNSPEC_BSF): Remove.
        (ffssi2): Split into cmove and no_cmove insns and splitters;
        lose pentium float trick for now.
        (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
        (ctzsi2, clzsi2, bsr): New.

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

21 years ago * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
rth [Wed, 5 Feb 2003 02:25:36 +0000 (02:25 +0000)]
    * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
        UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
        * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
        (ffsdi2): Use popcount instead of unspec.
        (popcountdi2): Rename from *popcnt.
        (ctzdi2, clzdi2, getf_exp_tf): New.

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

21 years ago * genconfig.c (main): Generate CC0_P.
kazu [Wed, 5 Feb 2003 00:56:40 +0000 (00:56 +0000)]
* genconfig.c (main): Generate CC0_P.
* rtl.h (CC0_P): Remove.

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

21 years ago * libgcc2.h, libgcc2.c (__ffsSI2): New.
rth [Wed, 5 Feb 2003 00:52:24 +0000 (00:52 +0000)]
    * libgcc2.h, libgcc2.c (__ffsSI2): New.
        (__ffsDI2): Rename from __ffsdi2.
        * mklibgcc.in (lib2funcs): Add _ffssi2.

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

21 years ago * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
rth [Wed, 5 Feb 2003 00:43:22 +0000 (00:43 +0000)]
    * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
        rounds with a "bit table" lookup.

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