platform/upstream/linaro-gcc.git
24 years ago * class.c (finish_struct_1): Replace redundant code with
mmitchel [Mon, 17 Jan 2000 05:12:39 +0000 (05:12 +0000)]
* class.c (finish_struct_1): Replace redundant code with
assertions.

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

24 years ago * tree.h (BINFO_VPTR_FIELD): Augment documentation.
mmitchel [Mon, 17 Jan 2000 04:15:50 +0000 (04:15 +0000)]
* tree.h (BINFO_VPTR_FIELD): Augment documentation.

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

24 years ago * cp-tree.h (flag_new_abi): Move.
mmitchel [Mon, 17 Jan 2000 04:08:01 +0000 (04:08 +0000)]
* cp-tree.h (flag_new_abi): Move.
(flag_use_cxa_atexit): Likewise.
(flag_honor_std): Likewise.
(flag_rtti): Likewise.
(vbase_offsets_in_vtable_p): Define.
(vptrs_present_everywhere_p): Likewise.
(TYPE_CONTAINS_VPTR_P): Likewise.
(dfs_walk_real): Declare.
* class.c (build_vbase_pointer_fields): Check
vbase_offsets_in_vtable_p.
(dfs_build_vbase_offset_vtbl_entries): Record the vbase indices in
BINFO_VPTR_FIELD.
(build_vbase_offset_vtbl_entries): Simplify.
(build_vbase_offset_vtbl_entries): Adjust.
(build_vbase_pointer): Add ability to look up vbase offsets in
vtable.
(start_vtable): New function.
(add_virtual_function): Use it.
(determine_primary_base): Use TYPE_CONTAINS_VPTR_P.
(num_extra_vtbl_entries): Use vbase_offsets_in_vtable_p.
(build_vtbl_initializer): Take the type of the complete object as
input.  Use it to correctly calculate vbase offsets.
(dfs_finish_vtbls): Pass the complete type to
build_vtbl_initializer.
(check_bases_and_members): Use TYPE_CONTAINS_VPTR_P.
(create_vtable_ptr): Create a vtable even if there are no
new virtual functions, under the new ABI.
(finish_struct_1): Likewise.
(get_vfield_name): Use TYPE_CONTAINS_VPTR_P.
* decl.c (exapnd_static_init): Remove call to
preserve_initializer.
* decl2.c (mark_vtable_entries): Tweak to handle vbase offsets in
vtables.
* init.c (initialize_vtbl_ptrs): Initialize them in pre-order.
(expand_virtual_init): Use vbase_offsets_in_vtable_p.
(construct_virtual_bases): Don't initialize virtual base pointers
under the new ABI.
(build_aggr_init): Clean up comment.
(expand_aggr_init_1): Likewise.
* rtti.c (expand_class_desc): Store the virtual function table
index where the vbase offset lives in the offset field.
* search.c (dfs_walk_real): Make it global.
(dfs_debug_mark): Use TYPE_CONTAINS_VPTR_P.
* tree.c (make_binfo): Don't clear BINFO_VPTR_FIELD.

* tinfo.h (USItype): Make it signed under the new ABI.
* tinfo.cc (convert_to_base): New function.  Encapsulate base
conversion logic here.
(__class_type_info::do_upcast): Use it.
(__class_type_info::do_dyncast): Likewise.
(__class_type_info::do_find_public_subobj): Likewise.

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

24 years ago2000-01-16 Anthony Green <green@cygnus.com>
green [Mon, 17 Jan 2000 00:00:43 +0000 (00:00 +0000)]
2000-01-16  Anthony Green  <green@cygnus.com>

* java/lang/StringBuffer.java (StringBuffer): Don't special case
null argument.

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

24 years ago2000-01-16 Anthony Green <green@cygnus.com>
green [Sun, 16 Jan 2000 23:56:06 +0000 (23:56 +0000)]
2000-01-16  Anthony Green  <green@cygnus.com>

* parse.y (build_string_concatenation): Only use
StringBuffer(String) shortcut if String arg is constant.

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

24 years ago2000-01-16 Jeff Sturm <jsturm@sigma6.com>
tromey [Sun, 16 Jan 2000 21:33:46 +0000 (21:33 +0000)]
2000-01-16  Jeff Sturm  <jsturm@sigma6.com>

* java/io/StreamTokenizer.java (nextToken): Avoid unread(TT_EOF).

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

24 years ago*** empty log message ***
green [Sun, 16 Jan 2000 21:01:25 +0000 (21:01 +0000)]
*** empty log message ***

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

24 years ago * init.c (construct_virtual_bases): Don't look up the addresses of
mmitchel [Sun, 16 Jan 2000 20:22:56 +0000 (20:22 +0000)]
* init.c (construct_virtual_bases): Don't look up the addresses of
virtual bases at run-time.

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

24 years ago * libjava.lang/pr83.out: New file.
green [Sun, 16 Jan 2000 19:55:09 +0000 (19:55 +0000)]
* libjava.lang/pr83.out: New file.
* libjava.lang/pr83.java: New file.

* libjava.lang/pr109.out: New file.
* libjava.lang/pr109.java: New file.

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

24 years agoOops, a reference to mmap_zero remained
oliva [Sun, 16 Jan 2000 18:49:31 +0000 (18:49 +0000)]
Oops, a reference to mmap_zero remained

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

24 years ago* aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
oliva [Sun, 16 Jan 2000 18:16:55 +0000 (18:16 +0000)]
* aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
* configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
* ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
* configure, config.in: Rebuilt.

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

24 years ago * config/i386/i386.md: Add peephole to merge successive stack
zack [Sun, 16 Jan 2000 17:53:02 +0000 (17:53 +0000)]
* config/i386/i386.md: Add peephole to merge successive stack
adjusts.

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

24 years ago * class.c (build_vbase_pointer): Relocate.
mmitchel [Sun, 16 Jan 2000 17:38:06 +0000 (17:38 +0000)]
* class.c (build_vbase_pointer): Relocate.
(build_vbase_pointer_fields): Likewise.
(dfs_build_vbase_offset_vtbl_entries): Likewise.
(build_vbase_offset_vtbl_entries): Likewise.

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

24 years ago * decl.c (init_decl_processing): Complain if -fnew-abi
mmitchel [Sun, 16 Jan 2000 17:06:42 +0000 (17:06 +0000)]
* decl.c (init_decl_processing): Complain if -fnew-abi
-fno-vtable-thunks is used.

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

24 years ago * decl2.c (lang_decode_option): Don't couple flag_honor_std to
mmitchel [Sun, 16 Jan 2000 17:03:49 +0000 (17:03 +0000)]
* decl2.c (lang_decode_option): Don't couple flag_honor_std to
flag_new_abi.

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

24 years ago * cp-tree.h (num_extra_vtbl_entries): New function.
mmitchel [Sun, 16 Jan 2000 16:59:44 +0000 (16:59 +0000)]
* cp-tree.h (num_extra_vtbl_entries): New function.
(size_extra_vtbl_entries): Likewise.
(dfs_vtable_path_unmark): Likewise.
(dfs_vtable_path_unmarked_real_bases_queue_p): Likewise.
(dfs_vtable_path_marked_real_bases_queue_p): Likewise.
* class.c (num_extra_vtbl_entries): New function.
(size_extra_vtbl_entries): Likewise.
(dfs_build_vbase_offset_vtbl_entries): New function.
(build_vbase_offset_vtbl_entries): Likewise.
(build_vtbl_initializer): Use it.
(finish_struct_1): Adjust vtable sizes (using
num_extra_vtbl_entries).
* expr.c (cplus_expand_expr): Assert that the DECL_RTL for a
THUNK_DECL is non-NULL before expanding it.
* init.c (expand_virtual_init): Adjust the vtable pointer by
size_extra_vtbl_entries before storing it.
* search.c (get_shared_vase_if_not_primary): Adjust prototype.
Handle TREE_LIST parameters here, not in the dfs_* functions.
(dfs_unmarked_real_bases_queue_p): Adjust.
(dfs_marked_real_bases_queue_p): Likewise.
(dfs_vtable_path_unmarked_real_bases_queue_p): New function.
(dfs_vtable_path_marked_real_bases_queue_p): New function.
(dfs_vtable_path_unmark): Likewise.

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

24 years agoDaily bump.
law [Sun, 16 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
wehle [Sat, 15 Jan 2000 20:46:21 +0000 (20:46 +0000)]
* gcse.c (insert_insn_end_bb): Use emit_block_insn_before
instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
when walking backwards to find all the parameter loads when
the basic block ends in a call.

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

24 years agoDaily bump.
law [Sat, 15 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * optimize.c (copy_body_r): Clear the operand three of a
mmitchel [Sat, 15 Jan 2000 04:36:04 +0000 (04:36 +0000)]
* optimize.c (copy_body_r): Clear the operand three of a
TARGET_EXPR when copying it.

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

24 years ago * loop.c (this_loop_info): Delete.
m.hayes [Sat, 15 Jan 2000 03:01:49 +0000 (03:01 +0000)]
* loop.c (this_loop_info): Delete.
(uid_loop): Add in place of uid_loop_num.  All uses updated.
  (loop_number_exit_count): Delete and replace with entry in loop
structure.  All uses updated.
(loop_number_loop_starts, loop_number_loop_ends): Likewise.
(loop_number_loop_cont, loop_number_cont_dominator): Likewise.
(loop_outer_loop): Likewise.
(loop_invalid, loop_number_exit_labels): Likewise.
(loop_used_count_register): Delete and replace with entry in
loop_info structure.
(find_and_verify_loops): Add loops argument.
(verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
loop_end, etc. arguments with loop structure pointer.  All callers
changed.
(loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
(check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
(load_mems_and_recount_loop_regs_set, load_mems): Likewise.
(insert_bct): Likewise.
(basic_induction_var): New argument level.
* loop.h (struct loop_info): Delete fields num, loops_enclosed,
vtop, and cont.  Add used_count_register.
(uid_loop): Delete declaration.
  (loop_number_exit_count): Likewise.
(loop_number_loop_starts, loop_number_loop_ends): Likewise.
(loop_number_loop_cont, loop_number_cont_dominator): Likewise.
(loop_outer_loop, loop_used_count_register): Likewise.
(loop_invalid, loop_number_exit_labels): Likewise.
(unroll_loop): Replace loop_start and loop_end arguments
  with loop structure pointer.
(loop_precondition_p, loop_iterations): Likewise.
Include basic-block.h.
* unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
  with loop structure pointer.
(loop_precondition_p, loop_iterations): Likewise.
* basic-block.h (struct loop): New entries vtop, cont,
  cont_dominator, start, end, top, scan_start, exit_labels,
exit_count.
* Makefile.in (LOOP_H): Add basic-block.h to dependencies.

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

24 years ago * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
gerald [Sat, 15 Jan 2000 03:00:11 +0000 (03:00 +0000)]
* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.

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

24 years agoNew test case.
loewis [Fri, 14 Jan 2000 23:43:19 +0000 (23:43 +0000)]
New test case.

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

24 years ago * method.c (build_decl_overload_real): Check whether we are in ::
loewis [Fri, 14 Jan 2000 23:42:10 +0000 (23:42 +0000)]
* method.c (build_decl_overload_real): Check whether we are in ::
before returning __builtin_new/delete.

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

24 years ago * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
nathan [Fri, 14 Jan 2000 23:11:38 +0000 (23:11 +0000)]
* config.in: Rebuilt for 2000-01-13 change to acconfig.h.

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

24 years ago * pdp11-protos.h: New file.
ghazi [Fri, 14 Jan 2000 23:07:07 +0000 (23:07 +0000)]
    * pdp11-protos.h: New file.

        * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
        warnings.

        * pdp11.md: Likewise.

        * 2bsd.h: Likewise.

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

24 years ago * mn10300-protos.h: New file.
ghazi [Fri, 14 Jan 2000 23:03:45 +0000 (23:03 +0000)]
    * mn10300-protos.h: New file.

        * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
        warnings.

        * mn10300.md: Likewise.

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

24 years ago * mn10200-protos.h: New file.
ghazi [Fri, 14 Jan 2000 23:00:20 +0000 (23:00 +0000)]
    * mn10200-protos.h: New file.

        * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
        warnings.

        * mn10200.md: Likewise.

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

24 years ago * h8300-protos.h: New file.
ghazi [Fri, 14 Jan 2000 22:57:31 +0000 (22:57 +0000)]
    * h8300-protos.h: New file.

        * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
        warnings.

        * h8300.md: Likewise.

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

24 years ago * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
ghazi [Fri, 14 Jan 2000 22:53:45 +0000 (22:53 +0000)]
    * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
        (asm_emit_uninitialised): Likewise.

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

24 years ago * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
gavin [Fri, 14 Jan 2000 22:30:12 +0000 (22:30 +0000)]
* config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
* config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.

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

24 years ago * config/mips/mips.c (override_options): Don't turn on extra
cpopetz [Fri, 14 Jan 2000 21:38:23 +0000 (21:38 +0000)]
* config/mips/mips.c (override_options): Don't turn on extra
alignment for mips16.

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

24 years ago * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
cpopetz [Fri, 14 Jan 2000 21:21:57 +0000 (21:21 +0000)]
* config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
eabi, and make sure queued POSTINCREMENT rtl is emitted at
the right point.

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

24 years ago * builtins.c (PAD_VARARGS_DOWN): Define.
cpopetz [Fri, 14 Jan 2000 21:19:51 +0000 (21:19 +0000)]
* builtins.c (PAD_VARARGS_DOWN): Define.
(std_expand_builtin_va_arg): Use the above macro.
* config/mips/mips.c (PAD_VARARGS_DOWN): Define.
* tm.texi (Register Arguments): Document the above macro.

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

24 years agoIf RTL checking is enabled, make sure that emit_insn is not used to emit a
nickc [Fri, 14 Jan 2000 20:51:04 +0000 (20:51 +0000)]
If RTL checking is enabled, make sure that emit_insn is not used to emit a
jump insn.

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

24 years ago * eh-common.h: PROTO -> PARAMS.
ghazi [Fri, 14 Jan 2000 17:14:43 +0000 (17:14 +0000)]
* eh-common.h: PROTO -> PARAMS.
* emit-rtl.c: Likewise.
* errors.c: Likewise.
* errors.h: Likewise.
* except.c: Likewise.
* except.h: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* final.c: Likewise.
* fix-header.c: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* function.h: Likewise.
* gcc.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.

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

24 years ago * sh-protos.h: New file.
ghazi [Fri, 14 Jan 2000 16:28:59 +0000 (16:28 +0000)]
* sh-protos.h: New file.

* sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
Add static prototypes.  Fix compile time warnings.

* sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
* sh.md: Likewise.
* elf.h: Likewise.

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

24 years ago * arc-protos.h: New file.
ghazi [Fri, 14 Jan 2000 16:21:46 +0000 (16:21 +0000)]
* arc-protos.h: New file.

* arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* arc.h: Move prototypes to arc-protos.h.  Fix compile time
warnings.

* arc.md: Likewise.

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

24 years ago * dsp16xx-protos.h: New file.
ghazi [Fri, 14 Jan 2000 16:16:46 +0000 (16:16 +0000)]
* dsp16xx-protos.h: New file.

* dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
warnings.

* dsp16xx.md: Likewise.

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

24 years ago * convex-protos.h: New file.
ghazi [Fri, 14 Jan 2000 16:04:32 +0000 (16:04 +0000)]
* convex-protos.h: New file.

* convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* convex.h: Move prototypes to convex-protos.h.  Fix compile time
warnings.

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

24 years ago * elxsi-protos.h: New file.
ghazi [Fri, 14 Jan 2000 16:00:37 +0000 (16:00 +0000)]
* elxsi-protos.h: New file.

* elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
warnings.

* elxsi.md: Likewise.

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

24 years ago * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
cpopetz [Fri, 14 Jan 2000 14:31:43 +0000 (14:31 +0000)]
* config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
        case for moving from HI/LO/HI_LO_REG.  This makes the behavior
        match the comment for MIPS16.

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

24 years agoCommit the change corresponding to the ChangeLog entry:
gdr [Fri, 14 Jan 2000 11:51:14 +0000 (11:51 +0000)]
Commit the change corresponding to the ChangeLog entry:
2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>

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

24 years agoCommit ChangeLog entries 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
nathan [Fri, 14 Jan 2000 11:22:56 +0000 (11:22 +0000)]
Commit ChangeLog entries 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
corresponding to commit of configure.in 1.324, acconfig.h 1.41,
Makefile.in 1.364, cp/g++spec.c 1.19, cp/Make-lang.in 1.42
ChangeLog:
* configure.in (--enable-new-gxx-abi): New option.
* acconfig.h (ENABLE_NEW_GXX_ABI): New define.
* Makefile.in (GXX_ABI_FLAG): New variable.
* configure: Regenerate.
cp/ChangeLog:
* g++spec.c (lang_specific_driver): Add -fnew-abi if
ENABLE_NEW_GXX_ABI defined.
* Make-lang.in (tinfo.o, tinfo2.o, exception.o, new.o,
opnew.o, opnewnt.o, opvnew.o, opvnewnt.o, opdel.o, opdelnt.o,
opvdel.o, opvdelnt.o): Use GXX_ABI_FLAG switch.

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

24 years ago * flow.c (split_edge): Do not call set_block_for_insn if we
law [Fri, 14 Jan 2000 11:21:22 +0000 (11:21 +0000)]
    * flow.c (split_edge): Do not call set_block_for_insn if we
        do not have a basic_block_for_insn structure.

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

24 years ago * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
law [Fri, 14 Jan 2000 09:28:10 +0000 (09:28 +0000)]
    * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
        and destination functions are 32bit aligned within the trampoline.
        (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
        (TRAMPOLINE_ALIGNMENT): Define.

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

24 years agoDaily bump.
law [Fri, 14 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * cse.c (cse_insn): When changing (set (pc) (reg)) to
law [Fri, 14 Jan 2000 08:35:56 +0000 (08:35 +0000)]
    * cse.c (cse_insn): When changing (set (pc) (reg)) to
        (set (pc) (label_ref)), verify the change creates a valid insn.

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

24 years agoCopyright dates.
law [Fri, 14 Jan 2000 08:21:53 +0000 (08:21 +0000)]
Copyright dates.

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

24 years ago * fr30.c (call_operand): Tighten and rework to match rules for
law [Fri, 14 Jan 2000 07:29:20 +0000 (07:29 +0000)]
    * fr30.c (call_operand): Tighten and rework to match rules for
        call RTL expressions.
        * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
        * fr30.md (call patterns): Improve constraints.

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

24 years ago * fr30.c (fr30_expand_epilogue): Revert last change.
law [Fri, 14 Jan 2000 06:45:23 +0000 (06:45 +0000)]
    * fr30.c (fr30_expand_epilogue): Revert last change.
        Use emit_jump_insn for the return insn.

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

24 years ago * pt.c (tsubst_friend_function): Improve comment.
mmitchel [Fri, 14 Jan 2000 05:45:52 +0000 (05:45 +0000)]
* pt.c (tsubst_friend_function): Improve comment.
(instantiate_decl): Avoid crashing when a "nested" function is
instantiated from the top level.

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

24 years agoThu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
jle [Fri, 14 Jan 2000 02:01:21 +0000 (02:01 +0000)]
Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
                          Stan Cox  <scox@cygnus.com>

* predict.c: New file. Preliminary infrastructure work for static
branch prediction and basic block reordering.
* basic-block.h: Add prototype for estimate_probability.
* Makefile.in: Add rules for predict.o.

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

24 years ago * fixincludes (va_list): Use __not_va_list__ for the dummy.
jason [Fri, 14 Jan 2000 01:46:49 +0000 (01:46 +0000)]
* fixincludes (va_list): Use __not_va_list__ for the dummy.
* fixinc/*: Likewise.

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

24 years agoHappy new year!
amylaar [Fri, 14 Jan 2000 01:37:48 +0000 (01:37 +0000)]
Happy new year!

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

24 years ago * cccp.c: PROTO -> PARAMS.
ghazi [Fri, 14 Jan 2000 00:46:57 +0000 (00:46 +0000)]
* cccp.c: PROTO -> PARAMS.
* cexp.y: Likewise.
* collect2.c: Likewise.
* combine.c: Likewise.
* convert.h: Likewise.
* cse.c: Likewise.
* dbxout.c: Likewise.
* dbxout.h: Likewise.
* diagnostic.c: Likewise.
* doprint.c: Likewise.
* dwarf2out.c: Likewise.
* dwarf2out.h: Likewise.
* dwarfout.c: Likewise.
* dwarfout.h: Likewise.
* dyn-string.h: Likewise.

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

24 years ago * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
ghazi [Thu, 13 Jan 2000 23:43:55 +0000 (23:43 +0000)]
    * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
        macro conditionals guarding use.

        * dwarf2out.c: Include "tm_p.h".

        * function.c (locate_and_pad_parm): Mark parameter with
        ATTRIBUTE_UNUSED.
        (expand_function_end): Likewise for variable `context'.

        * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.

cp:
        * call.c: If GATHER_STATISTICS, declare `n_build_method_call'.

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

24 years agofix compile time warnings about unused epilogue instructions
nickc [Thu, 13 Jan 2000 23:01:59 +0000 (23:01 +0000)]
fix compile time warnings about unused epilogue instructions

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

24 years ago * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
zack [Thu, 13 Jan 2000 18:18:10 +0000 (18:18 +0000)]
* longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
to avoid -Wtraditional warning.

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

24 years ago * java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',
tromey [Thu, 13 Jan 2000 18:13:31 +0000 (18:13 +0000)]
* java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',
not system loader, as initiating loader.

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

24 years ago * 1750a-protos.h: New file.
ghazi [Thu, 13 Jan 2000 18:04:22 +0000 (18:04 +0000)]
* 1750a-protos.h: New file.

* 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
warnings.

* 1750a.md: Likewise.

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

24 years ago * a29k-protos.h: New file.
ghazi [Thu, 13 Jan 2000 17:57:45 +0000 (17:57 +0000)]
* a29k-protos.h: New file.

* a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
warnings.

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

24 years ago * clipper-protos.h: New file.
ghazi [Thu, 13 Jan 2000 17:48:08 +0000 (17:48 +0000)]
* clipper-protos.h: New file.

* clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
warnings.

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

24 years ago * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
amylaar [Thu, 13 Jan 2000 16:05:03 +0000 (16:05 +0000)]
* reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.

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

24 years ago * g++spec.c (lang_specific_driver): Add -fnew-abi if
nathan [Thu, 13 Jan 2000 15:37:03 +0000 (15:37 +0000)]
* g++spec.c (lang_specific_driver): Add -fnew-abi if
ENABLE_NEW_GXX_ABI defined.
* Make-lang.in (tinfo.o, tinfo2.o, exception.o, new.o,
opnew.o, opnewnt.o, opvnew.o, opvnewnt.o, opdel.o, opdelnt.o,
opvdel.o, opvdelnt.o): Use GXX_ABI_FLAG switch.

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

24 years ago * configure.in (--enable-new-gxx-abi): New option.
nathan [Thu, 13 Jan 2000 15:36:24 +0000 (15:36 +0000)]
* configure.in (--enable-new-gxx-abi): New option.
* acconfig.h (ENABLE_NEW_GXX_ABI): New define.
* Makefile.in (GXX_ABI_FLAG): New variable.
* configure: Regenerate.

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

24 years ago * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
m.hayes [Thu, 13 Jan 2000 10:43:35 +0000 (10:43 +0000)]
* stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
* tm.texi (FORCE_STRUCT_BLK): Document.
* config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.

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

24 years ago * config/ns32k/ns32k.md: Revert Jan 9 change.
hp [Thu, 13 Jan 2000 10:19:39 +0000 (10:19 +0000)]
* config/ns32k/ns32k.md: Revert Jan 9 change.

* genrecog.c (maybe_both_true_2): Do not compare a predicate-test
to a mode-test, if the predicate is address_operand.

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

24 years ago * combine.c (if_then_else_cond): Be careful about what kinds
law [Thu, 13 Jan 2000 09:36:29 +0000 (09:36 +0000)]
* combine.c (if_then_else_cond): Be careful about what kinds
of RTL expressions are passed to operand_subword.

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

24 years ago * gcc.c-torture/execute/20000113-1.c: New test.
law [Thu, 13 Jan 2000 09:30:08 +0000 (09:30 +0000)]
    * gcc.c-torture/execute/20000113-1.c: New test.

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

24 years agoDaily bump.
law [Thu, 13 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * flow.c (split_edge): If we have to insert a new jump, make
law [Thu, 13 Jan 2000 05:41:44 +0000 (05:41 +0000)]
* flow.c (split_edge): If we have to insert a new jump, make
sure to associate it with a basic block.

* flow.c (commit_one_edge_insertion): A block with one successor
can end in a JUMP_INSN that is not a simplejump.

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

24 years ago2000-01-12 Robert Lipe <robertl@sco.com>
robertl [Thu, 13 Jan 2000 03:36:00 +0000 (03:36 +0000)]
2000-01-12  Robert Lipe  <robertl@sco.com>

        * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
        (BUILD_VA_LIST_TYPE): Define.
        (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
        with crtstuff.c.

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

24 years ago * gcc.c-torture/execute/20000112-1.c: New test.
law [Thu, 13 Jan 2000 03:31:41 +0000 (03:31 +0000)]
    * gcc.c-torture/execute/20000112-1.c: New test.

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

24 years ago2000-01-12 Robert Lipe <robertl@sco.com>
robertl [Thu, 13 Jan 2000 02:57:43 +0000 (02:57 +0000)]
2000-01-12  Robert Lipe  <robertl@sco.com>
        * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
        (BUILD_VA_LIST_TYPE): Define.
        (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact                  with crtstuff.c.

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

24 years ago * decl.c (start_cleanup_fn): Call pushdecl.
mmitchel [Thu, 13 Jan 2000 02:04:25 +0000 (02:04 +0000)]
* decl.c (start_cleanup_fn): Call pushdecl.

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

24 years ago * configure.in (*-*-beos*): Recognize.
jason [Thu, 13 Jan 2000 01:37:57 +0000 (01:37 +0000)]
    * configure.in (*-*-beos*): Recognize.
        * config/beos.mt: New file.

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

24 years ago * Makefile.in (SHOPT): New macro, flag to ld to create
jason [Thu, 13 Jan 2000 01:37:38 +0000 (01:37 +0000)]
    * Makefile.in (SHOPT): New macro, flag to ld to create
        shared library.  Defaults to "-shared".
        (SHLIB): Use new SHOPT rather than hardcoded "-shared".
        * configure.in: While configuring for *-*-beos*, if
        --enable-shared is given, add beos.ml to list of makefile
        frags.
        * config/beos.ml: New file.

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

24 years ago * configure.in: Fix typo in last change.
mmitchel [Thu, 13 Jan 2000 01:00:59 +0000 (01:00 +0000)]
* configure.in: Fix typo in last change.

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

24 years ago * cccp.c (do_pragma): Add cast to (char *).
jason [Thu, 13 Jan 2000 00:49:57 +0000 (00:49 +0000)]
    * cccp.c (do_pragma): Add cast to (char *).

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

24 years agoregenerate
jason [Thu, 13 Jan 2000 00:48:27 +0000 (00:48 +0000)]
regenerate

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

24 years agoBeOS port
jason [Thu, 13 Jan 2000 00:48:09 +0000 (00:48 +0000)]
BeOS port

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

24 years ago * configure.in: Don't build some bits for beos.
jason [Thu, 13 Jan 2000 00:47:44 +0000 (00:47 +0000)]
    * configure.in: Don't build some bits for beos.

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

24 years ago * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
jason [Thu, 13 Jan 2000 00:37:06 +0000 (00:37 +0000)]
    * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
        * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
        * i386/beos-elf.h, i386/beos-pe.h: New files.

        * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
        * cross-make (SYSTEM_HEADER_DIR): Define using
        CROSS_SYSTEM_HEADER_DIR.

        * gcc.c (LIBRARY_PATH_ENV): Provide default.
        (process_command): Use it.
        (main): Likewise.  Kill trailing = from env vars.
        (build_search_list): Put it back.
        * collect2.c (main): Use LIBRARY_PATH_ENV.

        * configure.in (GCC_NEED_DECLARATIONS): Add environ.
        * toplev.c: Use NEED_DECLARATION_ENVIRON.

        * tm.texi (Frame Layout): Document SMALL_STACK.
        * c-common.c (c_common_nodes_and_builtins): Check it.

        * system.h: Undef alloca after including glibc's <stdlib.h>,
        if USE_C_ALLOCA is defined.

        * gcc.c (set_input): New fn.
        (main): After all input files are compiled, reset the input file
        info to the first.

        * aclocal.m4 (rindex, index): If already defined, don't attempt
        to redefine.

        * ginclude/varargs.h: (__va_list__): Define ifndef.
        * ginclude/stdarg.h: Likewise.

        * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
        instead of unsigned char.

        * hash.h (true, false, boolean): Undef before enum.

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

24 years agodelete stray semicolon
jason [Thu, 13 Jan 2000 00:35:38 +0000 (00:35 +0000)]
delete stray semicolon

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

24 years ago * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
ghazi [Thu, 13 Jan 2000 00:17:33 +0000 (00:17 +0000)]
* svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.

* recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.

* regclass.c (choose_hard_reg_mode): Likewise.

* reload.c (find_valid_class, strict_memory_address_p): Likewise.

* reorg.c (optimize_skip): Wrap prototype in macro conditionals.

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

24 years ago * call.c (convert_class_to_reference): Fix typos.
mmitchel [Wed, 12 Jan 2000 23:27:46 +0000 (23:27 +0000)]
* call.c (convert_class_to_reference): Fix typos.
(build_conditional_expr): Handle errors gracefully.
* class.c (push_nested_class): Likewise.
* cp-tree.h (VAR_FUNCTION_OR_PARM_DECL_CHECK): New macro.
(DECL_THIS_EXTERN): Use it.
(DECL_THIS_STATIC): Likewise.
* cvt.c (convert_to_void): Handle errors gracefully.
(build_expr_type_conversion): Likewise.
* decl.c (maybe_push_decl): Likewise.
(start_decl_1): Likewise.
(require_complete_types_for_parms): Likewise.
* parse.y (structsp): Likewise.
(base_class): Likewise.
* parse.c: Regenerated.
* pt.c (finish_member_template_decl): Likewise.

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

24 years ago * c-common.c: PROTO -> PARAMS.
ghazi [Wed, 12 Jan 2000 22:47:13 +0000 (22:47 +0000)]
    * c-common.c: PROTO -> PARAMS.
        * c-common.h: Likewise.
        * c-decl.c: Likewise.
        * c-iterate.c: Likewise.
        * c-lang.c: Likewise.
        * c-lex.c: Likewise.
        * c-lex.h: Likewise.
        * c-parse.in: Likewise.
        * c-pragma.c: Likewise.
        * c-pragma.h: Likewise.
        * c-tree.h: Likewise.
        * c-typeck.c: Likewise.
        * objc/objc-act.c: Likewise.
        * objc/objc-act.h: Likewise.

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

24 years ago * cp-tree.h (dfs_skip_vbases): New function.
mmitchel [Wed, 12 Jan 2000 20:56:15 +0000 (20:56 +0000)]
* cp-tree.h (dfs_skip_vbases): New function.
(find_vbase_instance): Likewise.
* class.c (determine_primary_base): Allow a nearly empty base to
serve as a primary base class under the new ABI.
(get_class_offset_1): Rename to ...
(dfs_get_class_offset): ... this.  Simplify.  Don't issue error
messages here.
(get_class_offset): Use it.  Issue error messages here.
(dfs_modify_vtables): Rely on dfs_unmarked_real_bases_queue_p to
find the right copies of virtual bases.
(fixup_vtable_deltas1): Rename to ...
(dfs_fixup_vtable_deltas): ... this.  Adjust to handle virtual
bases as primary bases.
(fixup_vtable_deltas): Remove.
(override_one_vtable): Handle virtual bases as primary bases.
(merge_overrides): Likewise.
(finish_struct_1): Likewise.
(dump_class_hierarchy): Dump primary-ness of bases as well.
* search.c (mark_primary_bases): Use a pre-order traversal to
handle primary virtual bases.
(dfs_skip_vbases): New fiunction.
(expand_upcast_fixups): Adjust to handle primary virtual bases.
(fixup_virtual_upcast_offsets): Likewise.
(fixup_all_virtual_upcast_offsets): Likewise.
(dfs_find_vbase_instances): New function.
(find_vbase_instance): Likewise.

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

24 years ago * m88k-protos.h: New file.
ghazi [Wed, 12 Jan 2000 19:50:19 +0000 (19:50 +0000)]
    * m88k-protos.h: New file.

        * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.

        * m88k.md: Likewise.

        * tekXD88.h: Likewise.

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

24 years ago * m68k-protos.h: New file.
ghazi [Wed, 12 Jan 2000 19:24:13 +0000 (19:24 +0000)]
    * m68k-protos.h: New file.

        * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.

        * mot3300.h: Likewise.

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

24 years ago* haifa-sched.c (split_edges): Pass edgeset_size as second arg to
rearnsha [Wed, 12 Jan 2000 18:48:08 +0000 (18:48 +0000)]
* haifa-sched.c (split_edges): Pass edgeset_size as second arg to
extract_bitlst.
(extract_bitlist): Declare bitlen.

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

24 years ago * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
zack [Wed, 12 Jan 2000 17:35:41 +0000 (17:35 +0000)]
* c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
qualifiers don't match at any level of pointerness.

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

24 years ago * cccp.c: Accept and ignore -lang-fortran.
zack [Wed, 12 Jan 2000 17:34:22 +0000 (17:34 +0000)]
* cccp.c: Accept and ignore -lang-fortran.
* f/lang-specs.h: Pass -lang-fortran to preprocessor.

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

24 years ago2000-01-12 Robert Lipe <robertl@sco.com>
robertl [Wed, 12 Jan 2000 16:32:57 +0000 (16:32 +0000)]
2000-01-12  Robert Lipe  <robertl@sco.com>

* i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

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

24 years ago * sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
robertl [Wed, 12 Jan 2000 16:31:32 +0000 (16:31 +0000)]
 * sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

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

24 years agoFix suboptimal code generation bug in reload
crux [Wed, 12 Jan 2000 12:40:49 +0000 (12:40 +0000)]
Fix suboptimal code generation bug in reload

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

24 years ago * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
law [Wed, 12 Jan 2000 11:01:26 +0000 (11:01 +0000)]
    * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
        as include files.

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

24 years agoAdd file missed during recent rtems changes.
law [Wed, 12 Jan 2000 10:47:36 +0000 (10:47 +0000)]
Add file missed during recent rtems changes.

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

24 years ago * reorg.c (fill_slots_from_thread): Check modified_in_p
law [Wed, 12 Jan 2000 10:30:33 +0000 (10:30 +0000)]
    * reorg.c (fill_slots_from_thread): Check modified_in_p
        before replacing.

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