platform/upstream/gcc.git
24 years ago* rtti.c (synthesize_tinfo_fn): Set DECL_DEFER_OUTPUT.
Jason Merrill [Fri, 12 Nov 1999 22:25:42 +0000 (22:25 +0000)]
* rtti.c (synthesize_tinfo_fn): Set DECL_DEFER_OUTPUT.

From-SVN: r30514

24 years ago* unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
Richard Henderson [Fri, 12 Nov 1999 20:44:13 +0000 (12:44 -0800)]
* unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.

From-SVN: r30513

24 years agoRemoving one unnecessary comment. It should be in the previous i960.h patch.
Vladimir Makarov [Fri, 12 Nov 1999 20:28:43 +0000 (20:28 +0000)]
Removing one unnecessary comment.  It should be in the previous i960.h patch.

From-SVN: r30512

24 years agoi960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
Vladimir Makarov [Fri, 12 Nov 1999 20:26:29 +0000 (20:26 +0000)]
i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.

Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>

* i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
(FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
(ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
(INITIAL_FRAME_POINTER_OFFSET): Remove it.

* i960.c (i960_function_prologue): Don't allocate space for g8-g11
  saved on the stack.  Output more accurate stack frame statistics
into assembler file.

From-SVN: r30511

24 years agoinit.c (init_init_processing): Re-instated Nov 11 patch after approval.
Diego Novillo [Fri, 12 Nov 1999 19:59:01 +0000 (19:59 +0000)]
init.c (init_init_processing): Re-instated Nov 11 patch after approval.

* init.c (init_init_processing): Re-instated Nov 11 patch after
approval.

From-SVN: r30510

24 years agogenextract.c (record_insn_name): New function.
Zack Weinberg [Fri, 12 Nov 1999 19:48:14 +0000 (19:48 +0000)]
genextract.c (record_insn_name): New function.

1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>

* genextract.c (record_insn_name): New function.
(get_insn_name): No longer a stub.
(main): Call record_insn_name for each insn.  After each label
written, print the insn name in a comment.

From-SVN: r30509

24 years agoDate...
Mike Stump [Fri, 12 Nov 1999 19:13:06 +0000 (19:13 +0000)]
Date...

Date: Sun, 20 Dec 1998 22:07:16 -0700
Message-ID: <10469.914216836@upchuck>
From: Jeffrey A Law <law@upchuck.cygnus.com>

Update the MAINTAINERS file and the next time you encounter one of these
obviously correct fixes send a copy of the patch you checked in to egcs-patches
with a note that you checked the patch in.

jeff

From-SVN: r30508

24 years agoSort write-after people to match sorted order of the maintainers.
Mike Stump [Fri, 12 Nov 1999 19:03:22 +0000 (19:03 +0000)]
Sort write-after people to match sorted order of the maintainers.

From-SVN: r30507

24 years agooutput.h (const_section, [...]): Add prototypes.
Kaveh R. Ghazi [Fri, 12 Nov 1999 18:47:03 +0000 (18:47 +0000)]
output.h (const_section, [...]): Add prototypes.

        * output.h (const_section, init_section, fini_section): Add
        prototypes.

        * alpha/elf.h (const_section): Delete declaration.

        * svr4.h (const_section): Likewise.

From-SVN: r30506

24 years agoUndo patch from Nov/11/99 to init.c regarding misalignment of
Diego Novillo [Fri, 12 Nov 1999 17:45:10 +0000 (17:45 +0000)]
Undo patch from Nov/11/99 to init.c regarding misalignment of
cookie header for arrays of objects.

From-SVN: r30505

24 years agodecl.c (compute_array_index_type): New function, split out from grokdeclarator.
Mark Mitchell [Fri, 12 Nov 1999 17:11:07 +0000 (17:11 +0000)]
decl.c (compute_array_index_type): New function, split out from grokdeclarator.

* decl.c (compute_array_index_type): New function, split out from
grokdeclarator.
(create_array_type_for_decl): Likewise.
(grokdeclarator): Use them.

* semantics.c (expand_stmt): Don't suspend_momentary or
resume_momentary.

From-SVN: r30504

24 years agotree.h (SAVE_EXPR_PERSISTENT_P): New macro.
Mark Mitchell [Fri, 12 Nov 1999 16:52:08 +0000 (16:52 +0000)]
tree.h (SAVE_EXPR_PERSISTENT_P): New macro.

* tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
* tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
(unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
expressions.
* stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
variable-sized array bounds.

From-SVN: r30503

24 years agodefaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use ASM_OUTPUT_LABEL.
Catherine Moore [Fri, 12 Nov 1999 14:11:32 +0000 (14:11 +0000)]
defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use ASM_OUTPUT_LABEL.

       * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
        ASM_OUTPUT_LABEL.

From-SVN: r30502

24 years agoTreat QImode addresses the same way GO_IF_LEGITIMATE_INDEX does.
Bernd Schmidt [Fri, 12 Nov 1999 13:38:38 +0000 (13:38 +0000)]
Treat QImode addresses the same way GO_IF_LEGITIMATE_INDEX does.

From-SVN: r30500

24 years agoRemove useless code
Bernd Schmidt [Fri, 12 Nov 1999 11:39:08 +0000 (11:39 +0000)]
Remove useless code

From-SVN: r30499

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

From-SVN: r30498

24 years agofunction.c (diddle_return_value): Only clal hard_function_value when the return value...
Jeffrey A Law [Fri, 12 Nov 1999 07:38:32 +0000 (07:38 +0000)]
function.c (diddle_return_value): Only clal hard_function_value when the return value is supposed to be in a register.

        * function.c (diddle_return_value): Only clal hard_function_value
        when the return value is supposed to be in a register.

From-SVN: r30497

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