]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agoloop.c (loop_ivs_free): New function.
Michael Hayes [Mon, 1 Jan 2001 00:53:38 +0000 (00:53 +0000)]
loop.c (loop_ivs_free): New function.

* loop.c (loop_ivs_free): New function.
(strength_reduce): Break out from...

From-SVN: r38583

23 years agoloop.h (struct iv): New.
Michael Hayes [Mon, 1 Jan 2001 00:49:30 +0000 (00:49 +0000)]
loop.h (struct iv): New.

* loop.h (struct iv): New.
(REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
(struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
'reg_biv_class' fields with 'regs' and 'n_regs'.
(struct ivs): Rename 'loop_iv_list' field to 'list'.
* loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
* unroll.c (loop_iterations): Check array bounds with ivs->n_regs.

From-SVN: r38582

23 years agoresource.c (mark_referenced_resources): Abort() before attempting to mark a pseudo...
Alexandre Oliva [Mon, 1 Jan 2001 00:43:16 +0000 (00:43 +0000)]
resource.c (mark_referenced_resources): Abort() before attempting to mark a pseudo register.

* resource.c (mark_referenced_resources): Abort() before
attempting to mark a pseudo register.
(mark_set_resources): Likewise.

From-SVN: r38581

23 years agoloop.h (REG_IV_CLASS): New accessor macro.
Michael Hayes [Mon, 1 Jan 2001 00:37:09 +0000 (00:37 +0000)]
loop.h (REG_IV_CLASS): New accessor macro.

* loop.h (REG_IV_CLASS): New accessor macro.
* loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
* unroll.c (REG_IV_CLASS): Likewise.

From-SVN: r38580

23 years agodwarf2out.c (loc_descriptor_from_tree, [...]): New.
Richard Kenner [Mon, 1 Jan 2001 00:27:11 +0000 (00:27 +0000)]
dwarf2out.c (loc_descriptor_from_tree, [...]): New.

* dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
(loc_descriptor_from_tree, case SAVE_EXPR): New.

From-SVN: r38579

23 years agoloop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
Michael Hayes [Mon, 1 Jan 2001 00:24:46 +0000 (00:24 +0000)]
loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.

* loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
(loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
(prescan_loop): Set pre_header_has_call in loop_info.
* loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
(struct loop_info): Add `pre_header_has_call'.

From-SVN: r38578

23 years agoloop.c (loop_bivs_find): Break out from strength_reduce.
Michael Hayes [Mon, 1 Jan 2001 00:21:14 +0000 (00:21 +0000)]
loop.c (loop_bivs_find): Break out from strength_reduce.

* loop.c (loop_bivs_find): Break out from strength_reduce.
(loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
(loop_givs_check, loop_biv_eliminable_p): Likewise.

From-SVN: r38577

23 years agoloop.c (LOOP_REG_LIFETIME, [...]): Define.
Michael Hayes [Mon, 1 Jan 2001 00:17:45 +0000 (00:17 +0000)]
loop.c (LOOP_REG_LIFETIME, [...]): Define.

* loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
(scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.

From-SVN: r38576

23 years agoloop.h (REGNO_FIRST_LUID, [...]): Define.
Michael Hayes [Mon, 1 Jan 2001 00:14:30 +0000 (00:14 +0000)]
loop.h (REGNO_FIRST_LUID, [...]): Define.

* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
* loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
direct access to uid_luid array.
* unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.

From-SVN: r38575

23 years ago* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
Alexandre Oliva [Mon, 1 Jan 2001 00:06:50 +0000 (00:06 +0000)]
* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.

From-SVN: r38574

23 years agoloop.h (struct loop_movables): New.
Michael Hayes [Mon, 1 Jan 2001 00:03:17 +0000 (00:03 +0000)]
loop.h (struct loop_movables): New.

* loop.h (struct loop_movables): New.
(LOOP_MOVABLES): New.
(struct loop_info): Add movables field.
* loop.c (struct movables): Delete.  Replace all uses
with struct loop_movables.
(the_movables): Delete.  Replace all uses with movables
field in loop_info.
(loop_movables_add, loop_movables_free): New functions.
(scan_loop): Use xmalloc instead of alloca for movables.
Call loop_movables_free.

From-SVN: r38573

23 years ago* loop.c (debug_loops): New.
Michael Hayes [Sun, 31 Dec 2000 23:58:39 +0000 (23:58 +0000)]
* loop.c (debug_loops): New.

From-SVN: r38572

23 years agoAdd missing operands to asm statement.
Philip Blundell [Sun, 31 Dec 2000 17:27:12 +0000 (17:27 +0000)]
Add missing operands to asm statement.

From-SVN: r38571

23 years agoDaily bump.
Jeff Law [Sun, 31 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38570

23 years agodbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
Richard Henderson [Sun, 31 Dec 2000 07:22:28 +0000 (23:22 -0800)]
dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.

        * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
        Initialize variables properly for DBX_LBRAC_FIRST.

From-SVN: r38569

23 years ago* expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
Richard Kenner [Sun, 31 Dec 2000 01:53:54 +0000 (01:53 +0000)]
* expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.

From-SVN: r38568

23 years agoOops, fix style nit.
Kaveh Ghazi [Sat, 30 Dec 2000 18:16:16 +0000 (18:16 +0000)]
Oops, fix style nit.

From-SVN: r38567

23 years ago* builtins.c (validate_arglist): New function, use it.
Kaveh R. Ghazi [Sat, 30 Dec 2000 18:15:04 +0000 (18:15 +0000)]
* builtins.c (validate_arglist): New function, use it.

From-SVN: r38566

23 years agoRemove COFF support from i?86-pc-sco3.2v5.
Robert Lipe [Sat, 30 Dec 2000 17:14:52 +0000 (17:14 +0000)]
Remove COFF support from i?86-pc-sco3.2v5.

2000-12-29  Robert Lipe <robertl@sco.com>

        Remove COFF support from i?86-pc-sco3.2v5.
        * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
        (TARGET_ELF): Now always true.
        (SUBTARGET_SWTICHES: )Remove -mcoff.

        * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
        MULTILIB_EXCEPTION): Nuke coff.
        (CRTSTUFF_T_CFLAGS_S):  Deleted.
        (TARGET_LIBGCC2_CFLAGS): Added.

From-SVN: r38565

23 years ago20001009-2.c (foo): Test only works for signed char, not default char.
Jeffrey Oldham [Sat, 30 Dec 2000 16:59:52 +0000 (16:59 +0000)]
20001009-2.c (foo): Test only works for signed char, not default char.

2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>

* gcc.c-torture/execute/20001009-2.c (foo): Test only works for
signed char, not default char.

From-SVN: r38564

23 years agocrash18.C: Fails on mips*-sgi-irix*.
Jeffrey Oldham [Sat, 30 Dec 2000 16:47:17 +0000 (16:47 +0000)]
crash18.C: Fails on mips*-sgi-irix*.

2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>

* g++.old-deja/g++.other/crash18.C: Fails on mips*-sgi-irix*.

From-SVN: r38563

23 years agoFix typos.
Philip Blundell [Sat, 30 Dec 2000 16:34:00 +0000 (16:34 +0000)]
Fix typos.

From-SVN: r38562

23 years agodefaults.h (BUILD_VA_LIST_TYPE): New definition.
Jeffrey Oldham [Sat, 30 Dec 2000 15:31:49 +0000 (15:31 +0000)]
defaults.h (BUILD_VA_LIST_TYPE): New definition.

2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>

* defaults.h (BUILD_VA_LIST_TYPE): New definition.
* tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
is a copy, not an alias.

From-SVN: r38561

23 years ago* calls.c (calls_function_1, case CONSTRUCTOR): New case.
Richard Kenner [Sat, 30 Dec 2000 14:52:15 +0000 (14:52 +0000)]
* calls.c (calls_function_1, case CONSTRUCTOR): New case.

From-SVN: r38560

23 years agoalias.c (alias_sets_conflict_p): New function.
Richard Kenner [Sat, 30 Dec 2000 13:10:51 +0000 (13:10 +0000)]
alias.c (alias_sets_conflict_p): New function.

* alias.c (alias_sets_conflict_p): New function.
(mems_in_disjoint_alias_sets_p): Use it.
(readonly_fields_p): Moved from expr.c; check for record type.
(objects_must_conflict_p): New function.
* calls.c (expand_call): Use assign_temp as much as possible, use
readonly variant if assigned once, and don't set memory attributes.
(emit_library_call_value_1, store_one_arg): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (expand_asm_operands, expand_return): Likewise.
* expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
(store_field, save_noncopied_parts, expand_expr): Likewise.
(expand_expr_unaligned): Likewise.
(readonly_fields_p): Moved to alias.c.
(safe_from_p): Rework handling of SAVE_EXPR.
MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
* function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
(assign_stack_for_temp): Use objects_must_confict_p.
Set all memory attributes from type, if specified.
(mark_temp_slot): Mark TYPE field.
* tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
(objects_must_conflict_p): Likewise.

* stmt.c (expand_decl): Don't use assign_stack_temp in error case.
(add_case_node): No need to copy nodes anymore.

From-SVN: r38559

23 years agoForgot these in last commit.
Bryce McKinlay [Sat, 30 Dec 2000 12:22:15 +0000 (12:22 +0000)]
Forgot these in last commit.

From-SVN: r38558

23 years agoFor boehm-gc:
Bryce McKinlay [Sat, 30 Dec 2000 12:18:39 +0000 (12:18 +0000)]
For boehm-gc:

* configure.in: Rename THREADLIB to THREADLIBS.
* Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
ensures that we link the correct version of the linuxthreads semaphore
functions.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

* linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
list of signals which are not blocked during suspend in the NO_SIGNALS
case.

For libjava:
* Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that
the correct versions of various linuxthreads functions get linked.
* Makefile.in: Rebuilt.
* java/lang/natThread.cc (finalize_native): New static function. Call
_Jv_ThreadDestroyData.
(initialize_native): Register finalizer for "data".
* include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype.
(_Jv_ThreadDestroyData): New prototype.
* include/win32-threads.h: Ditto.
* include/no-threads.h: Ditto.
* posix-threads.cc (_Jv_ThreadInitData): Implement new prototype.
(_Jv_ThreadDestroyData): New function. Free native thread "data" and
move mutex and condition variable destroy code from:
(really_start): ...here.
(_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED.
* win32-threads.cc (_Jv_ThreadInitData): Implement new prototype.
(_Jv_ThreadDestroyData): Implemented.
* nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t".
(_Jv_AllocArray): Ditto.

From-SVN: r38557

23 years ago* MAINTAINERS: Add myself as avr port co-maintainer.
Marek Michalkiewicz [Sat, 30 Dec 2000 11:56:57 +0000 (12:56 +0100)]
* MAINTAINERS: Add myself as avr port co-maintainer.

From-SVN: r38556

23 years agoDaily bump.
Jeff Law [Sat, 30 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38555

23 years agosh.c (split_branches): Don't dereference re-computed `beyond' before checking it...
Alexandre Oliva [Sat, 30 Dec 2000 07:53:35 +0000 (07:53 +0000)]
sh.c (split_branches): Don't dereference re-computed `beyond' before checking it's non-NULL.

* config/sh/sh.c (split_branches): Don't dereference re-computed
`beyond' before checking it's non-NULL.

From-SVN: r38554

23 years ago* lib/g++.exp: Use sh to exec ${odir_v3}/tests_flags
David Billinghurst [Fri, 29 Dec 2000 22:25:57 +0000 (22:25 +0000)]
* lib/g++.exp:  Use sh to exec ${odir_v3}/tests_flags

From-SVN: r38553

23 years agoRemove COFF support from i?86-pc-sco3.2v5.
Robert Lipe [Fri, 29 Dec 2000 22:15:03 +0000 (22:15 +0000)]
Remove COFF support from i?86-pc-sco3.2v5.

        * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
        (TARGET_ELF): Now always true.
        (SUBTARGET_SWTICHES: )Remove -mcoff.

        * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
        MULTILIB_EXCEPTION): Nuke coff.
        (CRTSTUFF_T_CFLAGS_S):  Deleted.
        (TARGET_LIBGCC2_CFLAGS): Added.

From-SVN: r38552

23 years agovarasm.c (output_constant_def): Don't ENCODE_SECTION_INFO twice.
Alexandre Oliva [Fri, 29 Dec 2000 20:34:20 +0000 (20:34 +0000)]
varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO twice.

* varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
twice.  Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
modifies them.

From-SVN: r38551

23 years agofnmatch.c: Make the note about the origins of this file more accurate...
DJ Delorie [Fri, 29 Dec 2000 19:37:03 +0000 (14:37 -0500)]
fnmatch.c: Make the note about the origins of this file more accurate...

* fnmatch.c: Make the note about the origins of this file more
accurate, at least until we can sync with glibc.
* getopt.c: Ditto.
* getopt1.c: Ditto.
* md5.c: Ditto.
* obstack.c: Ditto.

From-SVN: r38550

23 years agoImprove alias analysis on ia64
Bernd Schmidt [Fri, 29 Dec 2000 18:18:50 +0000 (18:18 +0000)]
Improve alias analysis on ia64

From-SVN: r38549

23 years agoAdd a comment
Bernd Schmidt [Fri, 29 Dec 2000 17:52:57 +0000 (17:52 +0000)]
Add a comment

From-SVN: r38548

23 years agoCompute REG_N_SETS for ORIGINAL_REGNOs.
Bernd Schmidt [Fri, 29 Dec 2000 17:48:08 +0000 (17:48 +0000)]
Compute REG_N_SETS for ORIGINAL_REGNOs.

From-SVN: r38547

23 years agoIntroduce ORIGINAL_REGNO macro
Bernd Schmidt [Fri, 29 Dec 2000 17:35:57 +0000 (17:35 +0000)]
Introduce ORIGINAL_REGNO macro

From-SVN: r38546

23 years agotree.c (get_set_constructor_bits): Use host_integerp and tree_low_cst.
Richard Kenner [Fri, 29 Dec 2000 17:18:22 +0000 (17:18 +0000)]
tree.c (get_set_constructor_bits): Use host_integerp and tree_low_cst.

* tree.c (get_set_constructor_bits): Use host_integerp and
tree_low_cst.

From-SVN: r38545

23 years ago* decl.c (init_decl_processing): Fix sign of wchar_type_node.
Jakub Jelinek [Fri, 29 Dec 2000 14:43:24 +0000 (15:43 +0100)]
* decl.c (init_decl_processing): Fix sign of wchar_type_node.

From-SVN: r38537

23 years agolocal-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
Richard Kenner [Fri, 29 Dec 2000 13:13:42 +0000 (13:13 +0000)]
local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.

2000-12-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.

*** local-alloc.c 2000/11/30 21:40:33 1.75
--- local-alloc.c 2000/12/29 13:10:59
*************** update_equiv_regs ()
*** 1141,1146 ****
     rtx new_insn;

!    new_insn = emit_insn_before (copy_rtx (PATTERN (equiv_insn)),
!         insn);
     REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn);
     REG_NOTES (equiv_insn) = 0;
--- 1141,1145 ----
     rtx new_insn;

!    new_insn = emit_insn_before (PATTERN (equiv_insn), insn);
     REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn);
     REG_NOTES (equiv_insn) = 0;

From-SVN: r38536

23 years agotoplev.c (main): Call xmalloc_set_program_name.
Richard Kenner [Fri, 29 Dec 2000 13:09:35 +0000 (13:09 +0000)]
toplev.c (main): Call xmalloc_set_program_name.

* toplev.c (main): Call xmalloc_set_program_name.
* gcc.c (main): Likewise.

From-SVN: r38535

23 years agoFix typo.
Philip Blundell [Fri, 29 Dec 2000 12:49:37 +0000 (12:49 +0000)]
Fix typo.

From-SVN: r38534

23 years agoNew test.
Richard Henderson [Fri, 29 Dec 2000 11:57:30 +0000 (03:57 -0800)]
New test.

From-SVN: r38533

23 years agoalpha.c (alpha_expand_block_move): Initialize src_align and dst_align in bits.
Richard Henderson [Fri, 29 Dec 2000 11:51:01 +0000 (03:51 -0800)]
alpha.c (alpha_expand_block_move): Initialize src_align and dst_align in bits.

        * config/alpha/alpha.c (alpha_expand_block_move): Initialize
        src_align and dst_align in bits.  Do unaligned quadword loads
        if possible for BWX too.
        (alpha_expand_block_clear): Initialize align in bits.  Track
        small leading offsets into a larger alignment.  Play games with
        stq_u for large 4-byte aligned blocks.  Use load/mask/store
        for appropreately aligned heads and tails.

From-SVN: r38532

23 years ago20001117-1.c (__cyg_profile_func_enter): Define.
Richard Henderson [Fri, 29 Dec 2000 09:27:22 +0000 (01:27 -0800)]
20001117-1.c (__cyg_profile_func_enter): Define.

        * gcc.dg/20001117-1.c (__cyg_profile_func_enter): Define.
        (__cyg_profile_func_exit): Define.

From-SVN: r38531

23 years agoclass.c (pushclass): Remove #if 0'd code.
Mark Mitchell [Fri, 29 Dec 2000 09:20:46 +0000 (09:20 +0000)]
class.c (pushclass): Remove #if 0'd code.

* class.c (pushclass): Remove #if 0'd code.
* cp-tree.h (overload_template_name): Remove.
* decl.c (store_bindings): Simplify.
(pop_from_top_level): Likewise.
* pt.c (overload_template_name): Remove.
(instantiate_decl): Don't call push_to_top_level if it's not
needed.

From-SVN: r38530

23 years agoDaily bump.
Jeff Law [Fri, 29 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38529

23 years agofunction.c (assign_parms): Convert arguments passed by reference to the right mode.
Alexandre Oliva [Fri, 29 Dec 2000 08:38:19 +0000 (08:38 +0000)]
function.c (assign_parms): Convert arguments passed by reference to the right mode.

* function.c (assign_parms): Convert arguments passed by
reference to the right mode.

From-SVN: r38528

23 years agoc-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a...
Geoffrey Keating [Fri, 29 Dec 2000 08:27:40 +0000 (08:27 +0000)]
c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement...

2000-12-28  Geoffrey Keating  <geoffk@redhat.com>

* c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
on the condition of a FOR statement, so that it gets typechecked
and optimised.

2000-12-28  Geoffrey Keating  <geoffk@redhat.com>

* gcc.dg/noncompile/20001228-1.c: New test.

From-SVN: r38527

23 years agoc-decl.c (grokdeclarator): Prevent crash in case of overflow in array size.
Alexandre Oliva [Fri, 29 Dec 2000 08:03:56 +0000 (08:03 +0000)]
c-decl.c (grokdeclarator): Prevent crash in case of overflow in array size.

* c-decl.c (grokdeclarator): Prevent crash in case of overflow in
array size.

From-SVN: r38526

23 years agoAdd comment
Mark Mitchell [Fri, 29 Dec 2000 06:09:44 +0000 (06:09 +0000)]
Add comment

From-SVN: r38525

23 years agopt.c (register_local_specialization): Don't return a value.
Mark Mitchell [Fri, 29 Dec 2000 06:08:00 +0000 (06:08 +0000)]
pt.c (register_local_specialization): Don't return a value.

* pt.c (register_local_specialization): Don't return a value.
(lookup_template_class): Use move-to-front heuristic when looking
up template instantiations.
(instantiate_decl): Only push_to_top_level when we're actually
going to instantiate the template.

From-SVN: r38524

23 years agocalls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to...
Alexandre Oliva [Fri, 29 Dec 2000 04:36:00 +0000 (04:36 +0000)]
calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference.

* calls.c (emit_library_call_value_1): Add to call_fusage the
stack slot assigned to argument passed by reference.

From-SVN: r38523

23 years ago* g++.dg/vtgc1.C: New test.
Hans-Peter Nilsson [Fri, 29 Dec 2000 02:57:08 +0000 (02:57 +0000)]
* g++.dg/vtgc1.C: New test.

From-SVN: r38522

23 years agosearch.c (binfo_for_vtable): Return least derived class, not most.
Hans-Peter Nilsson [Fri, 29 Dec 2000 02:41:05 +0000 (02:41 +0000)]
search.c (binfo_for_vtable): Return least derived class, not most.

* search.c (binfo_for_vtable): Return least derived class, not
most.  Handle secondary vtables.

From-SVN: r38521

23 years agotoplev.h (extern really_sorry): Remove extern declaration for nonexistent function.
Jeffrey Oldham [Fri, 29 Dec 2000 01:45:53 +0000 (01:45 +0000)]
toplev.h (extern really_sorry): Remove extern declaration for nonexistent function.

2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>

* toplev.h (extern really_sorry): Remove extern declaration for
        nonexistent function.

From-SVN: r38520

23 years agoAlan forgot his name...
Geoffrey Keating [Thu, 28 Dec 2000 23:58:29 +0000 (23:58 +0000)]
Alan forgot his name...

From-SVN: r38519

23 years ago* gcc.dg/20001228-1.c: New test.
Geoffrey Keating [Thu, 28 Dec 2000 23:56:49 +0000 (23:56 +0000)]
* gcc.dg/20001228-1.c: New test.

From-SVN: r38518

23 years ago* gcc.c-torture/execute/20001228-1.c: New test.
Geoffrey Keating [Thu, 28 Dec 2000 23:50:38 +0000 (23:50 +0000)]
* gcc.c-torture/execute/20001228-1.c: New test.

From-SVN: r38517

23 years agoDriverManager.java (getConnection): Don't set user/password properties if null.
Jeff Sturm [Thu, 28 Dec 2000 22:21:36 +0000 (22:21 +0000)]
DriverManager.java (getConnection): Don't set user/password properties if null.

2000-12-27  Jeff Sturm  <jeff.sturm@commerceone.com>

* java/sql/DriverManager.java (getConnection): Don't set
user/password properties if null.

From-SVN: r38516

23 years agojartool.c (MAXPATHLEN): Provide if not defined.
Robert Lipe [Thu, 28 Dec 2000 21:47:37 +0000 (21:47 +0000)]
jartool.c (MAXPATHLEN): Provide if not defined.

2000-12-28  Robert Lipe <robertl@sco.com>

        * jartool.c (MAXPATHLEN): Provide if not defined.

From-SVN: r38515

23 years agovarasm.c (initializer_constant_valid_p): Indicate subtraction of pointers to the...
Jeffrey Oldham [Thu, 28 Dec 2000 19:35:56 +0000 (19:35 +0000)]
varasm.c (initializer_constant_valid_p): Indicate subtraction of pointers to the same string constant is absolute.

2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>

* varasm.c (initializer_constant_valid_p): Indicate subtraction of
pointers to the same string constant is absolute.

From-SVN: r38514

23 years agotest_summary: Export filesuffix, not fileprefix.
Jeffrey Oldham [Thu, 28 Dec 2000 19:28:11 +0000 (19:28 +0000)]
test_summary: Export filesuffix, not fileprefix.

2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>

* test_summary: Export filesuffix, not fileprefix.

From-SVN: r38513

23 years agoc-common.c (enum format_type): Add strfmon_format_type.
Joseph Myers [Thu, 28 Dec 2000 18:48:05 +0000 (18:48 +0000)]
c-common.c (enum format_type): Add strfmon_format_type.

* c-common.c (enum format_type): Add strfmon_format_type.
(decl_attributes): Handle format attributes strfmon and
__strfmon__.
(FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
FMT_FLAG_EMPTY_PREC_OK): Define.
(format_char_info): Update comment for flag_chars.
(format_flag_spec): Add skip_next_char.
(format_kind_info): Add left_precision_char.
(printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
format_types): Update for these new structure members and flags.
(time_char_table): Make const.
(strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
monetary_char_table): New.
(format_types): Add details of strfmon formats.
(init_function_format_info): Create default attribute for strfmon.
(check_format_info_main): Check the new flags.  Handle
skip_next_char and left precision.
* toplev.c (documented_lang_options): Update description of
-Wformat.
* extend.texi: Document strfmon format attributes.  Document
attribute forms such as __printf__.  Clarify format_arg attribute
documentation.
* invoke.texi (-Wformat): Update for strfmon formats.

testsuite:
* gcc.dg/format-strfmon-1.c: New test.

From-SVN: r38512

23 years agoexpmed.c (store_bit_field): Fix last patch.
Andreas Jaeger [Thu, 28 Dec 2000 08:51:59 +0000 (09:51 +0100)]
expmed.c (store_bit_field): Fix last patch.

2000-12-28  Andreas Jaeger  <aj@suse.de>

* expmed.c (store_bit_field): Fix last patch.

From-SVN: r38511

23 years agocrt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing the trailing `__'.
Alexandre Oliva [Thu, 28 Dec 2000 08:47:14 +0000 (08:47 +0000)]
crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing the trailing `__'.

* config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
the trailing `__'.

From-SVN: r38510

23 years agoDaily bump.
Jeff Law [Thu, 28 Dec 2000 08:45:15 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38509

23 years agore PR libgcj/1358 (java.util.Date.toString() doesn't seem to behave properly.)
Warren Levy [Thu, 28 Dec 2000 05:55:56 +0000 (05:55 +0000)]
re PR libgcj/1358 (java.util.Date.toString() doesn't seem to behave properly.)

Fix for PR libgcj/1358:
* java/lang/System.java: Update Copyright date properly.
* java/util/Calendar.java: Fix typo in comment.
(set): Set 24-hour clock hour instead of 12-hour clock hour.
* java/util/GregorianCalendar.java (GregorianCalendar): Properly
initialize times.  Spec says to set H:M:S values to zero only if
a date is given.
* java/util/TimeZone.java (getDefaultDisplayName): Casts to char
needed for evaluating numbers '0' to '9' in printouts of GMT offsets.
* java/util/natGregorianCalendar.cc (computeTime): Properly handle
timezones and GMT offsets, being careful to account for units of
milliseconds vs. seconds.

From-SVN: r38508

23 years agoexpmed.c (store_bit_field): Correctly compute smallest mode that is sufficient to...
Alan Lehotsky [Thu, 28 Dec 2000 05:55:03 +0000 (00:55 -0500)]
expmed.c (store_bit_field): Correctly compute smallest mode that is sufficient to contain all bits we are...

* expmed.c (store_bit_field): Correctly compute smallest mode that
is sufficient to contain all bits we are storing.

From-SVN: r38507

23 years agore PR libgcj/1516 (Method.invoke won't accept boolean parameters)
Bryce McKinlay [Thu, 28 Dec 2000 04:34:33 +0000 (04:34 +0000)]
re PR libgcj/1516 (Method.invoke won't accept boolean parameters)

Fix for PR libgcj/1516:
* java/lang/reflect/natMethod.cc (primitives): Remove void entry.
Add boolean entry.
(can_widen): Declared inline. Remove redundant checks for void
arguments and char->short conversion. Add special case for boolean
conversions.
(ffi_type): Declared inline.
(_Jv_CallAnyMethodA): Move unwrapping logic inside isPrimitive() block.

From-SVN: r38506

23 years agonatClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can not be assigned to Object.
Bryce McKinlay [Thu, 28 Dec 2000 04:33:53 +0000 (04:33 +0000)]
natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can not be assigned to Object.

* java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can
not be assigned to Object.

From-SVN: r38505

23 years agobuiltins.c (build_function_call_expr): New function.
Kaveh R. Ghazi [Thu, 28 Dec 2000 02:45:37 +0000 (02:45 +0000)]
builtins.c (build_function_call_expr): New function.

* builtins.c (build_function_call_expr): New function.  Use it
everywhere in lieu of manually constructing a CALL_EXPR.

From-SVN: r38504

23 years agocalls.c (store_one_arg): If parm is passed both in stack and in register and offset...
Chandrakala Chavva [Thu, 28 Dec 2000 01:51:55 +0000 (20:51 -0500)]
calls.c (store_one_arg): If parm is passed both in stack and in register and offset is greater than...

 * calls.c (store_one_arg):  If parm is passed both in stack and in
        register and offset is greater than reg_parm_stack_space, split
        the offset and call emit_push_insn().

From-SVN: r38503

23 years ago* MAINTAINERS: Add myself under ``Write After Approval''.
Ben Elliston [Wed, 27 Dec 2000 22:00:13 +0000 (22:00 +0000)]
* MAINTAINERS: Add myself under ``Write After Approval''.

From-SVN: r38502

23 years agoHandle jump insns that are PARALLEL.
Nick Clifton [Wed, 27 Dec 2000 18:22:51 +0000 (18:22 +0000)]
Handle jump insns that are PARALLEL.

From-SVN: r38501

23 years agortl.c (copy_most_rtx, [...]): Copy frame_related flag.
Alexandre Oliva [Wed, 27 Dec 2000 16:35:00 +0000 (16:35 +0000)]
rtl.c (copy_most_rtx, [...]): Copy frame_related flag.

* rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
flag.

From-SVN: r38500

23 years ago"test" is better at testing for directories than "ls"
Bruce Korb [Wed, 27 Dec 2000 15:46:42 +0000 (15:46 +0000)]
"test" is better at testing for directories than "ls"

From-SVN: r38499

23 years agoaccommodate ancient bourne shells
Bruce Korb [Wed, 27 Dec 2000 15:40:02 +0000 (15:40 +0000)]
accommodate ancient bourne shells

From-SVN: r38498

23 years agostdio-opt-1.c: Test __builtin_ style too.
Kaveh R. Ghazi [Wed, 27 Dec 2000 15:29:52 +0000 (15:29 +0000)]
stdio-opt-1.c: Test __builtin_ style too.

* gcc.c-torture/execute/stdio-opt-1.c: Test __builtin_ style too.
* gcc.c-torture/execute/stdio-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-1.c: Likewise.
* gcc.c-torture/execute/string-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Likewise.
* gcc.c-torture/execute/string-opt-4.c: Likewise.
* gcc.c-torture/execute/string-opt-6.c: Likewise.
* gcc.c-torture/execute/string-opt-7.c: Likewise.
* gcc.c-torture/execute/string-opt-8.c: Likewise.
* gcc.c-torture/execute/string-opt-9.c: Likewise.
* gcc.c-torture/execute/string-opt-10.c: Likewise.
* gcc.c-torture/execute/string-opt-11.c: Likewise.
* gcc.c-torture/execute/string-opt-12.c: Likewise.

* gcc.c-torture/execute/string-opt-3.c: Test rindex.
* gcc.c-torture/execute/string-opt-4.c: Test index.

From-SVN: r38497

23 years agoAvoid unnecessary dependencies on COND_EXEC insns.
Bernd Schmidt [Wed, 27 Dec 2000 12:55:16 +0000 (12:55 +0000)]
Avoid unnecessary dependencies on COND_EXEC insns.

From-SVN: r38496

23 years ago[multiple changes]
Geoffrey Keating [Wed, 27 Dec 2000 11:01:03 +0000 (11:01 +0000)]
[multiple changes]

2000-12-27  Geoffrey Keating  <geoffk@redhat.com>

* config/rs6000/rs6000.md (define_attr "length"): Correct
calculation.

2000-12-26  Geoffrey Keating  <geoffk@redhat.com>

* gcc.c-torture/compile/20001226-1.c: New test.

From-SVN: r38495

23 years agoDaily bump.
Jeff Law [Wed, 27 Dec 2000 08:45:09 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38494

23 years agoSQLWarning.java: Fixed typo in comment.
Petter Reinholdtsen [Wed, 27 Dec 2000 01:58:23 +0000 (01:58 +0000)]
SQLWarning.java: Fixed typo in comment.

2000-12-26  Petter Reinholdtsen  <pere@hungry.com>

* java/sql/SQLWarning.java: Fixed typo in comment.

From-SVN: r38493

23 years agobsearch.c: New file.
Michael Sokolov [Tue, 26 Dec 2000 22:16:22 +0000 (22:16 +0000)]
bsearch.c: New file.

* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.

From-SVN: r38492

23 years agoh8300.c: Fix a comment typo.
Kazu Hirata [Tue, 26 Dec 2000 18:14:54 +0000 (18:14 +0000)]
h8300.c: Fix a comment typo.

2000-12-26  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c: Fix a comment typo.
(get_shift_alg): Do not output extra whitespace after one line
of assembly code.  Output a tab after an opcode instead of a
space.
(emit_a_shift): Output a tab after an opcode instead of a space.

From-SVN: r38491

23 years agoh8300.c (get_shift_alg): Fix a typo in the assembly code for 12-bit ASHIFTRT in HImode.
Kazu Hirata [Tue, 26 Dec 2000 17:54:45 +0000 (17:54 +0000)]
h8300.c (get_shift_alg): Fix a typo in the assembly code for 12-bit ASHIFTRT in HImode.

2000-12-26  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (get_shift_alg): Fix a typo in the assembly
code for 12-bit ASHIFTRT in HImode.

From-SVN: r38490

23 years agoDaily bump.
Jeff Law [Tue, 26 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38489

23 years agoMenuItem.java (paramString): Now protected.
Tom Tromey [Tue, 26 Dec 2000 07:18:16 +0000 (07:18 +0000)]
MenuItem.java (paramString): Now protected.

* java/awt/MenuItem.java (paramString): Now protected.

* java/awt/MenuShortcut.java: Implements Serializable.

* java/awt/MenuBar.java: Rewrote from scratch.

* java/awt/MenuComponent.java (removeNotify): Wrote.
Implements Serializable.

* java/awt/GridBagConstraints.java (GridBagConstraints): New
constructor.

* java/awt/CheckboxMenuItem.java: Wrote.

From-SVN: r38488

23 years agoMenuContainer.java: Fixed typo.
Tom Tromey [Tue, 26 Dec 2000 00:25:13 +0000 (00:25 +0000)]
MenuContainer.java: Fixed typo.

* java/awt/MenuContainer.java: Fixed typo.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added SystemColor.java.
* java/awt/SystemColor.java: New file.

* java/awt/Color.java (rgba): Now package-private.

* java/awt/event/InputEvent.java (isAltGraphDown): New method.

* java/awt/event/ContainerEvent.java (getContainer): Renamed from
getComponent.

* java/awt/MenuItem.java (addNotify): New method.
(MenuItem(String,MenuShortcut)): New constructor.
(setLabel): Notify peer of change.
(setEnabled): Likewise.

* java/awt/GridLayout.java (toString): New method.

* java/awt/FlowLayout.java (LEADING, TRAILING): New constants.
(FlowLayout): Check for LEADING and TRAILING.
(setAlignment): Likewise.
(layoutContainer): Handle component orientation.

* java/awt/Component.java (orientatin): New field.
(setComponentOrientation): Wrote.
(getComponentOrientation): Wrote.

* java/awt/Event.java (Event): Implements Serializable.
(consumed): New field for serialization.
* java/awt/Dimension.java (Dimension): Implements Serializable.
* java/awt/Cursor.java (Cursor): Implements Serializable.
* java/awt/Container.java (Container): No longer abstract.

* java/awt/Choice.java: Wrote.
* java/awt/Checkbox.java: Wrote.
* java/awt/ItemSelectable.java: Documented.
* java/awt/CheckboxGroup.java: Wrote.

* java/awt/CardLayout.java (layoutContainer): Directly use fields
in other classes.
(getSize): Likewise.

From-SVN: r38486

23 years agoFileDescriptor.java: Initialize fd to -1.
Jeff Sturm [Tue, 26 Dec 2000 00:24:01 +0000 (00:24 +0000)]
FileDescriptor.java: Initialize fd to -1.

2000-12-24  Jeff Sturm  <jeff.sturm@commerceone.com>

* java/io/FileDescriptor.java: Initialize fd to -1.
Remove default constructor.

From-SVN: r38485

23 years agoDaily bump.
Jeff Law [Mon, 25 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38484

23 years agoDaily bump.
Jeff Law [Sun, 24 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38483

23 years agoShorten primitive array allocation path:
Bryce McKinlay [Sun, 24 Dec 2000 00:43:40 +0000 (00:43 +0000)]
Shorten primitive array allocation path:

        * decl.c (init_decl_processing): Use _Jv_NewPrimArray not _Jv_NewArray
        to create new primitive arrays.
        * expr.c (build_newarray): If generating native code, call
        soft_newarray_node with a reference to the primitive TYPE identifier
        instead of type_value.

From-SVN: r38482

23 years ago* java/lang/mprec.h: Change C9X reference to refer to C99.
Joseph Myers [Sat, 23 Dec 2000 23:38:51 +0000 (23:38 +0000)]
* java/lang/mprec.h: Change C9X reference to refer to C99.

From-SVN: r38481

23 years agoavr.c (out_movqi_r_mr, [...]): Use %o instead of %4 in output templates...
Marek Michalkiewicz [Sat, 23 Dec 2000 19:58:17 +0000 (20:58 +0100)]
avr.c (out_movqi_r_mr, [...]): Use %o instead of %4 in output templates...

* config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
%4 in output templates, do not modify operands passed by the caller.

From-SVN: r38480

23 years agoxfail
Jason Merrill [Sat, 23 Dec 2000 10:32:15 +0000 (05:32 -0500)]
xfail

From-SVN: r38479

23 years agoDaily bump.
Jeff Law [Sat, 23 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38478

23 years agoMakefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
Benjamin Kosnik [Sat, 23 Dec 2000 07:13:57 +0000 (07:13 +0000)]
Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.

2000-12-23  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
(strstream.cc): Add special rule for deprecated files.
* libsupc++/Makefile.am (INCLUDES): Sync.
* acinclude.m4 (GLIBCPP_EXPORT_INCLUDES): And here.

Reported by Fred Fish  <fnf@ninemoons.com>
* include/backward/iomanip.h: Remove backward from include
* include/backward/strstream.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* src/strstream.cc: And here.

Reported by  Brad Garcia  <bgarcia@laurelnetworks.com>
* src/string-inst.cc (_S_find): Use generic template.
* include/bits/string.tcc (_S_find): Remove specializations

From-SVN: r38477

23 years agogcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
Hans Boehm [Sat, 23 Dec 2000 02:23:27 +0000 (02:23 +0000)]
gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.

2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>

* gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.

From-SVN: r38476

This page took 0.137096 seconds and 5 git commands to generate.