OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
law [Sun, 3 Jan 1999 20:43:14 +0000 (20:43 +0000)]
    * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
        for a target with HAVE_cc0 defined.
        (emit_cmp_and_jump_insns): New function.
        * expr.h (emit_cmp_and_jump_insns): Prototype it.
        * loop.c (check_dbra_loop): Use it to replace calls
        to emit_cmp_insn and emit_jump_insn and to canonicalise
        the comparison if necessary.
        * unroll.c (unroll_loop): Likewise.

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

25 years ago * fixincludes (sys/utsname.h): Provide forward declaration of
law [Sun, 3 Jan 1999 20:16:10 +0000 (20:16 +0000)]
    * fixincludes (sys/utsname.h): Provide forward declaration of
        struct utsname on Ultrix V4.[35].

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

25 years agoUpdate copyrights.
law [Sun, 3 Jan 1999 20:09:31 +0000 (20:09 +0000)]
Update copyrights.

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

25 years agoCopyright update.
law [Sun, 3 Jan 1999 20:08:21 +0000 (20:08 +0000)]
Copyright update.

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

25 years ago * readrecord.c: Include <sys/types.h> for off_t.
law [Sun, 3 Jan 1999 20:07:56 +0000 (20:07 +0000)]
    * readrecord.c: Include <sys/types.h> for off_t.

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

25 years ago * mips.md (div_trap): Use local labels instead of dot-relative
law [Sun, 3 Jan 1999 20:04:50 +0000 (20:04 +0000)]
    * mips.md (div_trap): Use local labels instead of dot-relative
        branches.
Works around bug in ultrix assemblers.

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

25 years ago * pa.md (branch, negated branch): Handle (const_int 0) as first
law [Sun, 3 Jan 1999 19:45:34 +0000 (19:45 +0000)]
    * pa.md (branch, negated branch): Handle (const_int 0) as first
        source operand.
        * pa.c (output_cbranch): Likewise.
Should fix unrolling aborts on the PA.

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

25 years agoDaily bump.
law [Sun, 3 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * rs6000.c (rs6000_stack_info): Undo spurious part of last
dje [Sun, 3 Jan 1999 00:24:05 +0000 (00:24 +0000)]
    * rs6000.c (rs6000_stack_info): Undo spurious part of last
        change.

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

25 years ago* configure.in: (*-*-sysv5, *-*-*udk*): Treat like sysv4.
robertl [Sat, 2 Jan 1999 19:16:17 +0000 (19:16 +0000)]
* configure.in:  (*-*-sysv5, *-*-*udk*):  Treat like sysv4.

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

25 years agoDaily bump.
law [Sat, 2 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * extend.texi (__builtin_constant_p): Add missing @smallexample.
manfred [Fri, 1 Jan 1999 12:34:39 +0000 (12:34 +0000)]
* extend.texi (__builtin_constant_p): Add missing @smallexample.

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

25 years ago
manfred [Fri, 1 Jan 1999 12:34:37 +0000 (12:34 +0000)]

* extend.texi (__builtin_constant_p): Add missing @smallexample.

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

25 years ago * i386.md (doubleword shifts): Fix dumb mistakes in previous change.
law [Fri, 1 Jan 1999 10:53:08 +0000 (10:53 +0000)]
    * i386.md (doubleword shifts): Fix dumb mistakes in previous change.

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

25 years ago
law [Fri, 1 Jan 1999 10:53:05 +0000 (10:53 +0000)]

        * i386.md (doubleword shifts): Fix dumb mistakes in previous change.

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

25 years agoDaily bump.
law [Fri, 1 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoDaily bump.
law [Thu, 31 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
law [Thu, 31 Dec 1998 00:13:53 +0000 (00:13 +0000)]
    * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
        (adddi_dishl32): Similarly.

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

25 years ago * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
law [Wed, 30 Dec 1998 23:35:49 +0000 (23:35 +0000)]
    * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
        for each insn in the skipped block.
Fixes m68k codegen bug.

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

25 years ago * reload1.c (reload_as_needed): Verify that the insn satisfies its
law [Wed, 30 Dec 1998 23:14:25 +0000 (23:14 +0000)]
    * reload1.c (reload_as_needed): Verify that the insn satisfies its
        constraints after replacing a register address with an autoincrement
        address for reload inheritance purposes.

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

25 years ago * i386.md (doubleword shifts): Avoid namespace pollution.
law [Wed, 30 Dec 1998 22:45:16 +0000 (22:45 +0000)]
    * i386.md (doubleword shifts): Avoid namespace pollution.

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

25 years ago * gcc.c-torture/compile/981223-1.c: New test.
law [Wed, 30 Dec 1998 22:08:25 +0000 (22:08 +0000)]
    * gcc.c-torture/compile/981223-1.c: New test.

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

25 years ago * configure.in (FreeBSD ELF): Needs special crt files.
law [Wed, 30 Dec 1998 22:05:08 +0000 (22:05 +0000)]
    * configure.in (FreeBSD ELF): Needs special crt files.

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

25 years ago * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.
law [Wed, 30 Dec 1998 21:53:20 +0000 (21:53 +0000)]
    * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.

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

25 years ago * loop.c (check_dbra_loop): While reversing the loop, if the
law [Wed, 30 Dec 1998 21:51:53 +0000 (21:51 +0000)]
    * loop.c (check_dbra_loop): While reversing the loop, if the
        comparison value has a VOID mode use the mode of the other operand
        to compute the mask.

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

25 years agoFix calculation of fpmem_offset on little endian systems; Silence warnings when build...
meissner [Wed, 30 Dec 1998 19:37:53 +0000 (19:37 +0000)]
Fix calculation of fpmem_offset on little endian systems; Silence warnings when building explow

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

25 years ago * gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
gerald [Wed, 30 Dec 1998 05:28:05 +0000 (05:28 +0000)]
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.

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

25 years ago * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
rth [Tue, 29 Dec 1998 12:03:36 +0000 (12:03 +0000)]
    * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.

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

25 years ago * sparc.c (input_operand): Recognize (const (constant_p_rtx)).
rth [Tue, 29 Dec 1998 12:02:15 +0000 (12:02 +0000)]
    * sparc.c (input_operand): Recognize (const (constant_p_rtx)).
        (arith_operand): Remove constant_p_rtx handling.
        (const64_operand, const64_high_operand): Likewise.
        (arith11_operand, arith10_operand, arith_double_operand): Likewise.
        (arith11_double_operand, arith10_double_operand, small_int): Likewise.
        (small_int_or_double, uns_small_int, zero_operand): Likewise.
        * sparc.h (PREDICATE_CODES): Likewise.

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

25 years agoRichard Kenner <kenner@vlsi1.ultra.nyu.edu>:
rth [Tue, 29 Dec 1998 11:36:22 +0000 (11:36 +0000)]
Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>:
        * rtl.def (CONSTANT_P_RTX): Clarify commentary.
        * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
        consider constant CONSTRUCTOR constant and to defer some cases
        to cse.
        * cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
        * regclass.c (reg_scan_mark_refs, case CONST): Likewise.
Richard Henderson  <rth@cygnus.com>
        * expr.c (init_expr_once): Kill can_handle_constant_p recognition.
        * cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.

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

25 years ago * alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
rth [Tue, 29 Dec 1998 11:35:34 +0000 (11:35 +0000)]
    * alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
        (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
        (sext_add_operand, and_operand, or_operand): Likewise.
        (reg_or_cint_operand, some_operand, input_operand): Likewise.
        * alpha.h (PREDICATE_CODES): Likewise.

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

25 years ago * gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
rth [Tue, 29 Dec 1998 11:35:06 +0000 (11:35 +0000)]
    * gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
        (opt3): Rename from opt4 and disable.

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

25 years agoDaily bump.
law [Tue, 29 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoDaily bump.
law [Mon, 28 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoDaily bump.
law [Sun, 27 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoBump for snapshot
law [Sat, 26 Dec 1998 23:26:30 +0000 (23:26 +0000)]
Bump for snapshot

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

25 years ago * gengenrtl.c (gencode): Always use bzero to clear memory instead
law [Sat, 26 Dec 1998 09:31:42 +0000 (09:31 +0000)]
    * gengenrtl.c (gencode): Always use bzero to clear memory instead
        of dangerous casts and stores.
Fixes alpha & sparc -O3 bootstrap problems.

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

25 years ago * Makefile.in (compare, gnucompare): Add missing else true clauses.
law [Sat, 26 Dec 1998 08:19:18 +0000 (08:19 +0000)]
    * Makefile.in (compare, gnucompare): Add missing else true clauses.

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

25 years agoDaily bump.
law [Sat, 26 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * alpha.md (builtin_longjmp): Add missing "DONE".
law [Fri, 25 Dec 1998 22:08:13 +0000 (22:08 +0000)]
    * alpha.md (builtin_longjmp): Add missing "DONE".
alpha -O0 bootstrap bugfix.

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

25 years agoDaily bump.
law [Fri, 25 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years agofix minor typo
brendan [Thu, 24 Dec 1998 10:52:44 +0000 (10:52 +0000)]
fix minor typo

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

25 years ago* gcc.c (execute): Enable -pipe with win32.
scox [Thu, 24 Dec 1998 10:30:08 +0000 (10:30 +0000)]
* gcc.c (execute): Enable -pipe with win32.

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

25 years agoDaily bump.
law [Thu, 24 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years agofix placement of the errors
brendan [Wed, 23 Dec 1998 17:02:02 +0000 (17:02 +0000)]
fix placement of the errors

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

25 years agoEnable -fleading-underscore for arm-elf builds.
nickc [Wed, 23 Dec 1998 14:34:18 +0000 (14:34 +0000)]
Enable -fleading-underscore for arm-elf builds.

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

25 years agod
bothner [Wed, 23 Dec 1998 10:46:45 +0000 (10:46 +0000)]
d
* expr.c (process_jvm_instruction):  Do load_type_state after JSR.
* verify.c (verify_jvm_instructions):  Fix off-by-one error.
* jcf-write.c (CHECK_PUT):  Add (void) cast to avoid -Wall warnings.
(localvar_alloc):  Change return type to void,
(emit_unop):  Remove unused variable size.
* jcf-write.c (struct jcf_block):  Add new union.
(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC):  New macros.
(call_cleanups):  New functions.
(struct jcf_partial):  New fields num_finalizers and return_value_decl.
(generate_bytecode_insns):  Support CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR.  Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
* lang.c (lang_init):  Call using_eh_for_cleanups.
* parse.y (java_complete_lhs):  For SYNCHRONIZED_EXPR, defer
completing operands to patch_synchronized_statement.
Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR instead of TRY_EXPR.

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

25 years ago * expr.c (process_jvm_instruction): Do load_type_state after JSR.
bothner [Wed, 23 Dec 1998 10:46:40 +0000 (10:46 +0000)]
* expr.c (process_jvm_instruction):  Do load_type_state after JSR.
* verify.c (verify_jvm_instructions):  Fix off-by-one error.
* jcf-write.c (CHECK_PUT):  Add (void) cast to avoid -Wall warnings.
(localvar_alloc):  Change return type to void,
(emit_unop):  Remove unused variable size.
* jcf-write.c (struct jcf_block):  Add new union.
(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC):  New macros.
(call_cleanups):  New functions.
(struct jcf_partial):  New fields num_finalizers and return_value_decl.
(generate_bytecode_insns):  Support CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR.  Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
* lang.c (lang_init):  Call using_eh_for_cleanups.
* parse.y (java_complete_lhs):  For SYNCHRONIZED_EXPR, defer
completing operands to patch_synchronized_statement.
Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR instead of TRY_EXPR.

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

25 years agoa
bothner [Wed, 23 Dec 1998 10:46:39 +0000 (10:46 +0000)]
a
* expr.c (process_jvm_instruction):  Do load_type_state after JSR.
* verify.c (verify_jvm_instructions):  Fix off-by-one error.
* jcf-write.c (CHECK_PUT):  Add (void) cast to avoid -Wall warnings.
(localvar_alloc):  Change return type to void,
(emit_unop):  Remove unused variable size.
* jcf-write.c (struct jcf_block):  Add new union.
(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC):  New macros.
(call_cleanups):  New functions.
(struct jcf_partial):  New fields num_finalizers and return_value_decl.
(generate_bytecode_insns):  Support CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR.  Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
* lang.c (lang_init):  Call using_eh_for_cleanups.
* parse.y (java_complete_lhs):  For SYNCHRONIZED_EXPR, defer
completing operands to patch_synchronized_statement.
Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR instead of TRY_EXPR.

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

25 years agoWarning fixes:
ghazi [Wed, 23 Dec 1998 07:09:01 +0000 (07:09 +0000)]
Warning fixes:
        * alias.c (record_alias_subset): Remove ignored `&'.
        (init_alias_once): Likewise.
        * c-lex.c (UNGETC): Cast first argument of comma expression to void.
        * config/mips/mips.c (mips_asm_file_end): Cast the result of
        fwrite to `int' when comparing against one.
        * config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
        (INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.
        * cse.c (rehash_using_reg): Change type of variable `i' to
        unsigned int.
        * dwarf2out.c (initial_return_save): Cast -1 to unsigned before
        assigning it to one.
        * except.c (duplicate_eh_handlers): Remove unused variable `tmp'.
        * final.c (final_scan_insn): Likewise for variable `i'.
        (output_asm_insn): Cast a char to unsigned char when used as an
        array index.
        * gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
        assigning it to one.
        * loop.c (strength_reduce): Remove unused variables `count' and `temp'.
        * recog.c (preprocess_constraints): Cast a char to unsigned char
        when used as an array index.
        * regmove.c (find_matches): Likewise.
        * reload1.c (calculate_needs): Add default case in switch.
        (eliminate_regs_in_insn): Initialize variable `offset'.
        (set_offsets_for_label): Change type of variable `i' to unsigned.
        (reload_as_needed): Wrap variable `i' in macro check on
        AUTO_INC_DEC || INSN_CLOBBERS_REGNO_P.
        * scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
        with ATTRIBUTE_UNUSED.  Cast variable `start_written' to size_t
        when comparing against one.
        * stor-layout.c (layout_decl): Cast maximum_field_alignment to
        unsigned when comparing against one.  Likewise for
        GET_MODE_ALIGNMENT().
        (layout_record): Cast record_align to int when comparing against a
        signed value.
        (layout_type): Cast TYPE_ALIGN() to int when comparing against a
        signed value.
        * tree.c (get_identifier): Cast variable `len' to unsigned when
        comparing against one.
        (maybe_get_identifier): Likewise

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

25 years agoDaily bump.
law [Wed, 23 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * config.sub: Clean up handling of hppa2.0.
law [Tue, 22 Dec 1998 23:23:33 +0000 (23:23 +0000)]
    * config.sub: Clean up handling of hppa2.0.

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

25 years agoWed Dec 23 00:10:01 1998 Jeffrey A Law (law@cygnus.com)
law [Tue, 22 Dec 1998 23:13:41 +0000 (23:13 +0000)]
Wed Dec 23 00:10:01 1998  Jeffrey A Law  (law@cygnus.com)
        * toplev.c (rest_of_compilation): Do not set reload_completed.
        * reload1.c (reload): Set reload_completed before calling
        cleanup_subreg_operands.

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

25 years ago * reload1.c (emit_reload_insns): Check `set' not null before use.
law [Tue, 22 Dec 1998 23:00:27 +0000 (23:00 +0000)]
    * reload1.c (emit_reload_insns): Check `set' not null before use.

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

25 years ago * config.guess: Use C code to identify more HP machines.
law [Tue, 22 Dec 1998 22:58:25 +0000 (22:58 +0000)]
    * config.guess: Use C code to identify more HP machines.

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

25 years agoFix obvious typo that produced compile time warning.
nickc [Tue, 22 Dec 1998 15:17:13 +0000 (15:17 +0000)]
Fix obvious typo that produced compile time warning.

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

25 years ago * halfpic.c (half_pic_encode): Delete redundant code.
law [Tue, 22 Dec 1998 12:57:58 +0000 (12:57 +0000)]
    * halfpic.c (half_pic_encode): Delete redundant code.

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

25 years agoWarning fixes:
ghazi [Tue, 22 Dec 1998 12:18:17 +0000 (12:18 +0000)]
Warning fixes:
        * Makefile.in (cvt.o): Depend on toplev.h.
        * cp-tree.h (check_template_shadow, pod_type_p): Add prototypes.
        * cvt.c: Include toplev.h.
        * except.c (get_eh_caught, get_eh_handlers): Hide prototypes and
        definitions.
        * init.c (expand_vec_init): Initialize variable `itype'.
        * lex.c (yyerror): Cast the argument passed to a ctype function to
        an unsigned char.
        * method.c (build_mangled_C9x_name): Wrap prototype and definition
        in "HOST_BITS_PER_WIDE_INT >= 64".
        * typeck.c (build_binary_op): Mark parameter `convert_p' with
        ATTRIBUTE_UNUSED.

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

25 years ago1998-12-22 Mark Mitchell <mark@markmitchell.com>
mmitchel [Tue, 22 Dec 1998 10:33:17 +0000 (10:33 +0000)]
1998-12-22  Mark Mitchell  <mark@markmitchell.com>
* cp-tree.h (TYPE_RAISES_EXCEPTIONS): Improve documentation.
* tree.c (build_exception_variant): Don't crash on empty throw
specs.

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

25 years agoDelete handling of -dM as a preprocessor option
meissner [Tue, 22 Dec 1998 10:03:17 +0000 (10:03 +0000)]
Delete handling of -dM as a preprocessor option

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

25 years agoWarning fixes:
ghazi [Tue, 22 Dec 1998 06:57:17 +0000 (06:57 +0000)]
Warning fixes:
        * argv.c (buildargv): Cast the result of alloca in assignment.
        * choose-temp.c: Include stdlib.h.
        * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
        (snarf_numeric_literal): Constify first parameter.
        (code_for_qualifier): Avoid a gcc extension, make the parameter an
        int, not a char.
        (demangle_qualifier): Likewise.
        (demangle_signature): Cast the argument of a ctype function to
        unsigned char.
        (arm_pt): Add parens around assignment used as truth value.
        (demangle_arm_hp_template): Constify variable `args'.
        (do_hpacc_template_const_value): Cast the argument of a ctype
        function to unsigned char.
        (do_hpacc_template_literal): Remove unused variable `i'.
        (snarf_numeric_literal): Constify parameter `args'.
        Cast the argument of a ctype function to unsigned char.
        * floatformat.c (floatformat_to_double): Add explicit braces to
        avoid ambiguous `else'.
        * fnmatch.c (fnmatch): Change type of variables `c', `c1',
        `cstart' and `cend' to unsigned char.  Cast the argument of macro
        `FOLD', which uses ctype functions, to unsigned char.
        * objalloc.c (free): Add prototype.

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

25 years agoDaily bump.
law [Tue, 22 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoDo not give a warning for -dD, -dI, or -dM
meissner [Mon, 21 Dec 1998 14:42:07 +0000 (14:42 +0000)]
Do not give a warning for -dD, -dI, or -dM

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

25 years agorequire diagnostic even without -pedantic
oliva [Mon, 21 Dec 1998 10:39:08 +0000 (10:39 +0000)]
require diagnostic even without -pedantic

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

25 years ago * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
law [Mon, 21 Dec 1998 05:57:18 +0000 (05:57 +0000)]
    * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o

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

25 years agoDaily bump.
law [Mon, 21 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * configure.in: Handle Digital UNIX 5.x the same as 4.x.
jfc [Sun, 20 Dec 1998 13:24:18 +0000 (13:24 +0000)]
* configure.in: Handle Digital UNIX 5.x the same as 4.x.
* i386/sol2.h: Define LOCAL_LABEL_PREFIX as ".".
* java/Make-lang.in: Comment out control-Ls.

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

25 years ago * g++.old-deja/g++.pt/ptrmem5.C: New test.
oliva [Sun, 20 Dec 1998 07:45:13 +0000 (07:45 +0000)]
* g++.old-deja/g++.pt/ptrmem5.C: New test.

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

25 years agoBump for snapshot
law [Sun, 20 Dec 1998 07:39:56 +0000 (07:39 +0000)]
Bump for snapshot

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

25 years agoDaily bump.
law [Sun, 20 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoBump for snapshot
law [Sat, 19 Dec 1998 22:24:26 +0000 (22:24 +0000)]
Bump for snapshot

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

25 years agoBump for snapshot
law [Sat, 19 Dec 1998 21:41:36 +0000 (21:41 +0000)]
Bump for snapshot

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

25 years agoAdded myself to "Write after approval" section in MAINTAINERS.
crux [Sat, 19 Dec 1998 12:10:51 +0000 (12:10 +0000)]
Added myself to "Write after approval" section in MAINTAINERS.

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

25 years ago * genattr.c (fatal): Qualify a char* with the `const' keyword.
ghazi [Sat, 19 Dec 1998 07:04:42 +0000 (07:04 +0000)]
    * genattr.c (fatal): Qualify a char* with the `const' keyword.
        * genattrtab.c (fatal, attr_printf, attr_string, write_attr_set,
        write_unit_name, write_eligible_delay, expand_units,
        make_length_attrs, write_attr_case, find_attr,
        make_internal_attr): Likewise.
        * gencheck.c (tree_codes): Likewise.
        * gencodes.c (fatal): Likewise.
        * genconfig.c (fatal): Likewise.
        * genemit.c (fatal): Likewise.
        * genextract.c (fatal, walk_rtx, copystr): Likewise.
        * genflags.c (fatal): Likewise.
        * genopinit.c (fatal, optabs, gen_insn): Likewise.
        * genoutput.c (fatal, error, predicates): Likewise.
        * genpeep.c (fatal): Likewise.
        * genrecog.c (fatal, decision, pred_table, add_to_sequence,
        write_tree_1, write_tree, change_state, copystr, indents): Likewise.

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

25 years agoDaily bump.
law [Sat, 19 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoAdd new entry regarding Pentium optimizations.
gerald [Fri, 18 Dec 1998 14:43:01 +0000 (14:43 +0000)]
Add new entry regarding Pentium optimizations.

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

25 years agoFri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Fri, 18 Dec 1998 13:16:13 +0000 (13:16 +0000)]
Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
* cplus-dem.c (demangle_fund_type): Process CV and u codes before
bumping the pointer we read from. Also prepend these codes,
as we do in other places.

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

25 years ago * cvt.c (convert_to_reference): Check for both error_mark_node
jason [Fri, 18 Dec 1998 11:50:30 +0000 (11:50 +0000)]
* cvt.c (convert_to_reference): Check for both error_mark_node
and NULL_NODE after call to convert_for_initialization.

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

25 years ago * error.c (interesting_scope_p): New fn.
jason [Fri, 18 Dec 1998 11:26:57 +0000 (11:26 +0000)]
* error.c (interesting_scope_p): New fn.
(dump_simple_decl): Use it.
(dump_expr, case CONSTRUCTOR): Force a & for a PMF.
(dump_expr, case OFFSET_REF): Print ->* if appropriate.

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

25 years ago1998-12-17 Vladimir N. Makarov <vmakarov@cygnus.com>
vmakarov [Fri, 18 Dec 1998 10:46:41 +0000 (10:46 +0000)]
1998-12-17  Vladimir N. Makarov  <vmakarov@cygnus.com>
* config/i60/i960.md (extendqihi2): Fix typo (usage ',' instead of
';').
1998-12-17  Michael Tiemann  <tiemann@axon.cygnus.com>
* i960.md (extend*, zero_extend*): Don't generate rtl that looks
like (subreg:SI (reg:SI N) 0), because it's wrong, and it hides
optimizations from the combiner.

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

25 years ago * parse.y (check_class_interface_creation): Use DIR_SEPARATOR
tromey [Fri, 18 Dec 1998 10:01:34 +0000 (10:01 +0000)]
* parse.y (check_class_interface_creation): Use DIR_SEPARATOR
consistently.

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

25 years agoDaily bump.
law [Fri, 18 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * configure.in (with-fast-fixincludes): Fix whitespace.
law [Thu, 17 Dec 1998 21:09:07 +0000 (21:09 +0000)]
    * configure.in (with-fast-fixincludes): Fix whitespace.
        * configure: Rebuilt.

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

25 years ago * parse.y (DIR_SEPARATOR): New define.
tromey [Thu, 17 Dec 1998 20:13:16 +0000 (20:13 +0000)]
* parse.y (DIR_SEPARATOR): New define.
(check_class_interface_creation): Use it.

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

25 years agoRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
rth [Thu, 17 Dec 1998 18:22:30 +0000 (18:22 +0000)]
Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
        * fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
        asm() etc. function declarations in __DECC.

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

25 years ago * pt.c (push_inline_template_parms_recursive): Set it.
jason [Thu, 17 Dec 1998 15:08:34 +0000 (15:08 +0000)]
* pt.c (push_inline_template_parms_recursive): Set it.
(decl_template_parm_p): Remove.
(check_template_shadow): Use DECL_TEMPLATE_PARM_P.
(process_template_parm): Set it.
Missed in Mark's earlier checkin.

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

25 years agoDo not generate CLOBBERs for non-pseudo regs.
nickc [Thu, 17 Dec 1998 14:02:32 +0000 (14:02 +0000)]
Do not generate CLOBBERs for non-pseudo regs.

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

25 years agoAdd: #include "expr.h"
nickc [Thu, 17 Dec 1998 13:54:39 +0000 (13:54 +0000)]
Add:   #include "expr.h"

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

25 years ago * hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.
ghazi [Thu, 17 Dec 1998 13:09:00 +0000 (13:09 +0000)]
   * hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.

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

25 years ago * parse-scan.y (report_main_declaration): Recognize
tromey [Thu, 17 Dec 1998 12:50:02 +0000 (12:50 +0000)]
* parse-scan.y (report_main_declaration): Recognize
`java.lang.String' in argument to main.

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

25 years agoFix canadian-cross build problem with haifa scheduler.
wilson [Thu, 17 Dec 1998 12:35:30 +0000 (12:35 +0000)]
Fix canadian-cross build problem with haifa scheduler.
* Makefile.in (INTERNAL_CFLAGS): Add SCHED_CFLAGS.
(ALL_CFLAGS): Delete SCHED_CFLAGS.

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

25 years agoInitial revision
law [Thu, 17 Dec 1998 06:43:56 +0000 (06:43 +0000)]
Initial revision

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

25 years agoDaily bump.
law [Thu, 17 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
amylaar [Thu, 17 Dec 1998 00:29:00 +0000 (00:29 +0000)]
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.

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

25 years ago * config.sub: Handle hppa2.0.
law [Thu, 17 Dec 1998 00:25:11 +0000 (00:25 +0000)]
    * config.sub: Handle hppa2.0.

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

25 years agodummy import to prevent merge lossage
law [Wed, 16 Dec 1998 22:24:51 +0000 (22:24 +0000)]
dummy import to prevent merge lossage

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

25 years ago* parse.y (create_interface): Remove bogus test.
bothner [Wed, 16 Dec 1998 17:44:49 +0000 (17:44 +0000)]
* parse.y (create_interface):  Remove bogus test.

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

25 years agoEnsure that last optimisation level set overrides any previous levels.
nickc [Wed, 16 Dec 1998 17:34:48 +0000 (17:34 +0000)]
Ensure that last optimisation level set overrides any previous levels.

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

25 years ago
bothner [Wed, 16 Dec 1998 17:01:53 +0000 (17:01 +0000)]

* jcf-parse.c (get_constant):  Set TREE_TYPE for string constants.
(HANDLE_CONSTANTVALUE):  If flag_emit_class_files, call get_constant.

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

25 years ago * parse-scan.y (qualified_name): Use correct sprintf format.
tromey [Wed, 16 Dec 1998 15:53:13 +0000 (15:53 +0000)]
* parse-scan.y (qualified_name): Use correct sprintf format.

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