platform/upstream/gcc.git
25 years agoc4x.md (addqi3): If the destination operand is a hard register other than an extended...
Michael Hayes [Wed, 6 Jan 1999 03:20:44 +0000 (03:20 +0000)]
c4x.md (addqi3): If the destination operand is a hard register other than an extended precision...

* config/c4x/c4x.md (addqi3): If the destination operand is
a hard register other than an extended precision register,
emit addqi3_noclobber.
(*addqi3_noclobber_reload): New pattern added so that reload
will recognise a store of a pseudo, equivalent to the sum
of the frame pointer and a constant, as an add insn.

From-SVN: r24511

25 years agoconfigure.in (pc-msdosdjgpp): Set x_make to x-go32.
Mark Elbrecht [Wed, 6 Jan 1999 02:25:57 +0000 (19:25 -0700)]
configure.in (pc-msdosdjgpp): Set x_make to x-go32.

        * configure.in (pc-msdosdjgpp): Set x_make to x-go32.
        * configure: Rebuilt.
        * i386/xm-go32.h: Define LIBSTDCXX.
        * i386/x-go32: New.
        * i386/go32.h (MD_EXEC_PREFIX): Define.
        (FILE_NAME_ABSOLUTE_P): Define.
        (LINK_COMMAND_SPEC): Define.

From-SVN: r24510

25 years agog++spec.c (LIBSTDCXX): Provide default definition.
Mark Elbrecht [Wed, 6 Jan 1999 02:23:10 +0000 (19:23 -0700)]
g++spec.c (LIBSTDCXX): Provide default definition.

        * g++spec.c (LIBSTDCXX): Provide default definition.
        (lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".

From-SVN: r24509

25 years agoMakefile.in: Add some missing $(exeext).
Jeffrey A Law [Wed, 6 Jan 1999 01:57:27 +0000 (01:57 +0000)]
Makefile.in: Add some missing $(exeext).

        * Makefile.in: Add some missing $(exeext).  Remove some obsolete
        runtime stuff.
        * Make-lang.in: Similarly.

From-SVN: r24508

25 years agoexpr.c (store_expr): If the lhs is a memory location pointed to be a postincremented...
Charles M. Hannum [Wed, 6 Jan 1999 01:28:56 +0000 (18:28 -0700)]
expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...


        * expr.c (store_expr): If the lhs is a memory location pointed
        to be a postincremented (or postdecremented) pointer, always
        force the rhs to be evaluated into a pseudo.

From-SVN: r24507

25 years agoexpr.c (store_expr): If the lhs is a memory location pointed to be a postincremented...
Charles M. Hannum [Wed, 6 Jan 1999 01:28:53 +0000 (18:28 -0700)]
expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...


        * expr.c (store_expr): If the lhs is a memory location pointed
        to be a postincremented (or postdecremented) pointer, always
        force the rhs to be evaluated into a pseudo.

From-SVN: r24506

25 years ago* gcc.c-torture/execute/990106-1.c: New test.
Jeffrey A Law [Wed, 6 Jan 1999 01:25:09 +0000 (01:25 +0000)]
* gcc.c-torture/execute/990106-1.c: New test.

From-SVN: r24504

25 years agoDaily bump.
Jeff Law [Wed, 6 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24503

25 years ago* real.c (mtherr): Print more reasonable warning messages.
Geoff Keating [Tue, 5 Jan 1999 23:56:04 +0000 (23:56 +0000)]
* real.c (mtherr): Print more reasonable warning messages.

From-SVN: r24502

25 years ago* Make-lang.in ($(GCJ).o): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:17:20 +0000 (19:17 +0000)]
* Make-lang.in ($(GCJ).o): Depend on prefix.h.

From-SVN: r24501

25 years ago* Make-lang.in (g77.o): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:15:33 +0000 (19:15 +0000)]
* Make-lang.in (g77.o): Depend on prefix.h.

From-SVN: r24500

25 years ago* Make-lang.in (g++.o): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:13:50 +0000 (19:13 +0000)]
* Make-lang.in (g++.o): Depend on prefix.h.

From-SVN: r24499

25 years agoMakefile.in (gcc.o, [...]): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:11:22 +0000 (19:11 +0000)]
Makefile.in (gcc.o, [...]): Depend on prefix.h.

        * Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
        * cccp.c: Include prefix.h, don't prototype prefix.c functions.
        (new_include_prefix): Constify char* parameters.
        * cppfiles.c (read_name_map): Likewise.
        (append_include_chain): Likewise.  Also, use a writable char* copy
        of parameter `dir' which we then modify, rather than using the
        parameter itself to store the new writable string.
        (remap_filename): Constify some variables.  Also, use a writable
        char* to store an allocated string which we will be modifying.
        * cpplib.c: Include prefix.h, don't prototype prefix.c functions.
        (cpp_start_read): Constify variable `str'.
        * cpplib.h (append_include_chain): Constify a char* parameter.
        * gcc.c Include prefix.h, don't prototype prefix.c functions.
        (add_prefix, save_string): Constify char* parameters.
        (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
        * prefix.c: Include prefix.h.
        (get_key_value, translate_name, save_string, update_path,
        set_std_prefix): Constify various char* parameters and variables.
        (save_string): Use xmalloc, not malloc.
        (translate_name): Use a writable temporary variable to create and
        modify a string before setting it to a const char*.
        * prefix.h: New file to prototype functions exported from prefix.c.

From-SVN: r24498

25 years agoDaily bump.
Jeff Law [Tue, 5 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24495

25 years agoconfigure.in (thread_file): Correct and simplify code to find the thread file.
Jeffrey A Law [Tue, 5 Jan 1999 00:40:22 +0000 (00:40 +0000)]
configure.in (thread_file): Correct and simplify code to find the thread file.

        * configure.in (thread_file): Correct and simplify code to find
        the thread file.
        * configure: Rebuilt.

From-SVN: r24494

25 years agoA newer branch for fixinclude work.
Robert Lipe [Mon, 4 Jan 1999 14:11:02 +0000 (14:11 +0000)]
A newer branch for fixinclude work.

: Modified Files:
:  Tag: fixincl-branch
:  Makefile.in fixinc.dgux fixinc.irix fixinc.ptx fixinc.sco
:  fixinc.svr4 fixinc.winnt fixinc.wrap fixincl.c fixincl.sh
:  fixincl.x hackshell.tpl inclhack.def inclhack.sh inclhack.tpl
:  mkfixinc.sh regex.c regex.h server.c server.h
: Added Files:
:  README

[[Split portion of a mixed commit.]]

From-SVN: r24488.2

25 years agoMove entries to proper place.
Dave Brolley [Mon, 4 Jan 1999 12:45:36 +0000 (07:45 -0500)]
Move entries to proper place.

From-SVN: r24486

25 years agocpplib.c (skip_if_group): Split out the logic that handles directive recognition...
Zack Weinberg [Mon, 4 Jan 1999 12:38:22 +0000 (12:38 +0000)]
cpplib.c (skip_if_group): Split out the logic that handles directive recognition to its own function.

1998-12-21 18:03 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (skip_if_group): Split out the logic that handles
directive recognition to its own function.  Don't use
parse markers; use a bare pointer into the buffer.  Use
copy/skip_rest_of_line instead of doing it by hand.  Remove
`return on any directive' mode which was never used, and take
only one argument.
(consider_directive_while_skipping): New function, subroutine
of skip_if_group.  Logic streamlined a bit.
(conditional_skip, do_elif, do_else): Call skip_if_group with
only one argument.

From-SVN: r24485

25 years agocpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.
Zack Weinberg [Mon, 4 Jan 1999 12:15:43 +0000 (12:15 +0000)]
cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.

Wed Dec 23 17:30:18 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
error.

From-SVN: r24484

25 years ago* extend.texi (Bound member functions): Document.
Jason Merrill [Mon, 4 Jan 1999 11:56:18 +0000 (11:56 +0000)]
* extend.texi (Bound member functions): Document.

From-SVN: r24483

25 years agonew
Jason Merrill [Mon, 4 Jan 1999 11:55:40 +0000 (06:55 -0500)]
new

From-SVN: r24482

25 years agotree.c (bound_pmf_p): New fn.
Jason Merrill [Mon, 4 Jan 1999 11:55:37 +0000 (11:55 +0000)]
tree.c (bound_pmf_p): New fn.

* tree.c (bound_pmf_p): New fn.
* typeck.c (build_c_cast): Use it.

From-SVN: r24481

25 years ago* decl.c (grok_op_properties): Use same_type_p.
Jason Merrill [Mon, 4 Jan 1999 10:54:26 +0000 (10:54 +0000)]
* decl.c (grok_op_properties): Use same_type_p.

From-SVN: r24480

25 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 4 Jan 1999 08:11:13 +0000 (08:11 +0000)]
Warning fixes:

        * mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
        lang_to_string, type_to_string): Make return type const char*.
        (print_symbol): Apply `const' keyword to a char*.
        (print_file_desc): Cast structure member `crfd' to ulong when
        comparing against one.
        * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
        (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
        (progname, input_name): Apply `const' keyword to a char*.
        Don't redundantly include sys/stat.h.
        (alloc_info): Apply `const' keyword to a char*.
        (st_to_string, sc_to_string): Likewise.
        (hash_string): Cast variable `hash_string' to a symint_t when
        comparing against one.
        (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
        Likewise cast it to long when comparing against one.
        (add_local_symbol): Apply `const' keyword to a char*.
        (add_ext_symbol): Likewise.
        (add_unknown_tag): Likewise.
        (add_procedure): Cast a printf-style field width to an int.
        (add_file): Cast PAGE_USIZE to long when comparing against one
        (parse_begin): Cast a printf-style field width to an int.
        (parse_bend): Likewise.
        (parse_def): Likewise.
        (parse_end): Likewise.
        (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
        (parse_stabs_common): Fix format specifier.
        (parse_input): Change type of variable `i' to Size_t.
        (write_object): Fix arguments to match format specifiers.
        Cast variable `num_write' to long when comparing against one.
        (read_seek): Cast variable `sys_read' to symint_t when comparing
        against one.  Fix arguments to match format specifiers.  Cast
        variable `size' to long when comparing against one.
        (copy_object): Cast result of `sizeof' to int when comparing
        against one.  Fix arguments to match format specifiers.  Cast
        variable `ifd' to long when comparing against a signed value.
        Likewise, likewise.

From-SVN: r24479

25 years agoc-common.c (decl_attributes): Allow applying attribute `unused' on a LABEL_DECL.
Kaveh R. Ghazi [Mon, 4 Jan 1999 07:48:37 +0000 (07:48 +0000)]
c-common.c (decl_attributes): Allow applying attribute `unused' on a LABEL_DECL.

        * c-common.c (decl_attributes): Allow applying attribute `unused'
        on a LABEL_DECL.
        * c-parse.in (label): Parse attributes after a label, and call
        `decl_attributes' to handle them.
        * gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.
        * genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
        generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.
        * invoke.texi: Note that labels can be marked `unused'.

From-SVN: r24478

25 years agoDaily bump.
Jeff Law [Mon, 4 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24477

25 years agoBump for snapshot
Jeffrey A Law [Sun, 3 Jan 1999 23:32:23 +0000 (16:32 -0700)]
Bump for snapshot

From-SVN: r24473

25 years agooptabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing RTL for a compare...
Jeffrey A Law [Sun, 3 Jan 1999 22:03:47 +0000 (22:03 +0000)]
optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing RTL for a compare/jump sequence.

        * optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
        RTL for a compare/jump sequence.

From-SVN: r24472

25 years agooptabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL for a target with...
Michael Hayes [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.

        * 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.

From-SVN: r24471

25 years agofixincludes (sys/utsname.h): Provide forward declaration of struct utsname on Ultrix...
Rainer Orth [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].

        * fixincludes (sys/utsname.h): Provide forward declaration of
        struct utsname on Ultrix V4.[35].

From-SVN: r24470

25 years agoUpdate copyrights.
Jeff Law [Sun, 3 Jan 1999 20:09:31 +0000 (13:09 -0700)]
Update copyrights.

From-SVN: r24469

25 years agoCopyright update.
Jeff Law [Sun, 3 Jan 1999 20:08:21 +0000 (13:08 -0700)]
Copyright update.

From-SVN: r24468

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

From-SVN: r24467

25 years agomips.md (div_trap): Use local labels instead of dot-relative branches.
Rainer Orth [Sun, 3 Jan 1999 20:04:50 +0000 (20:04 +0000)]
mips.md (div_trap): Use local labels instead of dot-relative branches.

        * mips.md (div_trap): Use local labels instead of dot-relative
        branches.
Works around bug in ultrix assemblers.

From-SVN: r24466

25 years agopa.md (branch, [...]): Handle (const_int 0) as first source operand.
Jeffrey A Law [Sun, 3 Jan 1999 19:45:34 +0000 (19:45 +0000)]
pa.md (branch, [...]): Handle (const_int 0) as first source operand.

        * 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.

From-SVN: r24465

25 years agoDaily bump.
Jeff Law [Sun, 3 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24464

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

        * rs6000.c (rs6000_stack_info): Undo spurious part of last
        change.

From-SVN: r24463

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

From-SVN: r24462

25 years agoDaily bump.
Jeff Law [Sat, 2 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24461

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

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

From-SVN: r24460

25 years agoextend.texi (__builtin_constant_p): Add missing @smallexample.
Manfred Hollstein [Fri, 1 Jan 1999 12:34:37 +0000 (12:34 +0000)]
extend.texi (__builtin_constant_p): Add missing @smallexample.


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

From-SVN: r24459

25 years agoi386.md (doubleword shifts): Fix dumb mistakes in previous change.
Jeff Law [Fri, 1 Jan 1999 10:53:08 +0000 (03:53 -0700)]
i386.md (doubleword shifts): Fix dumb mistakes in previous change.

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

From-SVN: r24457

25 years agoi386.md (doubleword shifts): Fix dumb mistakes in previous change.
Jeff Law [Fri, 1 Jan 1999 10:53:05 +0000 (03:53 -0700)]
i386.md (doubleword shifts): Fix dumb mistakes in previous change.


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

From-SVN: r24456

25 years agoDaily bump.
Jeff Law [Fri, 1 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24455

25 years agoDaily bump.
Jeff Law [Thu, 31 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24454

25 years agom68k.md (adddi_dilshr32): Allow all operands to be registers too.
Jeffrey A Law [Thu, 31 Dec 1998 00:13:53 +0000 (00:13 +0000)]
m68k.md (adddi_dilshr32): Allow all operands to be registers too.

        * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
        (adddi_dishl32): Similarly.

From-SVN: r24452

25 years agocse.c (invalidate_skipped_block): Call invalidate_from_clobbers for each insn in...
Jeffrey A 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.

        * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
        for each insn in the skipped block.
Fixes m68k codegen bug.

From-SVN: r24450

25 years agoreload1.c (reload_as_needed): Verify that the insn satisfies its constraints after...
Jeffrey A 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...

        * 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.

From-SVN: r24449

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

From-SVN: r24448

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

From-SVN: r24447

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

From-SVN: r24446

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

From-SVN: r24445

25 years agoloop.c (check_dbra_loop): While reversing the loop...
Andreas Schwab [Wed, 30 Dec 1998 21:51:53 +0000 (21:51 +0000)]
loop.c (check_dbra_loop): While reversing the loop...

        * 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.

From-SVN: r24444

25 years agoFix calculation of fpmem_offset on little endian systems; Silence warnings when build...
Michael 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

From-SVN: r24443

25 years agogcc.texi (Non-bugs): ``Empty'' loops will be optimized away in the future...
Gerald Pfeifer [Wed, 30 Dec 1998 05:28:05 +0000 (06:28 +0100)]
gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in the future...

* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.

From-SVN: r24442

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

From-SVN: r24441

25 years agosparc.c (input_operand): Recognize (const (constant_p_rtx)).
Richard Henderson [Tue, 29 Dec 1998 12:02:15 +0000 (04:02 -0800)]
sparc.c (input_operand): Recognize (const (constant_p_rtx)).

        * 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.

From-SVN: r24440

25 years agoRichard Kenner <kenner@vlsi1.ultra.nyu.edu>:
Richard Henderson [Tue, 29 Dec 1998 11:36:22 +0000 (03:36 -0800)]
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.

From-SVN: r24439

25 years agoalpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
Richard Henderson [Tue, 29 Dec 1998 11:35:34 +0000 (03:35 -0800)]
alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.

        * 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.

From-SVN: r24438

25 years agobcp-1.c (bad10): Rename from opt3.
Richard Henderson [Tue, 29 Dec 1998 11:35:06 +0000 (03:35 -0800)]
bcp-1.c (bad10): Rename from opt3.

        * gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
        (opt3): Rename from opt4 and disable.

From-SVN: r24437

25 years agoDaily bump.
Jeff Law [Tue, 29 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24436

25 years agoDaily bump.
Jeff Law [Mon, 28 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24434

25 years agoDaily bump.
Jeff Law [Sun, 27 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24433

25 years agoBump for snapshot
Jeffrey A Law [Sat, 26 Dec 1998 23:26:30 +0000 (16:26 -0700)]
Bump for snapshot

From-SVN: r24431

25 years agogengenrtl.c (gencode): Always use bzero to clear memory instead of dangerous casts...
Jeffrey A 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.

        * gengenrtl.c (gencode): Always use bzero to clear memory instead
        of dangerous casts and stores.
Fixes alpha & sparc -O3 bootstrap problems.

From-SVN: r24420

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

From-SVN: r24419

25 years agoDaily bump.
Jeff Law [Sat, 26 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24418

25 years agoalpha.md (builtin_longjmp): Add missing "DONE".
Jeffrey A Law [Fri, 25 Dec 1998 22:08:13 +0000 (22:08 +0000)]
alpha.md (builtin_longjmp): Add missing "DONE".

        * alpha.md (builtin_longjmp): Add missing "DONE".
alpha -O0 bootstrap bugfix.

From-SVN: r24417

25 years agoDaily bump.
Jeff Law [Fri, 25 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24416

25 years agofix minor typo
Brendan Kehoe [Thu, 24 Dec 1998 10:52:44 +0000 (05:52 -0500)]
fix minor typo

From-SVN: r24415

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

From-SVN: r24414

25 years agoDaily bump.
Jeff Law [Thu, 24 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24413

25 years agofix placement of the errors
Brendan Kehoe [Wed, 23 Dec 1998 17:02:02 +0000 (12:02 -0500)]
fix placement of the errors

From-SVN: r24412

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

From-SVN: r24409

25 years agoexpr.c (process_jvm_instruction): Do load_type_state after JSR.
Per Bothner [Wed, 23 Dec 1998 10:46:45 +0000 (02:46 -0800)]
expr.c (process_jvm_instruction): Do load_type_state after JSR.

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.

From-SVN: r24406

25 years agoexpr.c (process_jvm_instruction): Do load_type_state after JSR.
Per Bothner [Wed, 23 Dec 1998 10:46:40 +0000 (10:46 +0000)]
expr.c (process_jvm_instruction): Do load_type_state after JSR.

* 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.

From-SVN: r24405

25 years agoexpr.c (process_jvm_instruction): Do load_type_state after JSR.
Per Bothner [Wed, 23 Dec 1998 10:46:39 +0000 (02:46 -0800)]
expr.c (process_jvm_instruction): Do load_type_state after JSR.

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.

From-SVN: r24404

25 years agoWarning fixes:
Kaveh R. 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

From-SVN: r24403

25 years agoDaily bump.
Jeff Law [Wed, 23 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24402

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

From-SVN: r24401

25 years agotoplev.c (rest_of_compilation): Do not set reload_completed.
Jeffrey A Law [Tue, 22 Dec 1998 23:13:41 +0000 (23:13 +0000)]
toplev.c (rest_of_compilation): Do not set reload_completed.

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.

From-SVN: r24400

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

From-SVN: r24399

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

From-SVN: r24398

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

From-SVN: r24397

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

From-SVN: r24396

25 years agoWarning fixes:
Kaveh R. 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.

From-SVN: r24395

25 years agocp-tree.h (TYPE_RAISES_EXCEPTIONS): Improve documentation.
Mark Mitchell [Tue, 22 Dec 1998 10:33:17 +0000 (10:33 +0000)]
cp-tree.h (TYPE_RAISES_EXCEPTIONS): Improve documentation.

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.

From-SVN: r24394

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

From-SVN: r24393

25 years agoWarning fixes:
Kaveh R. 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.

From-SVN: r24392

25 years agoDaily bump.
Jeff Law [Tue, 22 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24391

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

From-SVN: r24390

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

From-SVN: r24389

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

From-SVN: r24388

25 years agoDaily bump.
Jeff Law [Mon, 21 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24387

25 years agoconfigure.in: Handle Digital UNIX 5.x the same as 4.x.
John F. Carr [Sun, 20 Dec 1998 13:24:18 +0000 (13:24 +0000)]
configure.in: Handle Digital UNIX 5.x the same as 4.x.

* 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.

From-SVN: r24386

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

From-SVN: r24385

25 years agoBump for snapshot
Jeffrey A Law [Sun, 20 Dec 1998 07:39:56 +0000 (00:39 -0700)]
Bump for snapshot

From-SVN: r24383

25 years agoDaily bump.
Jeff Law [Sun, 20 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24382

25 years agoBump for snapshot
Jeffrey A Law [Sat, 19 Dec 1998 22:24:26 +0000 (15:24 -0700)]
Bump for snapshot

From-SVN: r24380

25 years agoBump for snapshot
Jeffrey A Law [Sat, 19 Dec 1998 21:41:36 +0000 (14:41 -0700)]
Bump for snapshot

From-SVN: r24379