OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Fri, 4 Apr 2003 22:01:46 +0000 (22:01 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
compute_a_shift_cc.
* config/h8300/h8300.c (shift_one): Update the CC status.
(shift_two): Likewise.
(output_a_shift_cc): Set cc_inline and cc_special.
(compute_a_shift_cc): New.
* config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.

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

21 years ago * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
rth [Fri, 4 Apr 2003 21:49:42 +0000 (21:49 +0000)]
    * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.

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

21 years ago * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
ljrittle [Fri, 4 Apr 2003 21:46:49 +0000 (21:46 +0000)]
* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
* fixinc/fixincl.x: Rebuilt.
* fixinc/tests/base/stdio.h: Regenerated.

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

21 years ago * gcov.c (accumulate_line_counts): Fix span tree merge bug.
nathan [Fri, 4 Apr 2003 15:48:19 +0000 (15:48 +0000)]
* gcov.c (accumulate_line_counts): Fix span tree merge bug.

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

21 years agoAdd PR libstdc++/10276 to Changelog entry.
jlquinn [Fri, 4 Apr 2003 15:09:04 +0000 (15:09 +0000)]
Add PR libstdc++/10276 to Changelog entry.

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

21 years ago2003-04-04 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 4 Apr 2003 15:05:17 +0000 (15:05 +0000)]
2003-04-04  Jerry Quinn  <jlquinn@optonline.net>

* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
initialization.

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

21 years ago * sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
amylaar [Fri, 4 Apr 2003 15:01:15 +0000 (15:01 +0000)]
* sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
(NORMAL_MODE).
* sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.

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

21 years ago * doc/contrib.texi (Contributors): Add entries for Wolfgang
gerald [Fri, 4 Apr 2003 14:56:02 +0000 (14:56 +0000)]
* doc/contrib.texi (Contributors): Add entries for Wolfgang
Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
Danny Smith, and Ulrich Weigand.
Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
entry.

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

21 years agoconfig/sparc/sol2-bi.h: Revert previous delta.
nickc [Fri, 4 Apr 2003 13:00:09 +0000 (13:00 +0000)]
config/sparc/sol2-bi.h: Revert previous delta.
config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO.

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

21 years ago(expand_prologue): Only use register save helper functions if long calls are
nickc [Fri, 4 Apr 2003 10:38:50 +0000 (10:38 +0000)]
(expand_prologue): Only use register save helper functions if long calls are
not being used.
Add a clobber of r11 id using long calls.
(prolog pattern): Do not use this pattern for v850e's.

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

21 years ago * stor-layout.c (layout_decl): Avoid syntax error in last change
schwab [Fri, 4 Apr 2003 09:01:13 +0000 (09:01 +0000)]
* stor-layout.c (layout_decl): Avoid syntax error in last change
when PCC_BITFIELD_TYPE_MATTERS is defined but not
EMPTY_FIELD_BOUNDARY.

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

21 years agoOops, asm-fs-1.c works as expected on darwin.
mrs [Fri, 4 Apr 2003 01:37:26 +0000 (01:37 +0000)]
Oops, asm-fs-1.c works as expected on darwin.

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

21 years agoOops, this works as expected now.
mrs [Fri, 4 Apr 2003 01:36:45 +0000 (01:36 +0000)]
Oops, this works as expected now.

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

21 years ago PR c/10175
jason [Fri, 4 Apr 2003 01:25:40 +0000 (01:25 +0000)]
    PR c/10175
        * jump.c (never_reached_warning): Revert patch of 2002-11-02.
        Look backwards for a line note.

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

21 years ago PR c/10175
jason [Fri, 4 Apr 2003 01:21:56 +0000 (01:21 +0000)]
    PR c/10175
        * jump.c (never_reached_warning): Revert patch of 2002-11-02.
        Look backwards for a line note.

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

21 years ago * gcc.dg/asm-fs-1.c: Expect failure on darwin.
mrs [Fri, 4 Apr 2003 01:19:31 +0000 (01:19 +0000)]
* gcc.dg/asm-fs-1.c: Expect failure on darwin.

* lib/scanasm.exp (scan-assembler): Add xfail processing for
        target arg.
(scan-assembler-times, scan-assembler-not): Likewise.
(scan-assembler-dem, scan-assembler-dem-not): Likewise.

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

21 years agoDaily bump.
gccadmin [Fri, 4 Apr 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * Make-lang.in (cp-warn): Add $(STRICT_WARN).
ghazi [Thu, 3 Apr 2003 23:26:03 +0000 (23:26 +0000)]
* Make-lang.in (cp-warn): Add $(STRICT_WARN).
* cp-tree.h: Don't insist on having GNUC.

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

21 years ago * fix-header.c (read_scan_file): Defer switch processing.
neil [Thu, 3 Apr 2003 22:01:21 +0000 (22:01 +0000)]
* fix-header.c (read_scan_file): Defer switch processing.

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

21 years ago * cpppch.c (reset_ht): Remove.
austern [Thu, 3 Apr 2003 21:00:56 +0000 (21:00 +0000)]
* cpppch.c (reset_ht): Remove.
(cpp_read_state): Remove loop to reset hashtable identifiers.
* ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
after pch file is written.
* ggc.h (gt_pch_fixup_stringpool): Declare.
* stringpool.c (ht_copy_and_clear): Define.  Callback.  Copy
hashnode's value to another hashtable, then clear the original.
(saved_ident_hash): Define.
(gt_pch_save_stringpool): Create saved_ident_hash, use it to
store definitions in ident_hash, and clear ident_hash.
(gt_pch_fixup_stringpool): Define.  Restore definitions from
saved_ident_hash to ident_hash, then destroy saved_ident_hash.

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

21 years ago * cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
hubicka [Thu, 3 Apr 2003 20:28:39 +0000 (20:28 +0000)]
* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.

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

21 years ago * cvt.c (ocp_convert): Only abort if we try to convert an object
jason [Thu, 3 Apr 2003 20:07:56 +0000 (20:07 +0000)]
    * cvt.c (ocp_convert): Only abort if we try to convert an object
        of TREE_ADDRESSABLE type.

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

21 years ago PR optimization/10157
ebotcazou [Thu, 3 Apr 2003 19:20:06 +0000 (19:20 +0000)]
PR optimization/10157
* gcse.c (can_copy_p): Rename it to can_copy.
(can_copy_init_p): Remove.
(compute_can_copy): Use can_copy instead of can_copy_p.
(can_copy_p): New exported function. Call compute_can_copy.
(hash_scan_set): Use it.
(gcse_main): Don't call compute_can_copy.
(bypass_jumps): Don't call compute_can_copy.
* rtl.h (can_copy_p): Declare.
* loop.c (scan_loop): Don't move the source and add a reg-to-reg
copy if the mode doesn't support copy operations.

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

21 years ago * Makefile.in (unstrap): Also remove stage_last.
jason [Thu, 3 Apr 2003 19:10:42 +0000 (19:10 +0000)]
    * Makefile.in (unstrap): Also remove stage_last.

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

21 years ago * dwarf2out.c (lookup_filename): Don't check for "<internal>".
jason [Thu, 3 Apr 2003 19:03:08 +0000 (19:03 +0000)]
    * dwarf2out.c (lookup_filename): Don't check for "<internal>".
        (dwarf2out_source_line): Don't do anything if line==0.

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

21 years ago * stor-layout.c (do_type_align): New fn, split out from...
jason [Thu, 3 Apr 2003 18:23:04 +0000 (18:23 +0000)]
    * stor-layout.c (do_type_align): New fn, split out from...
        (layout_decl): ...here.  Do all alignment calculations for
        FIELD_DECLs here.
        (update_alignment_for_field): Not here.
        (start_record_layout, debug_rli): Remove unpadded_align.
        * tree.h (struct record_layout_info_s): Remove unpadded_align.
        * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
        or DECL_MODE on the CONST_DECLs.
        (finish_struct): Don't mess with DECL_ALIGN.
        * cp/class.c (build_vtable): Set DECL_ALIGN here.
        (get_vtable_decl): Not here.
        (layout_vtable_decl): Or here.
        (create_vtable_ptr): Or here.
        (layout_class_type): Or here.
        (check_bitfield_decl): Don't mess with field alignment.
        * ada/misc.c (gnat_adjust_rli): #if 0.

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

21 years ago * i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
hubicka [Thu, 3 Apr 2003 17:40:47 +0000 (17:40 +0000)]
* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.

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

21 years ago * sh.c (sh_function_ok_for_sibcall): Return 0 if the current
amylaar [Thu, 3 Apr 2003 17:01:34 +0000 (17:01 +0000)]
* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
function is an interrupt handler.

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

21 years ago * Avoid clash of temp register for restoring target registers
amylaar [Thu, 3 Apr 2003 16:21:48 +0000 (16:21 +0000)]
* Avoid clash of temp register for restoring target registers
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin
fashion.

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

21 years agogcc:
ghazi [Thu, 3 Apr 2003 15:42:16 +0000 (15:42 +0000)]
gcc:
* gengtype-lex.l (IWORD): Add CHAR_BITFIELD.
* system.h (CHAR_BITFIELD): New.
cp:
* operators.def (DEF_SIMPLE_OPERATOR, DEF_ASSN_OPERATOR,
DEF_ASSN_OPERATOR): Delete spurious semi-colon.
* rtti.c (dfs_class_hint_mark): Likewise.

* decl.c (push_local_name, push_class_level_binding,
maybe_inject_for_scope_var): Don't use POP_TIMEVAR_AND_RETURN in
functions returning void.
* decl2.c (add_using_namespace): Likewise.

* decl.c (print_binding_level, print_other_binding_stack,
print_binding_stack): Cast argument of %p specifier to void*.
* ptree.c (cxx_print_decl): Likewise.

* cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK,
VAR_FUNCTION_OR_PARM_DECL_CHECK,
VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK, RECORD_OR_UNION_TYPE_CHECK,
BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK, LANG_TYPE_CLASS_CHECK,
LANG_TYPE_PTRMEM_CHECK, LANG_DECL_U2_CHECK): Add __extension__.

* decl.c (set_current_binding_level): New macro.  Use throughout
when setting the current binding level.

* cp-tree.h (cp_lvalue_kind, base_access): Delete trailing comma
in enum.
* method.c (mangling_flags): Likewise.

* cp-tree.h (lang_type_header): Add __extension__ and use
CHAR_BITFIELD for members.

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

21 years ago * config/h8300/h8300.md (a peephole2): Generalize to accept GT
kazu [Thu, 3 Apr 2003 11:59:42 +0000 (11:59 +0000)]
* config/h8300/h8300.md (a peephole2): Generalize to accept GT
and LE.
(another peephole2): Likewise.

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

21 years ago* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
nickc [Thu, 3 Apr 2003 10:21:22 +0000 (10:21 +0000)]
* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
(DEF_ARCH64_SPEC): Likewise.

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

21 years ago * i386.c (constant_address_p): Use legitimate_constant_p.
hubicka [Thu, 3 Apr 2003 07:54:27 +0000 (07:54 +0000)]
* i386.c (constant_address_p): Use legitimate_constant_p.
(legitimate_address_p): Do not use CONSTANT_ADDRESS_P.

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

21 years agoIndex: testsuite/ChangeLog
geoffk [Thu, 3 Apr 2003 03:45:49 +0000 (03:45 +0000)]
Index: testsuite/ChangeLog
2003-04-02  Geoffrey Keating  <geoffk@apple.com>

* g++.dg/pch/system-2.C: New.
* g++.dg/pch/system-2.Hs: New.

Index: cp/ChangeLog
2003-04-02  Geoffrey Keating  <geoffk@apple.com>

* mangle.c: Include gt-cp-mangle.h.
(subst_identifiers): Mark with GTY.
* config-lang.in (gtfiles): Add cp/mangle.c.
* Make-lang.in: (gt-cp-mangle.h): New rule.
(cp/mangle.o): Depends on gt-cp-mangle.h.

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

21 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Thu, 3 Apr 2003 02:41:19 +0000 (02:41 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
gtle_operator.
* config/h8300/h8300.c (gtle_operator): New.
* config/h8300/h8300.h (PREDICATE_CODES): Add an entry for
gtle_operator.
* config/h8300/h8300.md (a peephole2): Generalize to accept GT
and LE.

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

21 years ago * libgcc-std.ver (_Unwind_GetCFA): New.
rth [Thu, 3 Apr 2003 02:06:55 +0000 (02:06 +0000)]
    * libgcc-std.ver (_Unwind_GetCFA): New.
        * unwind-dw2.c (_Unwind_GetCFA): New.
        * unwind-libunwind.c (_Unwind_GetCFA): New.
        * unwind-sjlj.c (_Unwind_GetCFA): New.
        * unwind.h: Declare it.

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

21 years agoDaily bump.
gccadmin [Thu, 3 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago PR inline-asm/8088
hubicka [Wed, 2 Apr 2003 22:42:59 +0000 (22:42 +0000)]
PR inline-asm/8088
* i386.c (ix86_hard_regno_mode_ok):  Return 0 for MMX/SSE registers
when MMX/SSE is not available.

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

21 years ago * doc/install.texi (Specific): Update pointers to apple.com.
mrs [Wed, 2 Apr 2003 22:30:49 +0000 (22:30 +0000)]
* doc/install.texi (Specific): Update pointers to apple.com.

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

21 years ago * i386.c (override_options): Disable red zone by default on i386.
hubicka [Wed, 2 Apr 2003 22:19:30 +0000 (22:19 +0000)]
* i386.c (override_options):  Disable red zone by default on i386.
(compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
Do not test TARGET_64BIT together with TARGET_RED_ZONE

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

21 years ago * config/h8300/h8300.md (a peephole2): Tighten the condition.
kazu [Wed, 2 Apr 2003 21:43:35 +0000 (21:43 +0000)]
* config/h8300/h8300.md (a peephole2): Tighten the condition.

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

21 years ago * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
rth [Wed, 2 Apr 2003 19:33:22 +0000 (19:33 +0000)]
    * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.

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

21 years ago * config/h8300/h8300.md (a peephole2): New.
kazu [Wed, 2 Apr 2003 18:36:01 +0000 (18:36 +0000)]
* config/h8300/h8300.md (a peephole2): New.

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

21 years ago * except.c (sjlj_find_directly_reachable_regions): Recognize when
rth [Wed, 2 Apr 2003 17:58:38 +0000 (17:58 +0000)]
    * except.c (sjlj_find_directly_reachable_regions): Recognize when
        must-not-throw region has been deleted.

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

21 years ago * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
rth [Wed, 2 Apr 2003 17:23:01 +0000 (17:23 +0000)]
    * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
        optimization when flag_exceptions not enabled.

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

21 years ago2003-04-02 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 2 Apr 2003 17:20:54 +0000 (17:20 +0000)]
2003-04-02  Vladimir Makarov  <vmakarov@redhat.com>

* config/rs6000/rs6000.c
(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the
macros.
(rs6000_issue_rate): Add case for 8540.
(rs6000_use_sched_lookahead): New function.

* config/rs6000/8540.md: Rename SIU units into SU ones and MIU
units into MU ones.
(ppc8540_branch, ppc8540_cr_logical): Add one cycle in the
reservation before retirement.
(ppc8540_multiply, ppc8540_load, ppc8540_store,
ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store):
Remove additional cycle in the reservation before retirement.
(ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed
reservation of ppc8540_issue.

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

21 years ago2003-04-02 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 2 Apr 2003 16:56:33 +0000 (16:56 +0000)]
2003-04-02  Aldy Hernandez  <aldyh@redhat.com>

        * g++.dg/eh/simd-2.C (vecfunc): Fix typo.

        * g++.dg/eh/simd-1.C (vecfunc): Same.

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

21 years agofix
jason [Wed, 2 Apr 2003 15:50:31 +0000 (15:50 +0000)]
fix

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

21 years ago * real.c (decode_ieee_single): Fix decoding of SNaN bit.
schwab [Wed, 2 Apr 2003 09:13:33 +0000 (09:13 +0000)]
* real.c (decode_ieee_single): Fix decoding of SNaN bit.

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

21 years ago * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
rth [Wed, 2 Apr 2003 07:08:16 +0000 (07:08 +0000)]
    * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
        notes for nothrow calls if flag_forced_unwind_exceptions.
        (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
        (sjlj_find_directly_reachable_regions): Likewise.
        (reachable_handlers): Likewise.
        (can_throw_external): Likewise.
        (collect_one_action_chain): Record cleanups after catch-all and
        must-not-throw if flag_forced_unwind_exceptions.
        * flags.h (flag_forced_unwind_exceptions): Declare.
        * toplev.c (flag_forced_unwind_exceptions): New.
        (lang_independent_options): Add it.
* doc/invoke.text: Add it.

        * g++.dg/eh/forced1.C: New.
        * g++.dg/eh/forced2.C: New.

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

21 years agoDaily bump.
gccadmin [Wed, 2 Apr 2003 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * config/ia64/crti.asm: Clean up trailing whitespace.
rth [Tue, 1 Apr 2003 23:29:35 +0000 (23:29 +0000)]
    * config/ia64/crti.asm: Clean up trailing whitespace.
        Remove trailing hashes (#) from identifiers.

        * config/ia64/crtn.asm: Ditto.

        * config/ia64/crtend.asm: Remove trailing hashes (#) from
        identifiers.
        (__do_global_ctors_aux): Align to 32-byte boundary.  Add unwind
        directives.  Drop explicit bundling---it just makes the code
        harder to read.  Don't save/restore gp needlessly.

        * config/ia64/crtbegin.asm: Remove trailing hashes (#) from
        identifiers (they're only needed if the identifier would clash
        with a register name otherwise).
        (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind
        directives.  Drop explicit bundling---it just makes the code
        harder to read.
        (__do_jv_register_classes): Ditto.
        (.fini_array): Remove "progbits" (newer
        assemblers don't like wrong section-types).
        (.init_array): Ditto.

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

21 years ago PR fortran/9974
sayle [Tue, 1 Apr 2003 22:32:37 +0000 (22:32 +0000)]
PR fortran/9974
* gcse.c (reg_killed_on_egde): New function to test whether the
given reg is overwritten by any instruction queued on an edge.
(bypass_block): Ignore substitutions killed on incoming edges.
Don't bypass outgoing edges that have queued instructions.

* gcc.c-torture/execute/20030401-1.c: New test case.

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

21 years ago2003-04-01 Ziemowit Laski <zlaski@apple.com>
zlaski [Tue, 1 Apr 2003 22:11:01 +0000 (22:11 +0000)]
2003-04-01  Ziemowit Laski <zlaski@apple.com>

        * objc.dg/defs.m: New.

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

21 years ago* real.h (EXP_BITS): Make room for...
aoliva [Tue, 1 Apr 2003 21:45:28 +0000 (21:45 +0000)]
* real.h (EXP_BITS): Make room for...
(struct real_value): ... added canonical bit.
(struct real_format): Added pnan.
(mips_single_format, mips_double_format, mips_extended_format,
mips_quad_format): New.
* real.c: Copy p to pnan in all formats.
(get_canonical_qnan, get_canonical_snan): Set canonical bit.
(real_nan): Use pnan to compute significand's shift.
(real_identical): Disregard significand in canonical
NaNs.
(real_hash): Likewise.  Take signalling into account.
(encode_ieee_single, encode_ieee_double, encode_ieee_quad):
Disregard significand bits in canonical NaNs.  Set all bits of
canonical NaN if !qnan_msb_set.
(encode_ibm_extended, decode_ibm_extended): Likewise.  Use
qnan_msb_set to tell the base double format.
(ibm_extended_format): Use 53 as pnan.
(mips_single_format, mips_double_format, mips_extended_format,
mips_quad_format): Copied from the corresponding ieee/ibm
formats, with qnan_msb_set false.
* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
* config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
* config/mips/mips.c (override_options): Use mips_single_format
and mips_double_format.  Default TFmode to mips_quad_format.
* config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
* config/mips/t-irix6: Likewise.
* config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
* config/fp-bit.c (pack_d, unpack_d): Obey it.

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

21 years ago * unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
geoffk [Tue, 1 Apr 2003 21:02:25 +0000 (21:02 +0000)]
* unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
(live_image_destructor): Reset image to initial state.
(examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.

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

21 years ago * config/sparc/sparc.c (input_operand): Accept bare
ebotcazou [Tue, 1 Apr 2003 20:45:19 +0000 (20:45 +0000)]
* config/sparc/sparc.c (input_operand): Accept bare
CONSTANT_P_RTX operands.

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

21 years ago2003-04-01 Andrew Pinski <pinskia@physics.uc.edu>
dje [Tue, 1 Apr 2003 20:37:00 +0000 (20:37 +0000)]
2003-04-01  Andrew Pinski  <pinskia@physics.uc.edu>

        * config-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c
        after \$(srcdir)/cp/name-lookup.h.
        * name-lookup.c: (cxx_binding_make): Use ggc_alloc_clearedinstead
        of ggc_alloc.  Include gt-cp-name-lookup.h at the end of the file.
        * Make-lang.in: (gt-cp-name-lookup.h): is generated by the gtype.
        (cp/name-lookup.o): depends on gt-cp-name-lookup.h.

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

21 years ago * gcse.c (struct ls_expr): Added pattern_regs field.
rakdver [Tue, 1 Apr 2003 20:23:54 +0000 (20:23 +0000)]
* gcse.c (struct ls_expr): Added pattern_regs field.
(ldst_entry): Initialize it.
(extract_mentioned_regs, extract_mentioned_regs_helper): New.
(store_ops_ok): Use regs precomputed by them.
(find_loads, store_killed_in_insn, load_kills_store): Change return
type to bool.
(store_killed_before, store_killed_after): Take position of register
set in account.
(reg_set_info): Store position of the setter.
(gcse_main): Enable store motion.
(mems_conflict_for_gcse_p): Enable load motion of non-symbol mems.
(pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl
sharing.
(simple_mem): Enable store motion of non-symbol mems.
(regvec): Type changed.
(LAST_AVAIL_CHECK_FAILURE): New.
(compute_store_table_current_insn): New.
(build_store_vectors): Computation of availability and anticipatability
moved ...
(compute_store_table, find_moveable_store): ... here.
(delete_store): Remove senseless comment.
(store_motion): Reorganize.

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

21 years agoFix a typo in ChangeLog.
kazu [Tue, 1 Apr 2003 20:15:40 +0000 (20:15 +0000)]
Fix a typo in ChangeLog.

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

21 years ago * config/mips/mips.c (override_options): Provide mappings for
kevinb [Tue, 1 Apr 2003 19:43:29 +0000 (19:43 +0000)]
* config/mips/mips.c (override_options): Provide mappings for
HI_REGNUM and LO_REGNUM.
* config/mips/mips.h (MD_DBX_FIRST): Define.

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

21 years ago2003-04-01 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 1 Apr 2003 19:18:24 +0000 (19:18 +0000)]
2003-04-01  Aldy Hernandez  <aldyh@redhat.com>

        * g++.dg/eh/simd-1.C: New.

        * g++.dg/eh/simd-2.C: New.

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

21 years ago 2003-04-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 1 Apr 2003 18:33:51 +0000 (18:33 +0000)]
2003-04-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* combine.c (merge_outer_ops): Fix typo.

* varasm.c (make_decl_one_only): Revert 2003-03-09 patch.

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

21 years ago * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
dje [Tue, 1 Apr 2003 18:05:46 +0000 (18:05 +0000)]
    * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
        power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to
        imul_compare.  Add lmul_compare.
        * config/rs6000/power4.md: Bump some latencies.  Model extra cycle
        in second pair of dispatch slots.  Model stores more accurately.
        Tweak multiply model.  Add bypasses for CR instructions dependent
        on complicated compares.
        * config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns.
        (muldi3): Add lmul_compare patterns.
        * config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX
        and FPSTORE_UX to split instructions and add COMPARE,
        DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV.
        (rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE.
        (rs6000_rtx_costs): Separate POWER4 multiply case.

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

21 years ago * config/s390/s390.c (s390_fixup_clobbered_return_reg):
uweigand [Tue, 1 Apr 2003 17:32:33 +0000 (17:32 +0000)]
* config/s390/s390.c (s390_fixup_clobbered_return_reg):
Do nothing if __builtin_return_address was not used.

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

21 years ago * i386.md (test patterns): Allow memory operand in operand1.
hubicka [Tue, 1 Apr 2003 16:26:37 +0000 (16:26 +0000)]
* i386.md (test patterns):  Allow memory operand in operand1.

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

21 years ago * testsuite/gcc.c-torture/execute/simd-3.c: New.
aldyh [Tue, 1 Apr 2003 13:40:11 +0000 (13:40 +0000)]
    * testsuite/gcc.c-torture/execute/simd-3.c: New.

        * expr.c (expand_expr): Handle VECTOR_CST.
        (const_vector_from_tree): New.

        * varasm.c (output_constant): Handle VECTOR_CST.

        * c-typeck.c (digest_init): Build a vector constant from a
        VECTOR_TYPE.

        * config/rs6000/rs6000.c: Remove prototype for
        easy_vector_constant.
        (easy_vector_constant): Add mode parameter.  Rewrite to handle
        more easy constants.
        (rs6000_emit_move): Pass mode to easy_vector_constant.
        Call emit_easy_vector_insn for SPE V2SI vector constant moves.
        (emit_easy_vector_insn): New.
        (easy_vector_same): New.
        (EASY_VECTOR_15): New macro.
        (EASY_VECTOR_15_ADD_SELF): New macro.
        (bdesc_2arg): Rename to xorv2si3.
        (easy_vector_constant_add_self): New.
        (input_operand): Allow vector constants.

        * config/rs6000/rs6000.h (PREDICATE_CODES): Add
        easy_vector_constant, easy_vector_constant_add_self.
        (EXTRA_CONSTRAINT): Add 'W'.

        * config/rs6000/rs6000-protos.h: Add prototype for
        easy_vector_constant, emit_easy_vector_insn.

        * config/rs6000/altivec.md (xorv8hi3): New.
        (xorv16qi3): New.
        Remove all _const0 patterns.
        (movv4si_internal): Rewrite to use code.  Add vector constant to
        vector alternative.  Add splitter.
        (movv8hi_internal): Same.
        (movv16qi_internal): Same.
        (movv4sf_internal): Same.
        Change the unspecs for vspltis* to use constants.

        * config/rs6000/spe.md ("xorv4hi3"): New.
        ("spe_evxor"): Rename to xorv2si3.
        ("xorv1di3"): New.
        Remove all _const0 patterns.
        (movv2si_internal): Rewrite to use code.  Add vector constant to
        alternatives.  Add splitter.
        (movv4hi_internal): Add vector constant to alternatives.
        (movv1di_internal): Same.
        (movv2sf_internal): Same.

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

21 years ago PR c/9936
mmitchel [Tue, 1 Apr 2003 07:35:11 +0000 (07:35 +0000)]
PR c/9936
* c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for
variably-sized arrays in parameters.
(set_save_expr_context): New function.
(c_expand_body): Use it, via walk_tree.

PR c/9936
* gcc.dg/20030331-2.c: New test.

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

21 years agoDaily bump.
gccadmin [Tue, 1 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-03-31 Eric Christopher <echristo@redhat.com>
echristo [Mon, 31 Mar 2003 22:16:54 +0000 (22:16 +0000)]
2003-03-31  Eric Christopher  <echristo@redhat.com>

* combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART.
(combinable_i3pat): Remove call to expand_field_assignment and
#if 0'd code.

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

21 years ago PR c++/10278
mmitchel [Mon, 31 Mar 2003 21:42:47 +0000 (21:42 +0000)]
PR c++/10278
* c-common.c (finish_label_address_expr): Handle the
error_mark_node.

PR c++/10278
* g++.dg/parse/crash2.C: New test.

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

21 years ago PR ada/10020
bosch [Mon, 31 Mar 2003 21:13:23 +0000 (21:13 +0000)]
PR ada/10020
* link.c : Fix misspelled "const" keyword

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

21 years ago * real.c (real_identical): Reorg so as to not compare
rth [Mon, 31 Mar 2003 21:02:10 +0000 (21:02 +0000)]
    * real.c (real_identical): Reorg so as to not compare
        signalling for normals.

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

21 years ago * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
ciceron [Mon, 31 Mar 2003 20:59:19 +0000 (20:59 +0000)]
* config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.

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

21 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
ciceron [Mon, 31 Mar 2003 20:39:44 +0000 (20:39 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
notes as they are boggus.
(m68hc11_gen_movqi): Likewise.

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

21 years ago * gcc.c-torture/compile/20030331-1.c: New test, moved from...
rsandifo [Mon, 31 Mar 2003 20:32:14 +0000 (20:32 +0000)]
* gcc.c-torture/compile/20030331-1.c: New test, moved from...
* gcc.c-torture/execute/20030331-1.c: ...here.

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

21 years ago * config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
ciceron [Mon, 31 Mar 2003 20:28:40 +0000 (20:28 +0000)]
* config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
save the soft registers after the frame pointer so that gdb can unwind
the frame more easily.
(expand_epilogue): Likewise in opposite order; allow to use X register
as scratch if the return value is by reference.

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

21 years ago PR java/10145
jason [Mon, 31 Mar 2003 20:25:11 +0000 (20:25 +0000)]
    PR java/10145
        * stor-layout.c (update_alignment_for_field): Respect
        DECL_USER_ALIGN for zero-length bitfields, too.
        * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
        fields.
        * cp/class.c (check_field_decl): Don't set DECL_ALIGN.

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

21 years ago * gcc.c-torture/execute/20030331-1.c: New test.
rsandifo [Mon, 31 Mar 2003 20:24:51 +0000 (20:24 +0000)]
* gcc.c-torture/execute/20030331-1.c: New test.

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

21 years ago * cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
austern [Mon, 31 Mar 2003 20:02:40 +0000 (20:02 +0000)]
* cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
(count_defs): Keep track of number of defs as well as total size.
(write_defs): Put every definition in cpp_savedstate's defs array.
(comp_hashnode): Define.  Comparison function for qsort.
(cpp_write_pch_deps): Sort definitions before writing them.
(struct ht_node_list): Define. Like cpp_savedstate but simpler.
(collect_ht_nodes): Define.
(cpp_valid_state): When verifying that undefined identifiers in
the pch file are still undefined, read a sorted list of undefined
identifiers, collect all defined identifiers into a sorted list,
and walk through both lists to make sure there's no match.

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

21 years ago * config/h8300/h8300.md (a peephole2): New.
kazu [Mon, 31 Mar 2003 19:06:29 +0000 (19:06 +0000)]
* config/h8300/h8300.md (a peephole2): New.

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

21 years ago * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0.
matz [Mon, 31 Mar 2003 18:33:34 +0000 (18:33 +0000)]
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0.

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

21 years ago2003-03-31 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 31 Mar 2003 18:24:13 +0000 (18:24 +0000)]
2003-03-31  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_out_buf_size()): Remove.
* include/bits/fstream.tcc (_M_allocate_internal_buffer):
Don't set _M_out_end.
(basic_filebuf::overflow): Replace _M_out_buf_size() with
this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
* include/bits/sstream.tcc (basic_stringbuf::overflow):
Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
* include/bits/streambuf.tcc (basic_streambuf::sputc):
Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
(basic_streambuf::xsputn): Replace _M_out_buf_size() with
_M_out_end - _M_out_cur.
(__copy_streambufs): Likewise.
* include/std/std_fstream.h (_M_set_determinate): Set
_M_out_end here.

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

21 years ago2002-03-31 Segher Boessenkool <segher@koffie.nl>
aldyh [Mon, 31 Mar 2003 17:46:57 +0000 (17:46 +0000)]
2002-03-31  Segher Boessenkool  <segher@koffie.nl>

        PR target/10177
        * config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New.
        * config/rs6000/rs6000.c (compute_vrsave_mask):
        Don't mark all call-clobbered registers as used.

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

21 years ago * cppexp.c (cpp_classify_number): Accept '.' after "0x".
matz [Mon, 31 Mar 2003 15:50:53 +0000 (15:50 +0000)]
* cppexp.c (cpp_classify_number): Accept '.' after "0x".
* testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file.

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

21 years ago * gcov.c: Add -a & -u options.
nathan [Mon, 31 Mar 2003 15:18:24 +0000 (15:18 +0000)]
* gcov.c: Add -a & -u options.
(struct arc_info): Add local_span, is_call_non_return,
is_nonlocal_return, is_unconditional flags, remove is_call flag.
(struct block_info): Add flags, is_call_site, is_nonlocal_return
members. Make encodings a union with span member.
(struct function_info): Add blocks_executed, line, src, line_next
members.
(struct coverage_info): Make branches a union with blocks member.
(struct source_info): Add functions member.
(object_summary, program_count): New global variables.
(flag_all_blocks, flag_unconditional): New flags.
(find_source, output_branch_count): New functions.
(print_usage): Adjust.
(options): Adjust.
(process_args): Adjust.
(read_graph_file) <GCOV_TAG_FUNCTION>: Adjust.
<GCOV_TAG_BLOCKS>: Read flags.
<GCOV_TAG_LINES>: Adjust.
(read_count_file): Process SUMMARY tags.
(solve_flow_graph): Set is_unconditional and clear is_call_site
appropriately.
(add_branch_counts): Adjust. Don't count unconditional branches.
(add_line_counts): Deal with all-blocks mode, accumulate block
coverage.
(accumulate_line_counts): Adjust, generate local spanning tree for
all-blocks mode.
(output_lines): Adjust.
* profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record.
* doc/gcov.texi: Document.
testsuite:
* lib/gcov.exp: Adjust call return testing strings.
* g77.dg/gcov/gcov-1.f: Don't expect unconditional branches.

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

21 years ago * config/h8300/h8300.md: Organize peephole2's that trasform
kazu [Mon, 31 Mar 2003 14:44:12 +0000 (14:44 +0000)]
* config/h8300/h8300.md: Organize peephole2's that trasform
(compare (reg:HI) (const_int)).

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

21 years ago * emit-rtl.c (dconstm2, dconsthalf): New real constants.
sayle [Mon, 31 Mar 2003 14:30:29 +0000 (14:30 +0000)]
* emit-rtl.c (dconstm2, dconsthalf): New real constants.
(init_emit_once): Initialize dconstm2 and dconsthalf here.
* real.h (dconstm2, dconsthalf): Add prototypes here.
* real.c (real_sqrt): Use dconsthalf rather than local copy.
* builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as
exp(x/2.0) remember to fold the division if possible.
Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x,
pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as
1.0/(x*x) and pow(x,0.5) as sqrt(x).

* gcc.dg/builtins-3.c: Add new tests for sin and cos.
* gcc.dg/builtins-7.c: New test case.
* gcc.dg/builtins-8.c: New test case.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 12:19:21 +0000 (12:19 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractAction.java
(AbstractAction): Reformatted.
(serialVersionUID): New private member variable.
* javax/swing/plaf/BorderUIResource.java
(serialVersionUID): New private member variable.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(serialVersionUID): New private member variable.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 12:14:53 +0000 (12:14 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/sql/Date.java
(valueOf): Deprecated, reformatted.
(toString): Deprecated, reformatted.
* java/sql/Time.java
(valueOf): Deprecated, reformatted.
(toString): Deprecated, reformatted.

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

21 years agoRemoved wrong changelog entry
mkoch [Mon, 31 Mar 2003 11:23:08 +0000 (11:23 +0000)]
Removed wrong changelog entry

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 11:22:03 +0000 (11:22 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/rmi/dgc/VMID.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LoaderHandler.java,
java/rmi/server/LogStream.java,
java/rmi/server/Operation.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteStub.java,
java/rmi/server/Skeleton.java:
New version from libgcj.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 11:07:24 +0000 (11:07 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/rmi/dgc/VMID.java
(isUnique): Deprecated.

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

21 years ago * config/h8300/h8300.md (a new peephole2): New.
kazu [Mon, 31 Mar 2003 10:18:29 +0000 (10:18 +0000)]
* config/h8300/h8300.md (a new peephole2): New.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 10:15:48 +0000 (10:15 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/io/File.java
(separator): Merged documentation from classpath.
(separatorChar): Merged documentation from classpath.
(pathSeparator): Merged documentation from classpath.
(pathSeparatorChar): Merged documentation from classpath.
(path): Merged documentation from classpath.
(canRead): Merged documentation from classpath.
(canWrite): Merged documentation from classpath.
(createNewFile): Merged documentation from classpath.
(delete): Merged documentation from classpath.
(equals): Merged documentation from classpath.
(exists): Merged documentation from classpath.
(File): Renamed p to name to match classpath, merged documentation
from classpath.
(getAbsolutePath): Merged documentation from classpath.
(getCanonicalPath): Merged documentation from classpath.
(getCanonicalFile): Merged documentation from classpath.
(getName): Merged documentation from classpath.
(getParent): Merged documentation from classpath.
(getParentFile): Merged documentation from classpath.
(getPath): Merged documentation from classpath.
(hashCode): Merged documentation from classpath.
(isAbsolute): Merged documentation from classpath.
(isDirectory): Merged documentation from classpath.
(isFile): Merged documentation from classpath.
(isHidden): Merged documentation from classpath.
(lastModified): Merged documentation from classpath.
(length): Merged documentation from classpath.
(list): Merged documentation from classpath.
(listFiles): Merged documentation from classpath.
(toString): Merged documentation from classpath.
(toURL): Merged documentation from classpath.
(mkdir): Merged documentation from classpath.
(mkdirs): Merged documentation from classpath.
(createTempFile): Merged documentation from classpath.
(setReadOnly): Merged documentation from classpath.
(listRoots): Merged documentation from classpath.
(compareTo): Merged documentation from classpath.
(renameTo): Merged documentation from classpath.
(setLastModified): Merged documentation from classpath.
* java/io/PrintStream.java
(auto_flush): Merged documentation from classpath.
(PrintStream): Merged documentation from classpath.
(checkError): Merged documentation from classpath.
(setError): Merged documentation from classpath.
(close): Merged documentation from classpath.
(flush): Merged documentation from classpath.
(print): Merged documentation from classpath.
(println):  Merged documentation from classpath.
(write): Renamed count to len to match classpath,
merged documentation from classpath.
* java/io/RandomAccessFile.java
(readShort): Merged documentation from classpath.
(readUnsignedByte): Merged documentation from classpath.
(readUnsignedShort): Merged documentation from classpath.
(readUTF): Merged documentation from classpath.
(seek): Reformatted, merged documentation from classpath.
(skipBytes): Renamed some variables to match classpath, reformatted,
merged documentation from classpath.
(write): Merged documentation from classpath.
(writeBoolean): Merged documentation from classpath.
(writeByte): Merged documentation from classpath.
(writeShort): Merged documentation from classpath.
(writeChar): Merged documentation from classpath.
(writeInt): Merged documentation from classpath.
(writeLong): Merged documentation from classpath.
(writeFloat): Merged documentation from classpath.
(writeDouble): Merged documentation from classpath.
(writeBytes): Merged documentation from classpath.
(writeChars): Merged documentation from classpath.
(writeUTF): Reformatted.
(getChannel): Reformatted.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 09:55:09 +0000 (09:55 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/awt/font/TextAttribute.java
(readResolve): Throws java.io.InvalidObjectException.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 06:49:33 +0000 (06:49 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/rmi/server/LoaderHandler.java
(loadClass): Deprecated.
(getSecurityContext): Deprecated.
* java/rmi/server/LogStream.java
(getDefaultStream): Deprecated.
(setDefaultStream): Deprecated.
(getOutputStream): Deprecated.
(setOutputStream): Deprecated.
(write): Deprecated.
(toString): Deprecated.
(parseLevel): Deprecated.
* java/rmi/server/Operation.java
(Operation): Deprecated.
(getOperation): Deprecated.
(toString): Deprecated.
* java/rmi/server/RemoteCall.java
(getOutputStream): Deprecated.
(releaseOutputStream): Deprecated.
(getInputStream): Deprecated.
(releaseInputStream): Deprecated.
(getResultStream): Deprecated.
(executeCall): Deprecated.
(done): Deprecated.
* java/rmi/server/RemoteRef.java
(invoke): Deprecated.
(newCall): Deprecated.
(done): Deprecated.
* java/rmi/server/RemoteStub.java
(setRef): Deprecated.
* java/rmi/server/Skeleton.java:
No need to import java.lang.Exception explicitly.
(dispatch): Deprecated.
(getOperations): Deprecated.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 06:32:37 +0000 (06:32 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* java/rmi/dgc/VMID.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LogStream.java,
java/rmi/server/Operation.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteStub.java:
Reformatted.

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

21 years ago2003-03-31 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 31 Mar 2003 06:30:01 +0000 (06:30 +0000)]
2003-03-31  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
javax/swing/ActionMap.java,
javax/swing/BorderFactory.java,
javax/swing/ButtonGroup.java,
javax/swing/DefaultBoundedRangeModel.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultCellEditor.java,
javax/swing/DefaultComboBoxModel.java,
javax/swing/DefaultDesktopManager.java,
javax/swing/DefaultListCellRenderer.java,
javax/swing/DefaultSingleSelectionModel.java,
javax/swing/InputMap.java,
javax/swing/JComponent.java,
javax/swing/JMenu.java,
javax/swing/JSlider.java,
javax/swing/KeyStroke.java,
javax/swing/OverlayLayout.java,
javax/swing/ScrollPaneLayout.java,
javax/swing/SizeRequirements.java,
javax/swing/UIManager.java,
javax/swing/ViewportLayout.java,
javax/swing/border/AbstractBorder.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/EventListenerList.java,
javax/swing/table/AbstractTableModel.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/table/DefaultTableColumnModel.java,
javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableColumn.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/DefaultTreeModel.java,
javax/swing/tree/DefaultTreeSelectionModel.java,
javax/swing/tree/TreePath.java,
javax/swing/undo/AbstractUndoableEdit.java,
javax/swing/undo/StateEdit.java,
javax/swing/undo/StateEditable.java,
javax/swing/undo/UndoableEditSupport.java:
Merges from classpath.

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

21 years ago * gcse.c (simple_mem): Return false for floating-point accesses
rsandifo [Mon, 31 Mar 2003 06:28:56 +0000 (06:28 +0000)]
* gcse.c (simple_mem): Return false for floating-point accesses
if flag_float_store is true.

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