Jeff Sturm [Sun, 16 Jan 2000 21:33:46 +0000 (21:33 +0000)]
StreamTokenizer.java (nextToken): Avoid unread(TT_EOF).
2000-01-16 Jeff Sturm <jsturm@sigma6.com>
* java/io/StreamTokenizer.java (nextToken): Avoid unread(TT_EOF).
From-SVN: r31449
Anthony Green [Sun, 16 Jan 2000 21:01:25 +0000 (21:01 +0000)]
*** empty log message ***
From-SVN: r31448
Mark Mitchell [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.
* init.c (construct_virtual_bases): Don't look up the addresses of
virtual bases at run-time.
From-SVN: r31447
Anthony Green [Sun, 16 Jan 2000 19:55:09 +0000 (19:55 +0000)]
pr83.out: New file.
* libjava.lang/pr83.out: New file.
* libjava.lang/pr83.java: New file.
* libjava.lang/pr109.out: New file.
* libjava.lang/pr109.java: New file.
From-SVN: r31446
Alexandre Oliva [Sun, 16 Jan 2000 18:49:31 +0000 (18:49 +0000)]
Oops, a reference to mmap_zero remained
From-SVN: r31445
Alexandre Oliva [Sun, 16 Jan 2000 18:16:55 +0000 (18:16 +0000)]
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
Zack Weinberg [Sun, 16 Jan 2000 17:53:02 +0000 (17:53 +0000)]
i386.md: Add peephole to merge successive stack adjusts.
* config/i386/i386.md: Add peephole to merge successive stack
adjusts.
From-SVN: r31443
Mark Mitchell [Sun, 16 Jan 2000 17:38:06 +0000 (17:38 +0000)]
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
Mark Mitchell [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.
* decl.c (init_decl_processing): Complain if -fnew-abi
-fno-vtable-thunks is used.
From-SVN: r31441
Mark Mitchell [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.
* decl2.c (lang_decode_option): Don't couple flag_honor_std to
flag_new_abi.
From-SVN: r31440
Mark Mitchell [Sun, 16 Jan 2000 16:59:44 +0000 (16:59 +0000)]
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
Jeff Law [Sun, 16 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r31438
John 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.
* 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
Jeff Law [Sat, 15 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r31436
Mark Mitchell [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.
* optimize.c (copy_body_r): Clear the operand three of a
TARGET_EXPR when copying it.
From-SVN: r31435
Michael Hayes [Sat, 15 Jan 2000 03:01:49 +0000 (03:01 +0000)]
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
Gerald Pfeifer [Sat, 15 Jan 2000 03:00:11 +0000 (04:00 +0100)]
* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
From-SVN: r31433
Martin v. Löwis [Fri, 14 Jan 2000 23:43:19 +0000 (23:43 +0000)]
New test case.
From-SVN: r31432
Martin v. Löwis [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.
* method.c (build_decl_overload_real): Check whether we are in ::
before returning __builtin_new/delete.
From-SVN: r31431
Nathan Sidwell [Fri, 14 Jan 2000 23:11:38 +0000 (23:11 +0000)]
* config.in: Rebuilt for 2000-01-13 change to acconfig.h.
From-SVN: r31430
Kaveh R. Ghazi [Fri, 14 Jan 2000 23:07:07 +0000 (23:07 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 23:03:45 +0000 (23:03 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 23:00:20 +0000 (23:00 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 22:57:31 +0000 (22:57 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 22:53:45 +0000 (22:53 +0000)]
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
Gavin Romig-Koch [Fri, 14 Jan 2000 22:30:12 +0000 (22:30 +0000)]
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
Clinton Popetz [Fri, 14 Jan 2000 21:38:23 +0000 (21:38 +0000)]
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
Clinton Popetz [Fri, 14 Jan 2000 21:21:57 +0000 (21:21 +0000)]
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
Clinton Popetz [Fri, 14 Jan 2000 21:19:51 +0000 (21:19 +0000)]
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
Nick Clifton [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.
From-SVN: r31420
Kaveh R. Ghazi [Fri, 14 Jan 2000 17:14:43 +0000 (17:14 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 16:28:59 +0000 (16:28 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 16:21:46 +0000 (16:21 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 16:16:46 +0000 (16:16 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 16:04:32 +0000 (16:04 +0000)]
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
Kaveh R. Ghazi [Fri, 14 Jan 2000 16:00:37 +0000 (16:00 +0000)]
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
Clinton Popetz [Fri, 14 Jan 2000 14:31:43 +0000 (14:31 +0000)]
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
Gabriel Dos Reis [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>
From-SVN: r31412
Nathan Sidwell [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...
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
Jeffrey A 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.
* 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
Jeffrey A 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...
* 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
Jeff Law [Fri, 14 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r31408
Jeffrey A 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))...
* cse.c (cse_insn): When changing (set (pc) (reg)) to
(set (pc) (label_ref)), verify the change creates a valid insn.
From-SVN: r31407
Jeff Law [Fri, 14 Jan 2000 08:21:53 +0000 (01:21 -0700)]
Copyright dates.
From-SVN: r31406
Jeffrey A 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.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
Richard Henderson [Fri, 14 Jan 2000 06:45:23 +0000 (22:45 -0800)]
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
Mark Mitchell [Fri, 14 Jan 2000 05:45:52 +0000 (05:45 +0000)]
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
Jason Eckhardt [Fri, 14 Jan 2000 02:01:21 +0000 (02:01 +0000)]
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
Jason Merrill [Fri, 14 Jan 2000 01:46:49 +0000 (01:46 +0000)]
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
Joern Rennecke [Fri, 14 Jan 2000 01:37:48 +0000 (01:37 +0000)]
Happy new year!
From-SVN: r31400
Kaveh R. Ghazi [Fri, 14 Jan 2000 00:46:57 +0000 (00:46 +0000)]
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
Kaveh R. 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.
* 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
Nick Clifton [Thu, 13 Jan 2000 23:01:59 +0000 (23:01 +0000)]
fix compile time warnings about unused epilogue instructions
From-SVN: r31397
Zack Weinberg [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.
* longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
to avoid -Wtraditional warning.
From-SVN: r31396
Tom Tromey [Thu, 13 Jan 2000 18:13:31 +0000 (18:13 +0000)]
natClassLoader.cc (_Jv_FindClass): Register `loader', not system loader, as initiating loader.
* java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',
not system loader, as initiating loader.
From-SVN: r31395
Kaveh R. Ghazi [Thu, 13 Jan 2000 18:04:22 +0000 (18:04 +0000)]
1750a-protos.h: New file.
* 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.
From-SVN: r31394
Kaveh R. Ghazi [Thu, 13 Jan 2000 17:57:45 +0000 (17:57 +0000)]
a29k-protos.h: New file.
* 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.
From-SVN: r31393
Kaveh R. Ghazi [Thu, 13 Jan 2000 17:48:08 +0000 (17:48 +0000)]
clipper-protos.h: New file.
* 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.
From-SVN: r31392
J"orn Rennecke [Thu, 13 Jan 2000 16:05:03 +0000 (16:05 +0000)]
* reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
From-SVN: r31389
Nathan Sidwell [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.
* 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: r31388
Nathan Sidwell [Thu, 13 Jan 2000 15:36:24 +0000 (15:36 +0000)]
configure.in (--enable-new-gxx-abi): New option.
* 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.
From-SVN: r31387
Michael Hayes [Thu, 13 Jan 2000 10:43:35 +0000 (10:43 +0000)]
stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
* stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
* tm.texi (FORCE_STRUCT_BLK): Document.
* config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
From-SVN: r31385
Hans-Peter Nilsson [Thu, 13 Jan 2000 10:19:39 +0000 (10:19 +0000)]
ns32k.md: Revert Jan 9 change.
* 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.
From-SVN: r31384
Jeffrey A 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.
* combine.c (if_then_else_cond): Be careful about what kinds
of RTL expressions are passed to operand_subword.
From-SVN: r31383
Jeffrey A Law [Thu, 13 Jan 2000 09:30:08 +0000 (09:30 +0000)]
* gcc.c-torture/execute/
20000113-1.c: New test.
From-SVN: r31382
Jeff Law [Thu, 13 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r31381
Jeffrey A 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 (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.
From-SVN: r31380
Robert Lipe [Thu, 13 Jan 2000 03:36:00 +0000 (03:36 +0000)]
sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
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.
From-SVN: r31379
Jeffrey A Law [Thu, 13 Jan 2000 03:31:41 +0000 (03:31 +0000)]
* gcc.c-torture/execute/
20000112-1.c: New test.
From-SVN: r31378
Robert Lipe [Thu, 13 Jan 2000 02:57:43 +0000 (02:57 +0000)]
sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
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.
From-SVN: r31377
Mark Mitchell [Thu, 13 Jan 2000 02:04:25 +0000 (02:04 +0000)]
* decl.c (start_cleanup_fn): Call pushdecl.
From-SVN: r31376
Fred Fish [Thu, 13 Jan 2000 01:37:57 +0000 (01:37 +0000)]
configure.in (*-*-beos*): Recognize.
* configure.in (*-*-beos*): Recognize.
* config/beos.mt: New file.
From-SVN: r31374
Fred Fish [Thu, 13 Jan 2000 01:37:38 +0000 (01:37 +0000)]
Makefile.in (SHOPT): New macro, flag to ld to create shared library.
* 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.
From-SVN: r31373
Mark Mitchell [Thu, 13 Jan 2000 01:00:59 +0000 (01:00 +0000)]
* configure.in: Fix typo in last change.
From-SVN: r31372
Jason Merrill [Thu, 13 Jan 2000 00:49:57 +0000 (19:49 -0500)]
* cccp.c (do_pragma): Add cast to (char *).
From-SVN: r31371
Jason Merrill [Thu, 13 Jan 2000 00:48:27 +0000 (19:48 -0500)]
regenerate
From-SVN: r31370
Jason Merrill [Thu, 13 Jan 2000 00:48:09 +0000 (19:48 -0500)]
BeOS port
From-SVN: r31369
Richard Henderson [Thu, 13 Jan 2000 00:47:44 +0000 (16:47 -0800)]
* configure.in: Don't build some bits for beos.
From-SVN: r31368
Jason Merrill [Thu, 13 Jan 2000 00:37:06 +0000 (19:37 -0500)]
configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* 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.
From-SVN: r31366
Jason Merrill [Thu, 13 Jan 2000 00:35:38 +0000 (19:35 -0500)]
delete stray semicolon
From-SVN: r31365
Kaveh R. Ghazi [Thu, 13 Jan 2000 00:17:33 +0000 (00:17 +0000)]
svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
* 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.
From-SVN: r31364
Mark Mitchell [Wed, 12 Jan 2000 23:27:46 +0000 (23:27 +0000)]
call.c (convert_class_to_reference): Fix typos.
* 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.
From-SVN: r31363
Kaveh R. Ghazi [Wed, 12 Jan 2000 22:47:13 +0000 (22:47 +0000)]
c-common.c: PROTO -> PARAMS.
* 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.
From-SVN: r31362
Mark Mitchell [Wed, 12 Jan 2000 20:56:15 +0000 (20:56 +0000)]
cp-tree.h (dfs_skip_vbases): New function.
* 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.
From-SVN: r31360
Kaveh R. Ghazi [Wed, 12 Jan 2000 19:50:19 +0000 (19:50 +0000)]
m88k-protos.h: New file.
* 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.
From-SVN: r31359
Kaveh R. Ghazi [Wed, 12 Jan 2000 19:24:13 +0000 (19:24 +0000)]
m68k-protos.h: New file.
* 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.
From-SVN: r31358
Richard Earnshaw [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.
* haifa-sched.c (split_edges): Pass edgeset_size as second arg to
extract_bitlst.
(extract_bitlist): Declare bitlen.
From-SVN: r31357
Zack Weinberg [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...
* c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
qualifiers don't match at any level of pointerness.
From-SVN: r31356
Zack Weinberg [Wed, 12 Jan 2000 17:34:22 +0000 (17:34 +0000)]
cccp.c: Accept and ignore -lang-fortran.
* cccp.c: Accept and ignore -lang-fortran.
* f/lang-specs.h: Pass -lang-fortran to preprocessor.
From-SVN: r31355
Robert Lipe [Wed, 12 Jan 2000 16:32:57 +0000 (16:32 +0000)]
sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2000-01-12 Robert Lipe <robertl@sco.com>
* i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
From-SVN: r31354
Robert Lipe [Wed, 12 Jan 2000 16:31:32 +0000 (16:31 +0000)]
* sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
From-SVN: r31353
Bernd Schmidt [Wed, 12 Jan 2000 12:40:49 +0000 (12:40 +0000)]
Fix suboptimal code generation bug in reload
From-SVN: r31352
Joel Sherrill [Wed, 12 Jan 2000 11:01:26 +0000 (11:01 +0000)]
Makefile.in (CC_FOR_TARGET): Use newlib libraries as well as include files.
* Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
as include files.
From-SVN: r31351
Jeff Law [Wed, 12 Jan 2000 10:47:36 +0000 (03:47 -0700)]
Add file missed during recent rtems changes.
From-SVN: r31350
Toshiyasu Morita [Wed, 12 Jan 2000 10:30:33 +0000 (10:30 +0000)]
reorg.c (fill_slots_from_thread): Check modified_in_p before replacing.
* reorg.c (fill_slots_from_thread): Check modified_in_p
before replacing.
From-SVN: r31349
John Marshall [Wed, 12 Jan 2000 10:25:52 +0000 (10:25 +0000)]
gcc.texi (Funding, [...]): Format these nodes even if INTERNALS is not set.
* gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
these nodes even if INTERNALS is not set.
From-SVN: r31348
Nick Burrett [Wed, 12 Jan 2000 10:16:04 +0000 (10:16 +0000)]
gcse.c (delete_null_pointer_checks_1): Cope when get_condition cannot determine the condition.
* gcse.c (delete_null_pointer_checks_1): Cope when
get_condition cannot determine the condition.
From-SVN: r31347
Jeff Law [Wed, 12 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r31346
Mumit Khan [Wed, 12 Jan 2000 05:22:42 +0000 (05:22 +0000)]
lex.c (DIR_SEPARATOR): Delete macro.
2000-01-11 Mumit Khan <khan@xraylith.wisc.edu>
* lex.c (DIR_SEPARATOR): Delete macro.
From-SVN: r31345
Mumit Khan [Wed, 12 Jan 2000 05:21:12 +0000 (05:21 +0000)]
jcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.
2000-01-11 Mumit Khan <khan@xraylith.wisc.edu>
* jcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.
* jcf-write.c: Likewise.
* parse.y: Likewise.
* parse.c: Regenerate.
From-SVN: r31344