gcc.git
24 years agoFix yet another gcc2 merge problem, this one broke linux kernel compiles
Jim Wilson [Fri, 12 Nov 1999 04:34:37 +0000 (04:34 +0000)]
Fix yet another gcc2 merge problem, this one broke linux kernel compiles

Fix yet another gcc2 merge problem, this one broke linux kernel compiles
        * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.

From-SVN: r30496

24 years agoFix gdb testsuite failures caused by Kenner's bulk merge from gcc2.
Jim Wilson [Fri, 12 Nov 1999 03:56:09 +0000 (03:56 +0000)]
Fix gdb testsuite failures caused by Kenner's bulk merge from gcc2.

* dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
unsigned types.

From-SVN: r30495

24 years agofunction.c (diddle_return_value): Use hard_function_value to get an rtx suitable...
Jeffrey A Law [Fri, 12 Nov 1999 03:46:21 +0000 (03:46 +0000)]
function.c (diddle_return_value): Use hard_function_value to get an rtx suitable for use in the USE/CLOBBER insn.

        * function.c (diddle_return_value): Use hard_function_value to
        get an rtx suitable for use in the USE/CLOBBER insn.

From-SVN: r30494

24 years agoMoved ChangeLog entry to its proper place.
Diego Novillo [Fri, 12 Nov 1999 02:03:47 +0000 (21:03 -0500)]
Moved ChangeLog entry to its proper place.

From-SVN: r30493

24 years agoglobal.c (global_conflicts): Update comments.
Jeffrey A Law [Fri, 12 Nov 1999 01:56:17 +0000 (01:56 +0000)]
global.c (global_conflicts): Update comments.

        * global.c (global_conflicts): Update comments.
        (record_conflicts): No need to record conflicts between pseudos here.

From-SVN: r30492

24 years agoinit.c (init_init_processing): Header information for arrays allocated via `new'...
Diego Novillo [Thu, 11 Nov 1999 19:43:02 +0000 (19:43 +0000)]
init.c (init_init_processing): Header information for arrays allocated via `new' should have the same...

* gcc/cp/init.c (init_init_processing): Header information for
arrays allocated via `new' should have the same alignment used by
malloc.

From-SVN: r30491

24 years agoAdded verbose levels for status messages
Bruce Korb [Thu, 11 Nov 1999 14:57:55 +0000 (14:57 +0000)]
Added verbose levels for status messages

From-SVN: r30490

24 years ago* template9.C: New test.
Alexandre Oliva [Thu, 11 Nov 1999 14:39:01 +0000 (14:39 +0000)]
* template9.C: New test.

From-SVN: r30489

24 years agoRemoved obsolete comment.
Joern Rennecke [Thu, 11 Nov 1999 14:36:30 +0000 (14:36 +0000)]
Removed obsolete comment.

From-SVN: r30488

24 years agoAvoid passing things like NEG into expand_and/expand_binop
Bernd Schmidt [Thu, 11 Nov 1999 12:26:29 +0000 (12:26 +0000)]
Avoid passing things like NEG into expand_and/expand_binop

From-SVN: r30487

24 years agoxcoffout.c (xcoffout_source_file): Change ggc_add_root to gcc_add_string_root.
Rodney Brown [Thu, 11 Nov 1999 10:22:10 +0000 (10:22 +0000)]
xcoffout.c (xcoffout_source_file): Change ggc_add_root to gcc_add_string_root.

* xcoffout.c (xcoffout_source_file): Change ggc_add_root to
gcc_add_string_root.

From-SVN: r30486

24 years agoAdd myself as a C++ maintainer again
Mark Mitchell [Thu, 11 Nov 1999 10:20:49 +0000 (10:20 +0000)]
Add myself as a C++ maintainer again

From-SVN: r30485

24 years agoflow.c (compute_flow_dominators): Initially put all blocks on the worklist.
Jeffrey A Law [Thu, 11 Nov 1999 09:21:12 +0000 (09:21 +0000)]
flow.c (compute_flow_dominators): Initially put all blocks on the worklist.

        * flow.c (compute_flow_dominators): Initially put all blocks on
        the worklist.
        * lcm.c (compute_antinout_edge, compute_available): Similarly.
        * gcse.c (compute_cprop_avinout): Remove.
        (compute_cprop_data): Use compute_available.
        (delete_null_pointer_checks_1): Use compute_available.

From-SVN: r30484

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

From-SVN: r30483

24 years agobasic-block.h (compute_available): Returns a void now.
Jeffrey A Law [Thu, 11 Nov 1999 06:38:15 +0000 (06:38 +0000)]
basic-block.h (compute_available): Returns a void now.

        * basic-block.h (compute_available): Returns a void now.
        * gcse.c (one_classic_gcse_pass): Do not expect compute_available
        to return a value anymore.
        * lcm.c (compute_available, compute_antinout_edge): Revamp to use
        worklists.  Fix boundary cases. Compute maximal solutions.
        (compute_laterin, compute_nearerout): Similarly.

From-SVN: r30482

24 years ago* config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
Jason Eckhardt [Thu, 11 Nov 1999 03:32:40 +0000 (03:32 +0000)]
* config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.

From-SVN: r30481

24 years agodwarf2out.c (add_AT_location_description): Allow (mem (plus (pseudo) (...)) too.
Jeffrey A Law [Wed, 10 Nov 1999 22:57:48 +0000 (22:57 +0000)]
dwarf2out.c (add_AT_location_description): Allow (mem (plus (pseudo) (...)) too.

        * dwarf2out.c (add_AT_location_description): Allow
        (mem (plus (pseudo) (...)) too.

From-SVN: r30480

24 years agoerror.c (dump_function_name): Don't crash if given a friend pseudo-instantiation.
Mark Mitchell [Wed, 10 Nov 1999 22:31:29 +0000 (22:31 +0000)]
error.c (dump_function_name): Don't crash if given a friend pseudo-instantiation.

* error.c (dump_function_name): Don't crash if given a friend
pseudo-instantiation.

From-SVN: r30479

24 years ago* gcc.c (do_spec_1): Support text between `%u' and `%O'.
Tom Tromey [Wed, 10 Nov 1999 19:59:20 +0000 (19:59 +0000)]
* gcc.c (do_spec_1): Support text between `%u' and `%O'.

From-SVN: r30478

24 years agoansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
Philippe De Muyter [Wed, 10 Nov 1999 17:57:21 +0000 (18:57 +0100)]
ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.

include:
        * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.

gcc:
        * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.

        * gansidecl.h: Likewise.

        * rtl.c: Likewise.

        * rtl.h: Likewise.

        * toplev.h: Likewise.

        * tree.c: Likewise.

        * tree.h: Likewise.

        * varray.c: Likewise.

        * varray.h: Likewise.

gcc/cp:
        * cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.

gcc/f:
        * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r30477

24 years agogcov.c (struct arcdata): Add hits and total, remove prob.
Clinton Popetz [Wed, 10 Nov 1999 17:17:15 +0000 (17:17 +0000)]
gcov.c (struct arcdata): Add hits and total, remove prob.

* gcov.c (struct arcdata): Add hits and total, remove prob.
(output_branch_counts): New.
(process_args): Set output_branch_counts if -c.
(calculate_branch_probs): Store hits and total instead of
percentage.
(output_data): Emit counts if output_branch_counts is true.
* gcov.texi (Invoking Gcov): Document -c switch..

From-SVN: r30476

24 years ago* hashtab.c: Include stdio.h.
Jeffrey A Law [Wed, 10 Nov 1999 16:45:34 +0000 (16:45 +0000)]
* hashtab.c: Include stdio.h.

From-SVN: r30475

24 years agoAdded myself as "write after approval"
Clinton Popetz [Wed, 10 Nov 1999 15:20:16 +0000 (10:20 -0500)]
Added myself as "write after approval"

From-SVN: r30474

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

From-SVN: r30472

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