Alexandre Oliva
a0f20853ca
Oops, a reference to mmap_zero remained
...
From-SVN: r31445
2000-01-16 18:49:31 +00:00
Alexandre Oliva
4acab94bfa
aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
...
* 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.
From-SVN: r31444
2000-01-16 18:16:55 +00:00
Zack Weinberg
08439bec5f
i386.md: Add peephole to merge successive stack adjusts.
...
* config/i386/i386.md: Add peephole to merge successive stack
adjusts.
From-SVN: r31443
2000-01-16 17:53:02 +00:00
Mark Mitchell
f83611476f
class.c (build_vbase_pointer): Relocate.
...
* class.c (build_vbase_pointer): Relocate.
(build_vbase_pointer_fields): Likewise.
(dfs_build_vbase_offset_vtbl_entries): Likewise.
(build_vbase_offset_vtbl_entries): Likewise.
From-SVN: r31442
2000-01-16 17:38:06 +00:00
Mark Mitchell
5bb2a29215
decl.c (init_decl_processing): Complain if -fnew-abi -fno-vtable-thunks is used.
...
* decl.c (init_decl_processing): Complain if -fnew-abi
-fno-vtable-thunks is used.
From-SVN: r31441
2000-01-16 17:06:42 +00:00
Mark Mitchell
84602ee016
decl2.c (lang_decode_option): Don't couple flag_honor_std to flag_new_abi.
...
* decl2.c (lang_decode_option): Don't couple flag_honor_std to
flag_new_abi.
From-SVN: r31440
2000-01-16 17:03:49 +00:00
Mark Mitchell
70ae320124
cp-tree.h (num_extra_vtbl_entries): New function.
...
* 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.
From-SVN: r31439
2000-01-16 16:59:44 +00:00
Jeff Law
2f4facc91e
Daily bump.
...
From-SVN: r31438
2000-01-16 01:45:07 -07:00
John Wehle
b522962825
gcse.c (insert_insn_end_bb): Use emit_block_insn_before instead of emit_insn_before.
...
* 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.
From-SVN: r31437
2000-01-15 20:46:21 +00:00
Jeff Law
8430ac57f2
Daily bump.
...
From-SVN: r31436
2000-01-15 01:45:06 -07:00
Mark Mitchell
ef97bf6bdd
optimize.c (copy_body_r): Clear the operand three of a TARGET_EXPR when copying it.
...
* optimize.c (copy_body_r): Clear the operand three of a
TARGET_EXPR when copying it.
From-SVN: r31435
2000-01-15 04:36:04 +00:00
Michael Hayes
a2be868fba
loop.c (this_loop_info): Delete.
...
* 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.
From-SVN: r31434
2000-01-15 03:01:49 +00:00
Gerald Pfeifer
d07ecc3bdf
* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
...
From-SVN: r31433
2000-01-15 03:00:11 +00:00
Martin v. Löwis
f2aabbd80d
New test case.
...
From-SVN: r31432
2000-01-14 23:43:19 +00:00
Martin v. Löwis
64f1326a88
method.c (build_decl_overload_real): Check whether we are in :: before returning __builtin_new/delete.
...
* method.c (build_decl_overload_real): Check whether we are in ::
before returning __builtin_new/delete.
From-SVN: r31431
2000-01-14 23:42:10 +00:00
Nathan Sidwell
0f7624fc47
* config.in: Rebuilt for 2000-01-13 change to acconfig.h.
...
From-SVN: r31430
2000-01-14 23:11:38 +00:00
Kaveh R. Ghazi
b0106b2463
pdp11-protos.h: New file.
...
* 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.
From-SVN: r31429
2000-01-14 23:07:07 +00:00
Kaveh R. Ghazi
69bc71fad0
mn10300-protos.h: New file.
...
* 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.
From-SVN: r31428
2000-01-14 23:03:45 +00:00
Kaveh R. Ghazi
ac42d1e9b1
mn10200-protos.h: New file.
...
* 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.
From-SVN: r31427
2000-01-14 23:00:20 +00:00
Kaveh R. Ghazi
441d04c6db
h8300-protos.h: New file.
...
* 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.
From-SVN: r31426
2000-01-14 22:57:31 +00:00
Kaveh R. Ghazi
05b13f5974
varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
...
* varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
(asm_emit_uninitialised): Likewise.
From-SVN: r31425
2000-01-14 22:53:45 +00:00
Gavin Romig-Koch
0025b7fa03
mips.h (ISA_HAS_INT_CONDMOVE): New.
...
* config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
* config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
From-SVN: r31424
2000-01-14 22:30:12 +00:00
Clinton Popetz
ea64cab431
mips.c (override_options): Don't turn on extra alignment for mips16.
...
* config/mips/mips.c (override_options): Don't turn on extra
alignment for mips16.
From-SVN: r31423
2000-01-14 16:38:23 -05:00
Clinton Popetz
f5c8ac96dc
mips.c (mips_va_arg): Fix fprv for the 32 bit eabi...
...
* 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.
From-SVN: r31422
2000-01-14 16:21:57 -05:00
Clinton Popetz
5e4f624424
builtins.c (PAD_VARARGS_DOWN): Define.
...
* 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.
From-SVN: r31421
2000-01-14 16:19:51 -05:00
Nick Clifton
06be917325
If RTL checking is enabled, make sure that emit_insn is not used to emit a
...
jump insn.
From-SVN: r31420
2000-01-14 20:51:04 +00:00
Kaveh R. Ghazi
711d877c9e
eh-common.h: PROTO -> PARAMS.
...
* 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.
From-SVN: r31419
2000-01-14 17:14:43 +00:00
Kaveh R. Ghazi
318881c06e
sh-protos.h: New file.
...
* 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.
From-SVN: r31418
2000-01-14 16:28:59 +00:00
Kaveh R. Ghazi
2b046bda6e
arc-protos.h: New file.
...
* 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.
From-SVN: r31417
2000-01-14 16:21:46 +00:00
Kaveh R. Ghazi
699851185a
dsp16xx-protos.h: New file.
...
* 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.
From-SVN: r31416
2000-01-14 16:16:46 +00:00
Kaveh R. Ghazi
6b995286d6
convex-protos.h: New file.
...
* 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.
From-SVN: r31415
2000-01-14 16:04:32 +00:00
Kaveh R. Ghazi
ab52604591
elxsi-protos.h: New file.
...
* 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.
From-SVN: r31414
2000-01-14 16:00:37 +00:00
Clinton Popetz
4790d87842
mips.h (REGISTER_MOVE_COST): Remove redundant case for moving from HI/LO/HI_LO_REG.
...
* 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.
From-SVN: r31413
2000-01-14 09:31:43 -05:00
Gabriel Dos Reis
eff3ac4619
Commit the change corresponding to the ChangeLog entry:
...
2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
From-SVN: r31412
2000-01-14 11:51:14 +00:00
Nathan Sidwell
084871173a
Commit ChangeLog entries 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com> corresponding to commit of configure.in 1.324...
...
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.
From-SVN: r31411
2000-01-14 11:22:56 +00:00
Jeffrey A Law
414094ded1
flow.c (split_edge): Do not call set_block_for_insn if we do not have a basic_block_for_insn structure.
...
* flow.c (split_edge): Do not call set_block_for_insn if we
do not have a basic_block_for_insn structure.
From-SVN: r31410
2000-01-14 04:21:22 -07:00
Jeffrey A Law
254a8f0dbe
fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain and destination functions are 32bit aligned...
...
* 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.
From-SVN: r31409
2000-01-14 02:28:10 -07:00
Jeff Law
b2eadaa201
Daily bump.
...
From-SVN: r31408
2000-01-14 01:45:06 -07:00
Jeffrey A Law
516ff948a7
cse.c (cse_insn): When changing (set (pc) (reg)) to (set (pc) (label_ref))...
...
* cse.c (cse_insn): When changing (set (pc) (reg)) to
(set (pc) (label_ref)), verify the change creates a valid insn.
From-SVN: r31407
2000-01-14 01:35:56 -07:00
Jeff Law
66ec088841
Copyright dates.
...
From-SVN: r31406
2000-01-14 01:21:53 -07:00
Jeffrey A Law
6e11d5e9ae
fr30.c (call_operand): Tighten and rework to match rules for call RTL expressions.
...
* 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.
From-SVN: r31405
2000-01-14 00:29:20 -07:00
Richard Henderson
c99df6842d
fr30.c (fr30_expand_epilogue): Revert last change.
...
* fr30.c (fr30_expand_epilogue): Revert last change.
Use emit_jump_insn for the return insn.
From-SVN: r31404
2000-01-13 23:45:23 -07:00
Mark Mitchell
1c2278974c
pt.c (tsubst_friend_function): Improve comment.
...
* pt.c (tsubst_friend_function): Improve comment.
(instantiate_decl): Avoid crashing when a "nested" function is
instantiated from the top level.
From-SVN: r31403
2000-01-14 05:45:52 +00:00
Jason Eckhardt
f1ebdfc52a
predict.c: New file.
...
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.
Co-Authored-By: Stan Cox <scox@cygnus.com>
From-SVN: r31402
2000-01-14 02:01:21 +00:00
Jason Merrill
91baa91841
fixincludes (va_list): Use __not_va_list__ for the dummy.
...
* fixincludes (va_list): Use __not_va_list__ for the dummy.
* fixinc/*: Likewise.
From-SVN: r31401
2000-01-13 20:46:49 -05:00
Joern Rennecke
17ca0d816a
Happy new year!
...
From-SVN: r31400
2000-01-14 01:37:48 +00:00
Kaveh R. Ghazi
83d2b3b9dc
cccp.c: PROTO -> PARAMS.
...
* 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.
From-SVN: r31399
2000-01-14 00:46:57 +00:00
Kaveh R. Ghazi
57bed15271
calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in macro conditionals guarding use.
...
* 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'.
From-SVN: r31398
2000-01-13 23:43:55 +00:00
Nick Clifton
ff17f16403
fix compile time warnings about unused epilogue instructions
...
From-SVN: r31397
2000-01-13 23:01:59 +00:00
Zack Weinberg
2a0e04e247
longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv' to avoid -Wtraditional warning.
...
* longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
to avoid -Wtraditional warning.
From-SVN: r31396
2000-01-13 18:18:10 +00:00