OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years ago * loop.c (regs_patch_p): Add prototype.
law [Thu, 16 Apr 1998 23:56:12 +0000 (23:56 +0000)]
    * loop.c (regs_patch_p): Add prototype.
        (add_label_notes, count_nonfixed_reads): Likewise.
        (find_single_use_in_loop): Likewise.
        (express_from): Surround prototype with #ifdef.
        (giv_sort): Similarly.
        * jump.c (mark_modified_reg): Add prototype.
        * haifa-sched.c (is_prisky): Add prototype.
        (queue_to_ready): Likewise.
        * genextract.c (gen_insn): Add prototype.
        * genemit.c (max_operand_1): Add prototype.
        (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
        (gen_expand, gen_explit, output_add_clobbers): Likewise.
        (output_init_mov_optab): Likewise.
        * genattrtab.c (attr_hash_add_rtx): Add prototype.
        (attr_hash_add_string, write_length_unit_log): Likewise.
        * genattr.c (init_range): Add prototype.
        * combine.c (sets_function_arg_p): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19251 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (store_constructor_field): Add prototype.
law [Thu, 16 Apr 1998 23:07:05 +0000 (23:07 +0000)]
    * expr.c (store_constructor_field): Add prototype.
        (memory_use_mode): Likewise.
        * expmed.c (synth_mult): Add prototype.
        (choose_multiplier, invert_mod2n): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19250 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * except.c (push_eh_entry): Add prototype.
law [Thu, 16 Apr 1998 22:57:50 +0000 (22:57 +0000)]
    * except.c (push_eh_entry): Add prototype.
        (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
        (call_get_eh_context, start_dynamic_cleanup): Likewise.
        (start_dynamic_handler, can_throw): Likewise.
        (output_exception_table_entry, scan_region): Likewise.
        (eh_regs, set_insn_eh_region): Likewise.
Also fix typo in previous dwarfout change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19249 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * dwarfout.c (decl_class_context): Add prototype.
law [Thu, 16 Apr 1998 22:46:15 +0000 (22:46 +0000)]
    * dwarfout.c (decl_class_context): Add prototype.
        (output_inheritance_die, type_ok_for_scope): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19248 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-lex.c (skip_white_space_on_line): Add prototype.
law [Thu, 16 Apr 1998 22:22:43 +0000 (22:22 +0000)]
    * c-lex.c (skip_white_space_on_line): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19247 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alias.c (record_set): Add prototype.
law [Thu, 16 Apr 1998 22:14:41 +0000 (22:14 +0000)]
    * alias.c (record_set): Add prototype.
        (find_base_term, base_alias_check): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19246 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * function.c (assign_outer_stack_local): Make static and add prototype.
law [Thu, 16 Apr 1998 22:08:49 +0000 (22:08 +0000)]
    * function.c (assign_outer_stack_local): Make static and add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19245 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * haifa-sched.c (build_control_flow): Accept raw data as inputs
law [Thu, 16 Apr 1998 22:00:09 +0000 (22:00 +0000)]
    * haifa-sched.c (build_control_flow): Accept raw data as inputs
        instead of computing it locally.  Callers changed.
        (find_rgns): Several new arguments.  Callers changed.
        Generally clean up and comment better.  Use dominators to
        identify reducible loops.  Convert some flag arrays to bitmaps.
        Convert most of the code to work on pred/succ lists instead of
        an edge table.  Add comments for future improvements.
        (schedule_insns): Allocate temporary tables for flow data, call
        routines to compute flow data and pass it along to children as
        arguments.
        (debug_control_flow): Delete.  Use dump_bb_data instead.
General cleanup + fix a bug or two.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19244 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * basic-block.h (compute_dominators): Declare.
law [Thu, 16 Apr 1998 21:53:42 +0000 (21:53 +0000)]
    * basic-block.h (compute_dominators): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19243 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Thu, 16 Apr 1998 21:42:19 +0000 (21:42 +0000)]
8
        * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
        functions.
        * basic-block.h: Declare them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19242 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Thu, 16 Apr 1998 21:42:16 +0000 (21:42 +0000)]

        * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
        functions.
        * basic-block.h: Declare them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19241 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Thu, 16 Apr 1998 17:22:52 +0000 (17:22 +0000)]
8
        * pt.c (build_template_parm_index): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19240 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Thu, 16 Apr 1998 17:22:50 +0000 (17:22 +0000)]

        * pt.c (build_template_parm_index): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19239 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Thu, 16 Apr 1998 16:48:43 +0000 (16:48 +0000)]
8
        * search.c (my_tree_cons): Don't clear words outside the
        newly allocated node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19238 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Thu, 16 Apr 1998 16:48:41 +0000 (16:48 +0000)]

        * search.c (my_tree_cons): Don't clear words outside the
        newly allocated node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19237 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPatch to fix x86 gcc.dg/980226-1.c failure report by Manfred Hollstein.
wilson [Thu, 16 Apr 1998 13:46:40 +0000 (13:46 +0000)]
Patch to fix x86 gcc.dg/980226-1.c failure report by Manfred Hollstein.
* reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
no operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19236 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
bothner [Thu, 16 Apr 1998 11:49:09 +0000 (11:49 +0000)]

        * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
        Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
        node is non NULL. Cache last file name and file name identifier node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19235 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
bothner [Thu, 16 Apr 1998 11:49:07 +0000 (11:49 +0000)]

        * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
        Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
        node is non NULL. Cache last file name and file name identifier node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19234 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1998-04-15 Mark Mitchell <mmitchell@usa.net>
mmitchel [Thu, 16 Apr 1998 00:12:43 +0000 (00:12 +0000)]
1998-04-15  Mark Mitchell  <mmitchell@usa.net>
* c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
the length of an array, not TREE_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19233 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * flow.c (sbitmap_union_of_successors): New function.
law [Wed, 15 Apr 1998 14:33:54 +0000 (14:33 +0000)]
    * flow.c (sbitmap_union_of_successors):  New function.
        * basic-block.h (sbitmap_union_of_successors): Declare it.
For completeness, we already had the other 3 variants.  This one
is useful for backwards lazy code motion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19232 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoForgot to commit.
law [Wed, 15 Apr 1998 14:12:03 +0000 (14:12 +0000)]
Forgot to commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19231 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix host/build confusion with gas and gnu_ld flags.
wilson [Wed, 15 Apr 1998 12:41:32 +0000 (12:41 +0000)]
Fix host/build confusion with gas and gnu_ld flags.
* configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
Set gnu_ld to gnu_ld_flag inside main loop.
(gas): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19230 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTue Apr 14 15:51:37 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 15 Apr 1998 12:36:14 +0000 (12:36 +0000)]
Tue Apr 14 15:51:37 1998  Dave Brolley  <brolley@cygnus.com>
* com.c (init_parse): Now returns char* containing filename;

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19229 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Apr 15 15:34:44 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 15 Apr 1998 12:35:16 +0000 (12:35 +0000)]
Wed Apr 15 15:34:44 1998  Dave Brolley  <brolley@cygnus.com>
* lex.c (init_parse): Now returns char* containing the filename.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19228 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 15 Apr 1998 12:31:38 +0000 (12:31 +0000)]
Wed Apr 15 14:50:05 1998  Dave Brolley  <brolley@cygnus.com>
* toplev.c (compile_file): Call init_parse using new interface.
(init_lex): Remove declaration.
* c-lex.c (init_parse): Now returns char* containing filename.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19227 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer
law [Wed, 15 Apr 1998 12:22:03 +0000 (12:22 +0000)]
    * errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer
        than a pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19226 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
law [Wed, 15 Apr 1998 11:37:21 +0000 (11:37 +0000)]
    * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19225 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure: Define DEFAULT_M4 by searching PATH.
law [Wed, 15 Apr 1998 10:19:22 +0000 (10:19 +0000)]
    * configure: Define DEFAULT_M4 by searching PATH.
        * Makefile.in: Use DEFAULT_M4.
Forgot to commit Makefile.in for this change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19223 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoLink in print-rtl.o to all gen* programs except gengenrtl
meissner [Wed, 15 Apr 1998 09:23:14 +0000 (09:23 +0000)]
Link in print-rtl.o to all gen* programs except gengenrtl

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19222 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fixincludes: discard empty C++ comments, as found in sys/time.h
law [Wed, 15 Apr 1998 09:17:24 +0000 (09:17 +0000)]
    * fixincludes: discard empty C++ comments, as found in sys/time.h
        on hpux-11.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19221 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
schwab [Wed, 15 Apr 1998 01:49:23 +0000 (01:49 +0000)]
* config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19220 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Wed, 15 Apr 1998 00:26:35 +0000 (00:26 +0000)]
8
        * emit-rtl.c (operand_subword): Rework slightly to avoid
        bogus warning from previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19219 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Wed, 15 Apr 1998 00:26:34 +0000 (00:26 +0000)]

        * emit-rtl.c (operand_subword): Rework slightly to avoid
        bogus warning from previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19218 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoChanges from Craig. See ChangeLog for details.
law [Wed, 15 Apr 1998 00:19:01 +0000 (00:19 +0000)]
Changes from Craig.  See ChangeLog for details.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19217 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
rth [Tue, 14 Apr 1998 23:50:17 +0000 (23:50 +0000)]
* alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
Nov 8 find_replacement change.  Move decls of get_unaligned_address
* alpha.h: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19216 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * function.c (assign_parms): Initialize unsignedp before passing
law [Tue, 14 Apr 1998 23:10:49 +0000 (23:10 +0000)]
    * function.c (assign_parms): Initialize unsignedp before passing
        its pointer to promote_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19215 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoResync date for the benefit of the snapshot script.
law [Tue, 14 Apr 1998 22:55:24 +0000 (22:55 +0000)]
Resync date for the benefit of the snapshot script.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19214 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
law [Tue, 14 Apr 1998 21:00:57 +0000 (21:00 +0000)]
    * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
        (write_test_expr): Allow MATCH_INSN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19213 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * install.texi: Update section on warnings that can be safely ignored.
law [Tue, 14 Apr 1998 20:58:42 +0000 (20:58 +0000)]
    * install.texi: Update section on warnings that can be safely ignored.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19212 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix thinko.
law [Tue, 14 Apr 1998 20:53:21 +0000 (20:53 +0000)]
Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19211 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix mips64vr4100-elf build failure.
wilson [Tue, 14 Apr 1998 14:56:05 +0000 (14:56 +0000)]
Fix mips64vr4100-elf build failure.
* mips.md (reload_outdi): Change the scratch mode from DImode to
TImode.  New variable scratch, used instead of operand[2] in template.
Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19210 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoIf -Os, set MOVE_RATIO to 3, not 15
meissner [Tue, 14 Apr 1998 13:20:50 +0000 (13:20 +0000)]
If -Os, set MOVE_RATIO to 3, not 15

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19209 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure: Define DEFAULT_M4 by searching PATH.
law [Tue, 14 Apr 1998 10:34:37 +0000 (10:34 +0000)]
    * configure: Define DEFAULT_M4 by searching PATH.
        * Makfile.in: Use DEFAULT_M4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19208 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
law [Tue, 14 Apr 1998 10:33:09 +0000 (10:33 +0000)]
    * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19207 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
law [Tue, 14 Apr 1998 09:53:08 +0000 (09:53 +0000)]
    * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
        (ASM_FINISH_DECLARE_OBJECT): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19206 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Idea and part of the patch from HJ.
law [Tue, 14 Apr 1998 08:32:34 +0000 (08:32 +0000)]
    * Idea and part of the patch from HJ.
        * Makefile.in: auto-host.h renamed from auto-config.h.  All references
        changed.
        (distclean): Remove auto-build.h too.
        * configure.in: Rename host autoconf generated file to auto-host.h.
        If host != build, then run autoconf to generate auto-build.h for
        the build machine and include it in build_xm_files.
        Check for wait.h and sys/wait.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19205 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Tue, 14 Apr 1998 08:04:21 +0000 (08:04 +0000)]
8
        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19204 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Tue, 14 Apr 1998 08:04:17 +0000 (08:04 +0000)]

        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19203 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
jason [Mon, 13 Apr 1998 11:38:16 +0000 (11:38 +0000)]
* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19199 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agox
bkoz [Mon, 13 Apr 1998 11:13:36 +0000 (11:13 +0000)]
x
Fri Apr 10 12:16:49 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (duplicate_decls): Don't warn for redundant decls if
  friend: let add_friend take care of it.
Fixes g++/15307

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19198 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
bkoz [Mon, 13 Apr 1998 11:13:34 +0000 (11:13 +0000)]

Fri Apr 10 12:16:49 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (duplicate_decls): Don't warn for redundant decls if
  friend: let add_friend take care of it.
Fixes g++/15307

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19197 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agofix merge breakage
jason [Mon, 13 Apr 1998 11:05:58 +0000 (11:05 +0000)]
fix merge breakage

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19196 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Mon, 13 Apr 1998 01:32:01 +0000 (01:32 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19176 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix typos.
law [Sun, 12 Apr 1998 20:31:54 +0000 (20:31 +0000)]
Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19155 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: only set HAVE_LIBZ if zlib.h exists
law [Sun, 12 Apr 1998 20:00:34 +0000 (20:00 +0000)]
    * configure.in: only set HAVE_LIBZ if zlib.h exists

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19154 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.in (INSTALL_MODULES): Remove texinfo.
law [Sun, 12 Apr 1998 19:58:53 +0000 (19:58 +0000)]
    * Makefile.in (INSTALL_MODULES): Remove texinfo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19153 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * invoke.texi (ld options) Include memset requirements
law [Sun, 12 Apr 1998 19:55:52 +0000 (19:55 +0000)]
    * invoke.texi (ld options)  Include memset requirements
        for options -nodstdlib and -nodefaultlibs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19152 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago This change is from an idea suggested by Arthur David Olson.
law [Sun, 12 Apr 1998 19:52:16 +0000 (19:52 +0000)]
This change is from an idea suggested by Arthur David Olson.
* c-common.c (decl_attributes, record_function_format,
check_format_info, init_function_format_info):
Add support for strftime format checking.
(enum format_type): New type.
(record_function_format): Now static, and takes value of type
enum format_type instead of int.
(time_char_table): New constant.
(struct function_format_info): format_type member renamed from is_scan.
(check_format_info): Use `warning' rather than sprintf followed by
`warning', to avoid mishandling `%' in warnings.
Change `pedwarn' to `warning', since these warnings do not necessarily
mean the program does not conform to the C Standard, as the code
need not be executed.
* c-tree.h (record_function_format): Remove decl; no longer extern.
* extend.texi: Add documentation for strftime format checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19151 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * mips/ecoffl.h: Do not include mips.h.
law [Sun, 12 Apr 1998 19:32:23 +0000 (19:32 +0000)]
    * mips/ecoffl.h: Do not include mips.h.
        * mips/elf.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19150 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
law [Sun, 12 Apr 1998 19:24:39 +0000 (19:24 +0000)]
    * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
        * mips/ecoff.h: Include "mips/mips.h".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19149 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Sun, 12 Apr 1998 17:04:58 +0000 (17:04 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19142 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Sun, 12 Apr 1998 17:04:57 +0000 (17:04 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19141 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Sun, 12 Apr 1998 17:04:55 +0000 (17:04 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19140 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Sat, 11 Apr 1998 22:42:57 +0000 (22:42 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19112 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
law [Sat, 11 Apr 1998 00:28:07 +0000 (00:28 +0000)]
    * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
        (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
        * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
        instead of delete_dead_from_cse.  Also call delete_trivially_dead_insns
        between loop optimization passes.
        * rtl.h: Updated appropriately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19100 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRebuild after recent parse.y change.
law [Fri, 10 Apr 1998 22:54:42 +0000 (22:54 +0000)]
Rebuild after recent parse.y change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19099 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Fri, 10 Apr 1998 21:30:30 +0000 (21:30 +0000)]
8
        Reinstall this patch from Jason.
        * function.c (push_function_context_to): Don't call init_emit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19098 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Fri, 10 Apr 1998 21:30:28 +0000 (21:30 +0000)]

        Reinstall this patch from Jason.
        * function.c (push_function_context_to): Don't call init_emit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19097 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPrevent going into an infinite loop upon encountering an enuterminated comment.
nickc [Fri, 10 Apr 1998 13:41:28 +0000 (13:41 +0000)]
Prevent going into an infinite loop upon encountering an enuterminated comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19082 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
law [Fri, 10 Apr 1998 09:44:37 +0000 (09:44 +0000)]
    * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
        64x32 cross builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19081 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoForgot to commit.
law [Fri, 10 Apr 1998 09:40:22 +0000 (09:40 +0000)]
Forgot to commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19080 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sig.c (build_signature_pointer_constructor): Don't set
jason [Fri, 10 Apr 1998 03:38:27 +0000 (03:38 +0000)]
* sig.c (build_signature_pointer_constructor): Don't set
TREE_HAS_CONSTRUCTOR for a signature pointer.
* cvt.c (ocp_convert): Don't force a temporary for internal structs.
* init.c (resolve_offset_ref): Warn about implicit & on pmfs
here, too.
* typeck.c (build_unary_op): Only allow taking the address of a
real constructor.
* typeck2.c (digest_init): Simplify.
(store_init_value): Don't pedwarn about using { } for pmfs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19079 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix minor bugs in previous change.
law [Fri, 10 Apr 1998 00:57:57 +0000 (00:57 +0000)]
Fix minor bugs in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19078 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cplus-dem.c: Sync with gcc.
law [Fri, 10 Apr 1998 00:45:43 +0000 (00:45 +0000)]
    * cplus-dem.c: Sync with gcc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19077 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.am (SUBDIRS): Redefine to exclude info, po, util and doc.
law [Fri, 10 Apr 1998 00:37:58 +0000 (00:37 +0000)]
    * Makefile.am (SUBDIRS): Redefine to exclude info, po, util and doc.
        * Makefile.in: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19076 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Handle --with-fast-fixincludes.
law [Fri, 10 Apr 1998 00:31:10 +0000 (00:31 +0000)]
    * configure.in: Handle --with-fast-fixincludes.
        (fixincludes): If --with-fast-fixincludes, then use a different
        fixincludes program by default.
        * Makefile.in (fixinc.sh): New rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19075 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agonew test from HJ.
law [Fri, 10 Apr 1998 00:14:42 +0000 (00:14 +0000)]
new test from HJ.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19074 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386.md (movqi+1): Handle invalid QI register.
law [Thu, 9 Apr 1998 23:38:47 +0000 (23:38 +0000)]
    * i386.md (movqi+1): Handle invalid QI register.
        (movsf_push-1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19073 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoa
bkoz [Thu, 9 Apr 1998 20:36:49 +0000 (20:36 +0000)]
a
Thu Apr  9 22:16:57 1998  Per Bothner  <bothner@cygnus.com>
        * cp-tree.h (start_decl):  Update prototype.
        * decl.c (start_decl):  Like the C version, new parameters
        for the attributes.  Call cplus_decl_attributes here,
        (pushdecl):  Like C version, do build_type_copy if TYPE_DECL,
        (grokdeclarator):  Pass NULL for new start_decl arguments.
        * pt.c (tsubst_expr):  Likewise.
        * parse.y:  Merge cplus_decl_attribute calls into start_decl calls.
* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
* lex.c (build_lang_decl): Add lang_name_java.
* class.c (push_lang_context): Add lang_name_java.
* method.c (build_mangled_name): Check for is_java_type.
Thu Apr  9 22:16:57 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
* call.c (build_scoped_method_call): Check for TREE_CODE for
VOID_TYPE instead of type ==  void_type_node.
(build_method_call): Ditto.
* decl.c (lookup_name_real): Ditto.
(grokdeclarator): Ditto.
(start_decl): Ditto.
(grokparms): Ditto.
(start_function): Ditto.
(finish_function): Ditto.
(start_method): Ditto.
also fixes g++/15415

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19072 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agod
bkoz [Thu, 9 Apr 1998 20:36:47 +0000 (20:36 +0000)]
d
Thu Apr  9 22:16:57 1998  Per Bothner  <bothner@cygnus.com>
        * cp-tree.h (start_decl):  Update prototype.
        * decl.c (start_decl):  Like the C version, new parameters
        for the attributes.  Call cplus_decl_attributes here,
        (pushdecl):  Like C version, do build_type_copy if TYPE_DECL,
        (grokdeclarator):  Pass NULL for new start_decl arguments.
        * pt.c (tsubst_expr):  Likewise.
        * parse.y:  Merge cplus_decl_attribute calls into start_decl calls.
* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
* lex.c (build_lang_decl): Add lang_name_java.
* class.c (push_lang_context): Add lang_name_java.
* method.c (build_mangled_name): Check for is_java_type.
Thu Apr  9 22:16:57 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
* call.c (build_scoped_method_call): Check for TREE_CODE for
VOID_TYPE instead of type ==  void_type_node.
(build_method_call): Ditto.
* decl.c (lookup_name_real): Ditto.
(grokdeclarator): Ditto.
(start_decl): Ditto.
(grokparms): Ditto.
(start_function): Ditto.
(finish_function): Ditto.
(start_method): Ditto.
also fixes g++/15415

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19071 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRemoved unused functions.
nickc [Thu, 9 Apr 1998 16:58:50 +0000 (16:58 +0000)]
Removed unused functions.
Changed call_address_operand() to only accept symbolic addresses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19070 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoChange from Dave.
law [Thu, 9 Apr 1998 10:55:36 +0000 (10:55 +0000)]
Change from Dave.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19069 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Thu, 9 Apr 1998 00:44:41 +0000 (00:44 +0000)]
8
        * calls.c (expand_call): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19068 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Thu, 9 Apr 1998 00:44:39 +0000 (00:44 +0000)]

        * calls.c (expand_call): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19067 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTweak for init_lex/init_parse changes.
law [Wed, 8 Apr 1998 23:36:52 +0000 (23:36 +0000)]
Tweak for init_lex/init_parse changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19066 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * lex.c (finput): New variable.
law [Wed, 8 Apr 1998 23:30:28 +0000 (23:30 +0000)]
    * lex.c (finput): New variable.
        (init_cpp_parse):  Renamed from init_parse.
        (init_parse): Handle !USE_CPPLIB.  Call init_cpp_parse when finished.
        (finish_parse): New function.
        * cp-tree.h (init_lex, init_parse): Remove declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19065 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * com.c (finput): New variable.
law [Wed, 8 Apr 1998 23:30:08 +0000 (23:30 +0000)]
    * com.c (finput): New variable.
        (init_parse): Handle !USE_CPPLIB.
        (finish_parse): New function.
        (lang_init): No longer declare finput.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19064 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-lex.c (finput): New global.
law [Wed, 8 Apr 1998 23:29:09 +0000 (23:29 +0000)]
    * c-lex.c (finput): New global.
        (init_parse): Always included.  Handle !USE_CPPLIB using
        code originally in compile_file.
        (finish_parse): Update for CPPLIB.
        * toplev.c (init_parse, finish_parse): Declare.
        (finput): Delete variable.  Now in front-ends.
        (compile_file): Remove code which is now handled by init_parse
        which is unconditionally called.  Similarly for finish_parse.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19063 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in (v850): Use t-v850.
law [Wed, 8 Apr 1998 23:10:27 +0000 (23:10 +0000)]
    * configure.in (v850): Use t-v850.
        (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19062 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * protoize.c (creat, read, write): Do not declare.
law [Wed, 8 Apr 1998 22:55:33 +0000 (22:55 +0000)]
    * protoize.c (creat, read, write): Do not declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19061 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
law [Wed, 8 Apr 1998 22:47:50 +0000 (22:47 +0000)]
    * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
        refer to the CODE_LABEL before a dispatch table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19060 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * invoke.texi: Add ARC options.
law [Wed, 8 Apr 1998 22:44:13 +0000 (22:44 +0000)]
    * invoke.texi: Add ARC options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19059 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * gcc.c (proces_command): Improve error message for -o with
law [Wed, 8 Apr 1998 22:39:36 +0000 (22:39 +0000)]
    * gcc.c (proces_command): Improve error message for -o with
        either -c or -S.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19058 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
law [Wed, 8 Apr 1998 22:14:57 +0000 (22:14 +0000)]
    * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
        ASM_WEAKEN_LABEL): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19057 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoUpdate copyright.
law [Wed, 8 Apr 1998 22:09:33 +0000 (22:09 +0000)]
Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19056 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386/x-cygwin32 (CLIB): Link in advapi32.
law [Wed, 8 Apr 1998 22:08:11 +0000 (22:08 +0000)]
    * i386/x-cygwin32 (CLIB): Link in advapi32.
Easier to build with older version of gcc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19055 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
law [Wed, 8 Apr 1998 22:04:32 +0000 (22:04 +0000)]
    * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
        (ASM_IDENTIFY_LANGUAGE): Likewise.
Bring over from devo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19054 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBring over changes from devo.
law [Wed, 8 Apr 1998 21:12:07 +0000 (21:12 +0000)]
Bring over changes from devo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19053 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoSupport recursive calls to exit.
rth [Wed, 8 Apr 1998 18:30:32 +0000 (18:30 +0000)]
Support recursive calls to exit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19052 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
rth [Wed, 8 Apr 1998 18:22:54 +0000 (18:22 +0000)]
* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
* configure.in (alpha-*-linux*): Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19051 138bc75d-0d04-0410-961f-82ee72b054a4