platform/upstream/gcc.git
24 years agogenoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and `INSN_OUTPUT_FORM...
Philippe De Muyter [Wed, 10 Nov 1999 08:12:03 +0000 (09:12 +0100)]
genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.

        * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
        `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.

From-SVN: r30471

24 years agoinvoke.texi (C Dialect Options): Add missing builtins from c-common.c to list.
Hans-Peter Nilsson [Wed, 10 Nov 1999 07:53:20 +0000 (08:53 +0100)]
invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list.

        * invoke.texi (C Dialect Options): Add missing builtins from
        c-common.c to list.
        * extend.texi (Other Builtins): Copy to this list.

From-SVN: r30470

24 years agotypo; missing close paren
Alexandre Oliva [Wed, 10 Nov 1999 07:22:01 +0000 (07:22 +0000)]
typo; missing close paren

From-SVN: r30469

24 years agoMakefile.in (recog.o): Use BASIC_BLOCK_H macro.
Alexandre Oliva [Wed, 10 Nov 1999 07:21:02 +0000 (07:21 +0000)]
Makefile.in (recog.o): Use BASIC_BLOCK_H macro.

* Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
(print-rtl.o, $(HOST_PREIFX_1)print-rtl.o: Likewise.  Remove
redundant bitmap.h.

From-SVN: r30468

24 years agoflow.c (compute_flow_dominators): No longer treat basic block 0 or (n_basic_blocks...
Jeffrey A Law [Wed, 10 Nov 1999 07:05:42 +0000 (07:05 +0000)]
flow.c (compute_flow_dominators): No longer treat basic block 0 or (n_basic_blocks - 1) specially.

        * flow.c (compute_flow_dominators): No longer treat basic block 0
        or (n_basic_blocks - 1) specially.  Clear the AUX field before
        starting computation of doms/pdoms.  Fix initial state for pdoms.

From-SVN: r30467

24 years agoMakefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to match rtl.o's: added...
Alexandre Oliva [Wed, 10 Nov 1999 06:26:16 +0000 (06:26 +0000)]
Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to match rtl.o's: added ggc.h and toplev.h

* Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
match rtl.o's: added ggc.h and toplev.h
($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).

From-SVN: r30466

24 years agore GNATS gcj/84 (path to classes.zip is compiled in to gcj at build time)
Tom Tromey [Wed, 10 Nov 1999 01:38:24 +0000 (01:38 +0000)]
re GNATS gcj/84 (path to classes.zip is compiled in to gcj at build time)

* jcf-path.c: Include <sys/stat.h>.
(jcf_path_init): Search for libjava.zip.  Fixes PR gcj/84.
(DIR_UP): New macro.

From-SVN: r30465

24 years ago[multiple changes]
Tom Tromey [Wed, 10 Nov 1999 01:19:08 +0000 (01:19 +0000)]
[multiple changes]

Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>

* config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
from HAVE_DOS_BASED_FILESYSTEM.
* gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
HAVE_DOS_BASED_FILESYSTEM.
(main): Likewise.
(split_directories): Only special-case DOS file names if
HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
instead of explicit tests.  Conditionalize on !VMS.
(make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
tests.  Conditionalize on !VMS.
(process_command): Only use make_relative_prefix if !VMS.
(free_split_directories): Conditionalize on !VMS.
(DIR_UP): Conditionalize on !VMS.

Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>

* gcc.c (STANDARD_BINDIR_PREFIX): Provide default.

Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>

* gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
case.

Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>

* invoke.texi (Environment Variables): Document relative path
lookup.
* gcc.c (DIR_UP): If not defined, define as "..".
(standard_bindir_prefix): New static, holds target location to
install binaries.
(split_directories): New function to split a filename into
component directories.
(free_split_directories): New function, release memory allocated
by split_directories.
(make_relative_prefix): New function, make a relative pathname if
the compiler is not in the expected location.
(process_command): If GCC_EXEC_PREFIX was not specified, see if we
can figure out an appropriate prefix from argv[0].
* Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
STANDARD_BINDIR_PREFIX.

From-SVN: r30464

24 years agoc4x-protos.h: New file.
Michael Hayes [Tue, 9 Nov 1999 22:56:56 +0000 (22:56 +0000)]
c4x-protos.h: New file.

* config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
in c4x.c.
* config/c4x/c4x.h: Moved prototypes to c4x.h.
* config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
c4x_secondary_memory_needed) Delete.
(fp_zero_operand): Add mode argument.

From-SVN: r30463

24 years agoparse.y (source_end_java_method): Resume permanent allocation, reversing Apr 27 1998...
Alexandre Petit-Bianco [Tue, 9 Nov 1999 20:30:57 +0000 (20:30 +0000)]
parse.y (source_end_java_method): Resume permanent allocation, reversing Apr 27 1998 patch.

Tue Nov  9 12:12:38 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (source_end_java_method): Resume permanent allocation,
  reversing Apr 27 1998 patch.
(patch_string_cst): Pop obstacks after having pushed the permanent
  ones.

From-SVN: r30462

24 years agoreload1.c (reload_reg_free_for_value_p): Don't use a register that is in reload_reg_used.
Andrew Haley [Tue, 9 Nov 1999 16:52:19 +0000 (16:52 +0000)]
reload1.c (reload_reg_free_for_value_p): Don't use a register that is in reload_reg_used.

Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>

* reload1.c (reload_reg_free_for_value_p): Don't use a register
that is in reload_reg_used.

From-SVN: r30461

24 years agoAdd prototypes file.
Nick Clifton [Tue, 9 Nov 1999 16:45:49 +0000 (16:45 +0000)]
Add prototypes file.

From-SVN: r30460

24 years agoAdd prototype header file
Nick Clifton [Tue, 9 Nov 1999 15:07:07 +0000 (15:07 +0000)]
Add prototype header file
Import some code from Cygnus internal sources.

From-SVN: r30459

24 years agoDaily bump.
Jeff Law [Tue, 9 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30458

24 years agocp-tree.h (language_function): Remove x_last_dtor_insn and x_last_parm_cleanup_insn.
Mark Mitchell [Tue, 9 Nov 1999 08:15:07 +0000 (08:15 +0000)]
cp-tree.h (language_function): Remove x_last_dtor_insn and x_last_parm_cleanup_insn.

* cp-tree.h (language_function): Remove x_last_dtor_insn and
x_last_parm_cleanup_insn.
* decl.c (last_dtor_insn): Remove.
(last_parm_cleanup_insn): Likewise.
(expand_start_early_try_stmts): Don't set them.
(store_parm_decls): Likewise.
(save_function_data): Or save them.
(mark_lang_function): Or mark them.

From-SVN: r30457

24 years agodecl.c (store_parm_decls): Generate cleanup code at semantic-analysis time.
Mark Mitchell [Tue, 9 Nov 1999 07:40:14 +0000 (07:40 +0000)]
decl.c (store_parm_decls): Generate cleanup code at semantic-analysis time.

* decl.c (store_parm_decls): Generate cleanup code at
semantic-analysis time.  Destroy objects in the correct order.

From-SVN: r30456

24 years agoglobal.c (EXECUTE_IF_CONFLICT): Don't define.
J"orn Rennecke [Mon, 8 Nov 1999 23:17:51 +0000 (23:17 +0000)]
global.c (EXECUTE_IF_CONFLICT): Don't define.

* global.c (EXECUTE_IF_CONFLICT): Don't define.
(prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
(find_reg): Likewise.

From-SVN: r30455

24 years agopa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0 to avoid assembler errors.
Jason Eckhardt [Mon, 8 Nov 1999 19:26:08 +0000 (19:26 +0000)]
pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0 to avoid assembler errors.

        * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
        to avoid assembler errors.

From-SVN: r30454

24 years ago* hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
Jeffrey A Law [Mon, 8 Nov 1999 16:26:37 +0000 (16:26 +0000)]
* hashtab.c (traverse_hash_table): Protect prototype with PARAMS.

From-SVN: r30453

24 years agoPrototypes for functions defined in target C source files.
Nick Clifton [Mon, 8 Nov 1999 15:43:31 +0000 (15:43 +0000)]
Prototypes for functions defined in target C source files.

From-SVN: r30452

24 years ago*** empty log message ***
Nick Clifton [Mon, 8 Nov 1999 15:42:45 +0000 (15:42 +0000)]
*** empty log message ***

From-SVN: r30451

24 years agoMove prototypes into v850-protos.h
Nick Clifton [Mon, 8 Nov 1999 15:40:38 +0000 (15:40 +0000)]
Move prototypes into v850-protos.h

From-SVN: r30450

24 years agotree.h (get_containing_scope): Declare it.
Mark Mitchell [Mon, 8 Nov 1999 15:27:56 +0000 (15:27 +0000)]
tree.h (get_containing_scope): Declare it.

* tree.h (get_containing_scope): Declare it.
* tree.c (get_containing_scope): New fucntion.
(decl_function_context): Use it.
* toplev.c (rest_of_compilation): Use get_containing_scope.

From-SVN: r30449

24 years agoInclude target-supports.exp
Nick Clifton [Mon, 8 Nov 1999 10:14:21 +0000 (10:14 +0000)]
Include target-supports.exp

From-SVN: r30448

24 years agoDaily bump.
Jeff Law [Mon, 8 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30447

24 years ago* Makefile.in (rtl.o): Depend on toplev.h.
Alexandre Oliva [Mon, 8 Nov 1999 05:28:00 +0000 (05:28 +0000)]
* Makefile.in (rtl.o): Depend on toplev.h.

From-SVN: r30446

24 years agocse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc.
Mark Mitchell [Mon, 8 Nov 1999 04:56:18 +0000 (04:56 +0000)]
cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc.

* cse.c (delete_trivially_dead_insns): Replace alloca with
xmalloc/xcalloc.
* except.c (update_rethrow_references): Likewise.
(init_eh_nesting_info): Likewise.
* function.c (identify_blocks): Likewise.
* gcse.c (dump_hash_table): Likewise.
* graph.c (print_rtl_graph_with_bb): Likewise.
* loop.c (combine_movables): Likewise.
(move_movables): Likewise.
(count_loop_regs_set): Likewise.
(strength_reduce): Likewise.
* profile.c (compute_branch_probabilities): New function, split
out from ...
(branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
* regclass.c (regclass): Likewise.
* regmove.c (regmove_optimize): Likewise.
* toplev.c (compile_file): Likewise.
(main): Don't mess with the stack rlimit.

From-SVN: r30445

24 years agoelfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
Catherine Moore [Mon, 8 Nov 1999 01:46:20 +0000 (01:46 +0000)]
elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.

        * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
        (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.

From-SVN: r30444

24 years agocp-tree.h (begin_new_placement): Remove.
Mark Mitchell [Sun, 7 Nov 1999 22:21:30 +0000 (22:21 +0000)]
cp-tree.h (begin_new_placement): Remove.

* cp-tree.h (begin_new_placement): Remove.
(finish_new_placement): Likewise.
* class.c (finish_struct_1): Don't suspend_momentary or
resume_momentary.
* decl.c (grokdeclarator): Likewise.
(maybe_build_cleanup_1): Likewise.
* except.c (push_eh_cleanup): Likewise.
(build_terminate_handler): Likewise.
* init.c (build_new_1): Likewise.
* parse.y (parse_decl): Change prototype.
(initdecls, notype_initdecls, initdcl): Don't return int.
(initdcl0, notype_initdcl0, initdcl0_innards): Likewise.
(.begin_new_placement): Remove.
(.finish_new_placement): Likewise.
(nonmomentary_expr): Likewise.
(suspend_mom): Likewise.
(condition): Don't suspend_momentary, resume_momentary, or keep
track of need to resume.
(unary_expr): Likewise.
(new_placement): Likewise.
(decl): Likewise.
(structsp): Likewise.
(new_type_id): Likewise.
(maybe_parmlist): Likewise.
(direct_after_type_declaration): Likewise.
(direct_new_declarator): Likewise.
(direct_abstract_declaration): Likewise.
* parse.c: Regenerated.
* pt.c (tsubst_expr): Don't suspend_momentary or resume_momentary.
* semantics.c (begin_new_placement): Remove.
(finish_new_placement): Likewise.

From-SVN: r30443

24 years ago* integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
Mark Mitchell [Sun, 7 Nov 1999 17:24:22 +0000 (17:24 +0000)]
* integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.

From-SVN: r30442

24 years agoglobal.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
Jeffrey A Law [Sun, 7 Nov 1999 10:00:56 +0000 (10:00 +0000)]
global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.

        * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
        (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
        macro expansion.

From-SVN: r30441

24 years agoDaily bump.
Jeff Law [Sun, 7 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30440

24 years agoZipFile.java: Compute the offset of the ZipEntry data correctly.
Anthony Green [Sun, 7 Nov 1999 08:30:31 +0000 (08:30 +0000)]
ZipFile.java: Compute the offset of the ZipEntry data correctly.

        * java/util/zip/ZipFile.java: Compute the offset of the ZipEntry
        data correctly.

From-SVN: r30439

24 years agoglobal.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
Robert Lipe [Sun, 7 Nov 1999 05:50:38 +0000 (05:50 +0000)]
global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.

From-SVN: r30438

24 years agogcse.c (post_dominators): Kill.
Jeffrey A Law [Sun, 7 Nov 1999 00:36:35 +0000 (00:36 +0000)]
gcse.c (post_dominators): Kill.

        * gcse.c (post_dominators): Kill.
        (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
        (compute_code_hoist_data): Use compute_flow_dominators.  Do not
        pass in a pdom array since we do not need pdoms.
        * haifa-sched.c (schedule_insns): Similarly.
        * flow.c (compute_dominators): Remove dead function.
        (compute_flow_dominators): Do not compute doms or pdoms if the
        caller does not request them.  Split up loop to build doms and
        pdoms.  Use a worklist to compute doms and pdoms.
        * basic-block.h (compute_dominators): Remove prototype.

From-SVN: r30437

24 years agoNew test case.
Martin v. Löwis [Sun, 7 Nov 1999 00:10:31 +0000 (00:10 +0000)]
New test case.

From-SVN: r30436

24 years agohaifa-sched.c (struct haifa_insn_data, h_i_d): New.
Richard Henderson [Sat, 6 Nov 1999 19:41:37 +0000 (11:41 -0800)]
haifa-sched.c (struct haifa_insn_data, h_i_d): New.

        * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
        (insn_luid, insn_priority, insn_costs, insn_units): Remove.
        (insn_reg_weight, insn_depend, insn_dep_count): Remove.
        (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
        (cant_move, fed_by_spec_load, is_load_insn): Remove.
        (schedule_region): Remove unused variable.
        (schedule_insns): Allocate h_i_d, and not all the separate arrays.

From-SVN: r30435

24 years agolocal-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
Mark Mitchell [Sat, 6 Nov 1999 19:09:26 +0000 (19:09 +0000)]
local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.

* local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
(update_equiv_regs): Likewise.
(block_alloc): Likewise.
* reg-stack.c (reg_to_stack): Likewise.
(convert_regs_2): Likewise.
* reload1.c (reload_as_needed): Likewise.

From-SVN: r30434

24 years agoMakefile.in (dbxout.o): Depend on ggc.h.
Mark Mitchell [Sat, 6 Nov 1999 18:00:18 +0000 (18:00 +0000)]
Makefile.in (dbxout.o): Depend on ggc.h.

* Makefile.in (dbxout.o): Depend on ggc.h.
(dwarf2out.o): Likewise.
(xcoffout.o): Likewise.
* dbxout.c: Include ggc.h.
(dbxout_init): Register lastfile as a root.
* dwarf2out.c: Include ggc.h.
(dwarf2out_line): Register lastfile as a root.
* xcoffout.c: Include ggc.h.
(xcoffout_source_line): Register xcoff_lastfile as a root.

From-SVN: r30433

24 years ago* i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
Richard Henderson [Sat, 6 Nov 1999 17:53:01 +0000 (09:53 -0800)]
* i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.

From-SVN: r30432

24 years agobitset: Include limits.h.
Martin v. Löwis [Sat, 6 Nov 1999 16:20:39 +0000 (16:20 +0000)]
bitset: Include limits.h.

* bitset: Include limits.h.
* bitset (class bitset): Declare reference as our friend.

From-SVN: r30430

24 years agosvr4.h (ASM_DECLARE_FUNCTION): Check if already defined.
Catherine Moore [Sat, 6 Nov 1999 13:55:07 +0000 (13:55 +0000)]
svr4.h (ASM_DECLARE_FUNCTION): Check if already defined.

        * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
        defined.
        (ASM_DECLARE_FUNCTION_SIZE): Likewise.

From-SVN: r30429

24 years agoDaily bump.
Jeff Law [Sat, 6 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30428

24 years agoFix typo in last change
Jeff Law [Fri, 5 Nov 1999 23:35:47 +0000 (16:35 -0700)]
Fix typo in last change

From-SVN: r30427

24 years agocp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.
Martin v. Löwis [Fri, 5 Nov 1999 23:11:58 +0000 (23:11 +0000)]
cp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.

* cp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.
(DECL_TEMPLATE_INFO): Use it.
* decl.c (warn_extern_redeclared_static): Do nothing for
TEMPLATE_DECLs.
* decl2.c (mark_used): Explicitly check for function or variable.
* semantics.c (finish_unary_op_expr): Check whether result is also
an INTEGER_CST.

From-SVN: r30426

24 years agoglobal.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
J"orn Rennecke [Fri, 5 Nov 1999 23:07:21 +0000 (23:07 +0000)]
global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.

* global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
(EXECUTE_IF_CONFLICT): Likewise.
(ALLOCNO_LIVE_P): Avoid signed division.
(SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
(prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
(record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.

From-SVN: r30425

24 years agovalarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don...
Gabriel Dos Reis [Fri, 5 Nov 1999 22:26:12 +0000 (23:26 +0100)]
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures.

1999-11-05  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION):  When
        building meta-expressions don't forget to take the contained
        closures.

From-SVN: r30424

24 years ago* java/lang/natThread.cc (destroy): Removed incorrect comment.
Tom Tromey [Fri, 5 Nov 1999 20:59:40 +0000 (20:59 +0000)]
* java/lang/natThread.cc (destroy): Removed incorrect comment.

From-SVN: r30423

24 years agohaifa-sched.c (schedule_block): Don't crash if there's no next insn for an interblock...
Richard Henderson [Fri, 5 Nov 1999 20:04:27 +0000 (12:04 -0800)]
haifa-sched.c (schedule_block): Don't crash if there's no next insn for an interblock movement.

        * haifa-sched.c (schedule_block): Don't crash if there's no
        next insn for an interblock movement.
        (add_branch_dependences): Don't allow clobber insns to move either.

From-SVN: r30422

24 years agoRemove accidental addition of CLEAR_CONFLICT.
Jeff Law [Fri, 5 Nov 1999 18:40:34 +0000 (11:40 -0700)]
Remove accidental addition of CLEAR_CONFLICT.

From-SVN: r30421

24 years agore GNATS gcj/85 (Compiler optimizes away private methods when native methods might...
Tom Tromey [Fri, 5 Nov 1999 18:27:28 +0000 (18:27 +0000)]
re GNATS gcj/85 (Compiler optimizes away private methods when native methods might access them)

* class.c (finish_class): Emit inlined methods if any native
methods exist in the class.  Fixes PR gcj/85.

From-SVN: r30420

24 years agoi386.c (split_xf): New.
Richard Henderson [Fri, 5 Nov 1999 18:19:55 +0000 (10:19 -0800)]
i386.c (split_xf): New.

        * i386.c (split_xf): New.
        * i386-protos.h: Declare it.
        * i386.md (movxf_1): Add general regs alternatives.
        (movxf_1+1): New splitter for same.

From-SVN: r30419

24 years agoboehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current.
Jeff Sturm [Fri, 5 Nov 1999 17:34:32 +0000 (17:34 +0000)]
boehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current.

1999-11-05  Jeff Sturm  <jsturm@sigma6.com>

* boehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current.
* prims.cc (parse_heap_size): Use end, not spec.  Use 1024
multipler for `k'.

From-SVN: r30418

24 years agonatThread.cc (stop): Removed argument name.
Tom Tromey [Fri, 5 Nov 1999 17:10:17 +0000 (17:10 +0000)]
natThread.cc (stop): Removed argument name.

* java/lang/natThread.cc (stop): Removed argument name.

* java/lang/ThreadGroup.java (ThreadGroup(int)): No longer
`private'; now has default access.
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/ThreadGroup.h): Removed.

From-SVN: r30417

24 years agooops - add missing return values
Nick Clifton [Fri, 5 Nov 1999 12:08:09 +0000 (12:08 +0000)]
oops - add missing return values

From-SVN: r30416

24 years agoCreate proc to test for alias attribute support from targets.
Nick Clifton [Fri, 5 Nov 1999 10:38:01 +0000 (10:38 +0000)]
Create proc to test for alias attribute support from targets.

Use this test to disable ecos tests for alias support if the target does not
support them.

From-SVN: r30415

24 years agoIf purge_addressof_1 fails to remove addressofs in notes, remove the notes
Nick Clifton [Fri, 5 Nov 1999 10:11:40 +0000 (10:11 +0000)]
If purge_addressof_1 fails to remove addressofs in notes, remove the notes
instead.

From-SVN: r30414

24 years agoExpect error messages from cross targets as well as native targets.
Nick Clifton [Fri, 5 Nov 1999 09:58:18 +0000 (09:58 +0000)]
Expect error messages from cross targets as well as native targets.

From-SVN: r30413

24 years agoMakefile.in (typeck2.o): Depend on output.h.
Mark Mitchell [Fri, 5 Nov 1999 09:26:11 +0000 (09:26 +0000)]
Makefile.in (typeck2.o): Depend on output.h.

* Makefile.in (typeck2.o): Depend on output.h.
* typeck2.c: Include output.h.

* decl.c (flag_ansi): Remove declaration.

* pt.c (tinst_level_tick): Make it static.
(last_template_error_tick): Likewise.

* cp-tree.h (mapcar): Remove declaration.
(search_tree): Likewise.
(walk_tree_fn): New typedef.
(walk_tree): New function.
* tree.c (bot_manip): Change prototype.  Adjust to be called via
walk_tree.
(bot_replace): Likewise.
(no_linkage_helper): Likewise.
(copy_tree_r): New function.
(search_tree): Rename, and adjust, to become ...
(walk_tree): New function.
(mapcar): Remove.
(target_remap): Remove.
(target_remap_count): Likewise.
(break_out_target_exprs): Use walk_tree.
* decl.c (local_variable_p): Change prototype.
(check_default_argument): Use walk_tree.
* pt.c (for_each_template_parm_r): New function, split out from ...
(for_each_template_parm): Here.  Use it, via walk_tree.

From-SVN: r30412

24 years agoMakefile.in (typeck2.o): Depend on output.h.
Mark Mitchell [Fri, 5 Nov 1999 09:21:53 +0000 (09:21 +0000)]
Makefile.in (typeck2.o): Depend on output.h.

* Makefile.in (typeck2.o): Depend on output.h.
* typeck2.c: Include output.h.

From-SVN: r30411

24 years agogenoutput.c (null_operand =): Initialize all fields.
Andreas Jaeger [Fri, 5 Nov 1999 09:12:56 +0000 (10:12 +0100)]
genoutput.c (null_operand =): Initialize all fields.

        * genoutput.c (null_operand =): Initialize all fields.

        * errors.h: Add extern to prototypes.

From-SVN: r30410

24 years agoconfigure.in (m68k-next-nextstep4): Handle Openstep 4.2.
Jeffrey A Law [Fri, 5 Nov 1999 08:50:01 +0000 (08:50 +0000)]
configure.in (m68k-next-nextstep4): Handle Openstep 4.2.

        * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
        * configure: Rebuilt.

From-SVN: r30409

24 years agoDaily bump.
Jeff Law [Fri, 5 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30408

24 years ago[multiple changes]
Jeff Law [Fri, 5 Nov 1999 08:31:48 +0000 (01:31 -0700)]
[multiple changes]

Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>

        * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
        (mirror_conflicts): New function.
        (global_alloc): Call it.
        (expand_preferences): Remove redundant CONFLICTP test.
        (find_reg, dump_conflicts): Likewise.
        (prune_preferences): Process conflicts one word at a time.

Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>

        * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
        instead of an explicit loop.

From-SVN: r30407

24 years agoFix cse bug that broke the ia64 port.
Jim Wilson [Fri, 5 Nov 1999 07:08:13 +0000 (07:08 +0000)]
Fix cse bug that broke the ia64 port.

* cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
if REG_RETVAL check succeeds, then put classp in src_elt.

From-SVN: r30406

24 years agofunction.c (pad_to_arg_alignment): Only update argument_pad if the argument's alignme...
Jeffrey A Law [Fri, 5 Nov 1999 06:49:38 +0000 (06:49 +0000)]
function.c (pad_to_arg_alignment): Only update argument_pad if the argument's alignment is greater than STACK_BOUNDARY.

        * function.c (pad_to_arg_alignment): Only update argument_pad
        if the argument's alignment is greater than STACK_BOUNDARY.

From-SVN: r30405

24 years agobitmap.h (BITMAP_XFREE): New.
Richard Henderson [Fri, 5 Nov 1999 00:49:03 +0000 (16:49 -0800)]
bitmap.h (BITMAP_XFREE): New.

        * bitmap.h (BITMAP_XFREE): New.
        * flow.c (life_analysis): Use it.
        (life_analysis_1): Free blocks.

        * combine.c (undo_commit): New.
        (try_combine): Use it.  Don't zap undobuf.undos.
        (combine_instructions): Don't zap undobuf.undos; free the
        undobuf.frees list.

        * local-alloc.c (local_alloc): Free qty_phys_num_sugg.

        * stmt.c (cost_table_): New.
        (estimate_case_costs): Use it instead of xmalloc.

        * toplev.c (compile_file): Reuse dumpname memory instead
        of strdup'ing it.

From-SVN: r30404

24 years agohaifa-sched.c (init_rgn_data_dependences): Correctly size bb_pending_lists_length...
Richard Henderson [Fri, 5 Nov 1999 00:41:11 +0000 (16:41 -0800)]
haifa-sched.c (init_rgn_data_dependences): Correctly size bb_pending_lists_length when zeroing.

        * haifa-sched.c (init_rgn_data_dependences): Correctly
        size bb_pending_lists_length when zeroing.

From-SVN: r30403

24 years agoreg-stack.c (convert_regs_1): Initialize target_stack->top after verifying an EH...
Richard Henderson [Fri, 5 Nov 1999 00:37:48 +0000 (16:37 -0800)]
reg-stack.c (convert_regs_1): Initialize target_stack->top after verifying an EH edge.

        * reg-stack.c (convert_regs_1): Initialize target_stack->top
        after verifying an EH edge.

From-SVN: r30402

24 years agofunction.c (diddle_return_value): New.
Richard Henderson [Fri, 5 Nov 1999 00:35:10 +0000 (16:35 -0800)]
function.c (diddle_return_value): New.

        * function.c (diddle_return_value): New.
        (expand_function_end): Use it.
        * stmt.c (expand_null_return): Likewise.
        (expand_value_return): Likewise.

        * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.

        * reload1.c (reload): Don't remove return value clobbers.

From-SVN: r30401

24 years ago* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
Richard Henderson [Thu, 4 Nov 1999 21:35:22 +0000 (13:35 -0800)]
* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.

From-SVN: r30400

24 years agocse.c (cse_main): Use xmalloc, not alloca.
Richard Henderson [Thu, 4 Nov 1999 20:51:04 +0000 (12:51 -0800)]
cse.c (cse_main): Use xmalloc, not alloca.

        * cse.c (cse_main): Use xmalloc, not alloca.
        (cse_basic_block): Likewise.
        * local-alloc.c (local_alloc): Likewise.

From-SVN: r30399

24 years agortl.c: Include toplev.h.
David Billinghurst [Thu, 4 Nov 1999 19:51:48 +0000 (19:51 +0000)]
rtl.c: Include toplev.h.

* rtl.c: Include toplev.h.
(fatal): Remove declaration.

From-SVN: r30398

24 years agonatClass.cc (method_cache_count): Removed.
Tom Tromey [Thu, 4 Nov 1999 19:47:01 +0000 (19:47 +0000)]
natClass.cc (method_cache_count): Removed.

* java/lang/natClass.cc (method_cache_count): Removed.
(_Jv_FindMethodInCache): Don't loop looking for the hash entry.
(_Jv_AddMethodToCache): Don't loop.

From-SVN: r30397

24 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 4 Nov 1999 19:39:50 +0000 (19:39 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.

From-SVN: r30396

24 years agomisc.c (GC_init_inner): Don't call GC_init_linuxppc().
Tom Tromey [Thu, 4 Nov 1999 18:53:24 +0000 (18:53 +0000)]
misc.c (GC_init_inner): Don't call GC_init_linuxppc().

* misc.c (GC_init_inner): Don't call GC_init_linuxppc().
(GC_thr_init): Don't declare.

From-SVN: r30395

24 years agoconfigure: Rebuilt.
Tom Tromey [Thu, 4 Nov 1999 17:25:07 +0000 (17:25 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Removed qt threads case.
* dyn_load.c: Don't mention QUICK_THREADS.
* os_dep.c: Don't mention QUICK_THREADS.
* misc.c: Don't mention QUICK_THREADS.
* gcconfig.h: Don't mention QUICK_THREADS.
* gc_priv.h: Removed QUICK_THREADS code.
* quick_threads.c: Removed.

From-SVN: r30394

24 years agoconfigure.in: Removed `qt' threads case.
Tom Tromey [Thu, 4 Nov 1999 17:12:25 +0000 (17:12 +0000)]
configure.in: Removed `qt' threads case.

* configure.in: Removed `qt' threads case.
* include/quick-threads.h: Removed.
* quick-threads.cc: Removed.

From-SVN: r30393

24 years agoquick-threads.h (_Jv_ThreadCancel): Removed.
Tom Tromey [Thu, 4 Nov 1999 16:45:11 +0000 (16:45 +0000)]
quick-threads.h (_Jv_ThreadCancel): Removed.

* include/quick-threads.h (_Jv_ThreadCancel): Removed.
(_Jv_ThreadDestroy): Likewise.
* include/no-threads.h (_Jv_ThreadCancel): Removed.
(_Jv_ThreadDestroy): Likewise.
* include/posix-threads.h (struct _Jv_Thread_t): Removed
`exception' field.
(_Jv_ThreadCancel): Removed decl.
(_Jv_ThreadDestroy): Removed.
* posix-threads.cc (_Jv_ThreadCancel): Removed.
(throw_cleanup): Removed.
(really_start): Don't push or pop cleanup.
(_Jv_ThreadInitData): Don't initialize `exception' field.
* java/lang/Thread.java (stop): Officially unimplemented.
* java/lang/natThread.cc (stop): Officially unimplemented.

From-SVN: r30392

24 years agoAllow for systems that do not have S_IR* defined values
Bruce Korb [Thu, 4 Nov 1999 14:50:44 +0000 (14:50 +0000)]
Allow for systems that do not have S_IR* defined values
Do not call realloc with a NULL pointer

From-SVN: r30391

24 years ago* haifa-sched.c (schedule_block): Fix thinko.
Jeffrey A Law [Thu, 4 Nov 1999 13:39:28 +0000 (13:39 +0000)]
* haifa-sched.c (schedule_block): Fix thinko.

From-SVN: r30390

24 years agoDaily bump.
Jeff Law [Thu, 4 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30389

24 years agoflags.h (flag_renumber_insns): Declare.
Mark Mitchell [Thu, 4 Nov 1999 07:23:58 +0000 (07:23 +0000)]
flags.h (flag_renumber_insns): Declare.

* flags.h (flag_renumber_insns): Declare.
* emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
renumbering table.
* rtl.h (renumber_insns): Change prototype.
* toplev.c (flag_renumber_insns): Define.
(rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.

From-SVN: r30388

24 years agortl.h (renumber_insns): New function.
Mark Mitchell [Thu, 4 Nov 1999 06:44:29 +0000 (06:44 +0000)]
rtl.h (renumber_insns): New function.

* rtl.h (renumber_insns): New function.
(remove_unnecessary_notes): Likewise.
* emit-rtl.c (renumber_insns): Define.
(remove_unncessary_notes): Likewise.
* toplev.c (rest_of_compilation): Remove dead code.
Use renumber_insns and remove_unncessary_notes.

From-SVN: r30387

24 years ago[multiple changes]
David S. Miller [Wed, 3 Nov 1999 23:25:02 +0000 (15:25 -0800)]
[multiple changes]

Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
and fpsqrtd.  Use them and create fdiv function unit to more
accurately represent fpu sqrt pipeline semantics on UltraSparc.
* config/sparc/sparc.c: Account for fpsqrt{s,d} changes.

Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>

* config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
3 on UltraSparc.
* config/sparc/sparc.c (ultra_schedule_insn): Insert launched
insn into ready list, do not use just a raw swap.

From-SVN: r30386

24 years agortl.h (renumber_insns): New function.
Mark Mitchell [Wed, 3 Nov 1999 23:18:57 +0000 (23:18 +0000)]
rtl.h (renumber_insns): New function.

* rtl.h (renumber_insns): New function.
(remove_unnecessary_notes): Likewise.
* emit-rtl.c (renumber_insns): Define.
(remove_unncessary_notes): Likewise.
* toplev.c (rest_of_compilation): Remove dead code.
Use renumber_insns and remove_unncessary_notes.

From-SVN: r30385

24 years agogcse.c (struct null_pointer_info): New type.
Mark Mitchell [Wed, 3 Nov 1999 22:45:45 +0000 (22:45 +0000)]
gcse.c (struct null_pointer_info): New type.

* gcse.c (struct null_pointer_info): New type.
(get_bitmap_width): New function.
(current_block): Remove.
(nonnull_local): Likewise.
(nonnull_killed): Likewise.
(invalidate_nonnull_info): Take a null_pointer_info as input.
(delete_null_pointer_checks_1): New function.
(delete_null_pointer_checks): Use it.

From-SVN: r30384

24 years agohaifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
Mark Mitchell [Wed, 3 Nov 1999 22:44:10 +0000 (22:44 +0000)]
haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.

* haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
(split_edges): Likewise.
(schedule_block): Likewise.
(compute_block_backward_dependencies): Likewise.
(schedule_region): Likewise.
(schedule_insns): Likewise.

From-SVN: r30383

24 years agodefaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
Catherine Moore [Wed, 3 Nov 1999 21:55:51 +0000 (21:55 +0000)]
defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.

        * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
        * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
        * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
        * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
        * jump.c (delete_unreferenced_labels): Don't delete if
        LABEL_ALTERNATE_NAME is set.
        * print-rtl.c (print_rtx): Dump alternate name.
        * rtl.def (CODE_LABEL): Change format to "iuuis00s".
        * rtl.h (LABEL_ALTERNATE_NAME): Define.
        * rtl.texi (LABEL_ALTERNATE_NAME): Document.
        * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.

From-SVN: r30382

24 years agoclass.c (check_bitfield_decl): New function, split out from finish_stuct_1.
Mark Mitchell [Wed, 3 Nov 1999 21:34:04 +0000 (21:34 +0000)]
class.c (check_bitfield_decl): New function, split out from finish_stuct_1.

* class.c (check_bitfield_decl): New function, split out from
finish_stuct_1.
(check_field_decl): Likewise.  Recursively examine members of
anonymous structs.
(finish_struct_1): Use them.
* cp-tree.h (ANON_UNION_TYPE_P): New macro.

From-SVN: r30381

24 years agofix-header.c (recognized_extern, [...]): Constify a char*.
Kaveh R. Ghazi [Wed, 3 Nov 1999 20:40:32 +0000 (20:40 +0000)]
fix-header.c (recognized_extern, [...]): Constify a char*.

        * fix-header.c (recognized_extern, recognized_function): Constify
        a char*.

        * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
        (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
        (compute_available): Remove unused variable `last'.
        (compute_nearerout): Remove unused variable `temp_bitmap'.
        (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
        Remove unused variable `x'.

        * scan.h (recognized_function, recognized_extern): Constify a
        char*.

        * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.

From-SVN: r30380

24 years agoActually removed files which were supposedly
Tom Tromey [Wed, 3 Nov 1999 19:25:13 +0000 (19:25 +0000)]
Actually removed files which were supposedly
removed a long time ago.

From-SVN: r30379

24 years agovarasm.c (decode_rtx_const): Use XSTR to access the string of a SYMBOL_REF.
Franz Sirl [Wed, 3 Nov 1999 18:42:17 +0000 (10:42 -0800)]
varasm.c (decode_rtx_const): Use XSTR to access the string of a SYMBOL_REF.

         * varasm.c (decode_rtx_const): Use XSTR to access the string
         of a SYMBOL_REF.

From-SVN: r30378

24 years ago* c-decl.c (duplicate_decls): Copy DECL_MODE too.
Richard Henderson [Wed, 3 Nov 1999 18:11:23 +0000 (10:11 -0800)]
* c-decl.c (duplicate_decls): Copy DECL_MODE too.

From-SVN: r30377

24 years ago* gcconfig.h: Merged in local changes from old config.h.
Tom Tromey [Wed, 3 Nov 1999 17:26:59 +0000 (17:26 +0000)]
* gcconfig.h: Merged in local changes from old config.h.

From-SVN: r30376

24 years agopa.c (ireg_operand): New function.
Jeffrey A Law [Wed, 3 Nov 1999 13:25:17 +0000 (13:25 +0000)]
pa.c (ireg_operand): New function.

        * pa.c (ireg_operand): New function.
        * pa.h (PREDICATE_CODES): Handle ireg_operand.
        * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
        Fix out of date comment.

From-SVN: r30375

24 years ago* pa.md (negdi2): Turn into expander + anonymous pattern.
Jeffrey A Law [Wed, 3 Nov 1999 12:45:21 +0000 (12:45 +0000)]
* pa.md (negdi2): Turn into expander + anonymous pattern.

From-SVN: r30374

24 years ago* reload.c (find_reloads): Fix typos in recent change.
Jeffrey A Law [Wed, 3 Nov 1999 12:43:35 +0000 (12:43 +0000)]
* reload.c (find_reloads): Fix typos in recent change.

From-SVN: r30373

24 years agoCopy reg notes in eliminate_regs_in_insn.
Bernd Schmidt [Wed, 3 Nov 1999 11:23:27 +0000 (11:23 +0000)]
Copy reg notes in eliminate_regs_in_insn.

From-SVN: r30372

24 years ago* dwarf2out.c: Do not include ctype.h.
Jeffrey A Law [Wed, 3 Nov 1999 10:28:30 +0000 (10:28 +0000)]
* dwarf2out.c: Do not include ctype.h.

From-SVN: r30371