gcc.git
25 years agounroll.c (find_splittable_givs): For a DEST_ADDR giv...
Jeffrey A Law [Fri, 15 Jan 1999 01:53:08 +0000 (01:53 +0000)]
unroll.c (find_splittable_givs): For a DEST_ADDR giv...

        * unroll.c (find_splittable_givs): For a DEST_ADDR giv, do not share
        a register with another DEST_ADDR giv if the address is not valid.

From-SVN: r24673

25 years agopa.c (hppa_expand_epilogue): Save and restore the static chain around the call to...
Jeffrey A Law [Fri, 15 Jan 1999 01:03:43 +0000 (01:03 +0000)]
pa.c (hppa_expand_epilogue): Save and restore the static chain around the call to mcount.

        * pa.c (hppa_expand_epilogue): Save and restore the static chain
        around the call to mcount.

From-SVN: r24672

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

From-SVN: r24671

25 years ago* h8300.h (ASM_OUTPUT_LABELREF): Use asm_fprintf, not fprintf.
Jeffrey A Law [Fri, 15 Jan 1999 00:21:26 +0000 (00:21 +0000)]
* h8300.h (ASM_OUTPUT_LABELREF): Use asm_fprintf, not fprintf.

From-SVN: r24669

25 years agoUpdate copyright.
Richard Henderson [Thu, 14 Jan 1999 23:27:24 +0000 (15:27 -0800)]
Update copyright.

From-SVN: r24668

25 years agostmt.c (expand_end_case): Use emit_cmp_and_jump_insns to avoid generating non-canonic...
Jeff Law [Thu, 14 Jan 1999 21:42:18 +0000 (14:42 -0700)]
stmt.c (expand_end_case): Use emit_cmp_and_jump_insns to avoid generating non-canonical rtl.

        * stmt.c (expand_end_case): Use emit_cmp_and_jump_insns to avoid
        generating non-canonical rtl.

From-SVN: r24667

25 years agoi960.c (i960_output_move_double_zero, [...]): New functions for moving zeros.
Vladimir N. Makarov [Thu, 14 Jan 1999 15:17:46 +0000 (15:17 +0000)]
i960.c (i960_output_move_double_zero, [...]): New functions for moving zeros.

1999-01-14  Vladimir N. Makarov  <vmakarov@cygnus.com>
* config/i960/i960.c (i960_output_move_double_zero,
i960_output_move_quad_zero): New functions for moving zeros.
(i960_output_move_double, i960_output_move_quad): Additional code
for situation when moving unaligned register group.
        * config/i960/i960.h (i960_output_move_double_zero,
i960_output_move_quad_zero): The function definitions.
* config/i960/i960.md (movdi+1, movti+1): Usage of the functions.

From-SVN: r24666

25 years ago
Catherine Moore [Thu, 14 Jan 1999 14:43:05 +0000 (09:43 -0500)]


From-SVN: r24665

25 years ago* cplus-dem.c (mop_up): Set work->previous_argument to NULL after freeing it.
Ulrich Drepper [Thu, 14 Jan 1999 12:09:46 +0000 (12:09 +0000)]
* cplus-dem.c (mop_up): Set work->previous_argument to NULL after freeing it.

From-SVN: r24664

25 years ago(mop_up): Set work->previous_argument to NULL after freeing it.
Ulrich Drepper [Thu, 14 Jan 1999 12:09:01 +0000 (12:09 +0000)]
(mop_up): Set work->previous_argument to NULL after freeing it.

From-SVN: r24663

25 years agore PR other/18132 (Problem compiling gcc 3.4.2)
Jason Merrill [Thu, 14 Jan 1999 10:42:12 +0000 (10:42 +0000)]
re PR other/18132 (Problem compiling gcc 3.4.2)

* semantics.c (finish_asm_stmt): Don't warn about redundant volatile.
PR 18132
* decl2.c (import_export_class): MULTIPLE_SYMBOL_SPACES only means
that we don't suppress the other copies.
* lex.c (handle_cp_pragma): Likewise.
PR 18627

From-SVN: r24662

25 years agoi960.c (i960_function_prologue): New code (optimal solution) for saving global regist...
Vladimir N. Makarov [Thu, 14 Jan 1999 08:55:47 +0000 (08:55 +0000)]
i960.c (i960_function_prologue): New code (optimal solution) for saving global registers in local registers.

1999-01-13  Vladimir N. Makarov  <vmakarov@cygnus.com>
* config/i960/i960.c (i960_function_prologue): New code (optimal
solution) for saving global registers in local registers.
(form_reg_groups, reg_group_compare, split_reg_group): New
functions used by the code.
(reg_group): New structure definition for the new code.

From-SVN: r24661

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

From-SVN: r24660

25 years agorandom.c (NULL): Don't redefine NULL if it is already defined.
Michael Meissner [Wed, 13 Jan 1999 21:38:14 +0000 (21:38 +0000)]
random.c (NULL): Don't redefine NULL if it is already defined.

1998-12-30  Michael Meissner  <meissner@cygnus.com>
        * random.c (NULL): Don't redefine NULL if it is already defined.

From-SVN: r24659

25 years agointegrate.c (expand_inline_function): Recognize (mem (addressof)) and substitute.
Richard Henderson [Wed, 13 Jan 1999 20:13:27 +0000 (12:13 -0800)]
integrate.c (expand_inline_function): Recognize (mem (addressof)) and substitute.

        * integrate.c (expand_inline_function): Recognize (mem (addressof))
        and substitute.  Copy the return value from there into a new pseudo.

From-SVN: r24658

25 years agoc4x.md (in_annul_slot_3): Correctly allow unarycc and binarycc operations in 3rd...
Michael Hayes [Wed, 13 Jan 1999 16:52:03 +0000 (16:52 +0000)]
c4x.md (in_annul_slot_3): Correctly allow unarycc and binarycc operations in 3rd annulled delay slot!

* config/c4x/c4x.md (in_annul_slot_3): Correctly allow unarycc
and binarycc operations in 3rd annulled delay slot!

From-SVN: r24657

25 years agodecl.c (grokdeclarator): Undo 1998-12-14 change.
Mark Mitchell [Wed, 13 Jan 1999 16:27:23 +0000 (16:27 +0000)]
decl.c (grokdeclarator): Undo 1998-12-14 change.

* decl.c (grokdeclarator): Undo 1998-12-14 change.
* tree.c (build_cplus_array_type_1): Likewise.
* pt.c (instantiate_class_template): Remove misleading comment.
(tsubst_aggr_type): Substitute if there are template parameters,
regardless of whether or not they use template arguments.
(unify): Likewise, but for unification.

From-SVN: r24656

25 years agoconfigure.in: Test for "ln -s" and set LN_S in generated Makefile.
Ulrich Drepper [Wed, 13 Jan 1999 16:04:01 +0000 (16:04 +0000)]
configure.in: Test for "ln -s" and set LN_S in generated Makefile.

        * configure.in: Test for "ln -s" and set LN_S in generated Makefile.
        * Makefile.in: Use $(LN_S) instead of explicitly ln -s.

From-SVN: r24655

25 years ago[multiple changes]
Vladimir Makarov [Wed, 13 Jan 1999 15:28:22 +0000 (15:28 +0000)]
[multiple changes]

Thu Jan 11 18:37:50 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
* invoke.texi (-mcpu=740, -mcpu=750): New options.
        (-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &
PPC750.
1999-01-11  Michael Meissner  <meissner@cygnus.com>
* config/rs6000/rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all
machines supported with -mcpu=xxx.
(processor_type): Add PROCESSOR_PPC750.
(ADJUST_PRIORITY): Call rs6000_adjust_priority.
(RTX_COSTS): Supply costs for 750 multiply/divide operations.
(rs6000_adjust_priority): Add declaration.
* config/rs6000/rs6000.c (rs6000_override_options):
-mcpu={750,740} now sets the processor type as 750, not 603.
Allow -mmultiple and -mstring on little endian 750 systems.
(rs6000_adjust_priority): Stub for now.
(get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.
* config/rs6000/rs6000.md (function/cpu attributes): Add initial
ppc750 support.
* config/rs6000/sysv4.h (STRICT_ALIGNMENT): Don't force strict
alignment if little endian.
(CC1_SPEC): Pass -mstrict-align if little endian, and not
overridden.
(CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
(SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.
* config/rs6000/{sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC):
Override, default is little endian.
* config/rs6000/t-ppcgas (MULTILIB_*): Delete obsolete Solaris
multilibs.

From-SVN: r24654

25 years agoarm.c (output_func_epilogue): Check TARGET_ABORT_NORETURN before generating a call...
Catherine Moore [Wed, 13 Jan 1999 14:32:39 +0000 (14:32 +0000)]
arm.c (output_func_epilogue): Check TARGET_ABORT_NORETURN before generating a call to abort for volatile...

        * config/arm.c (output_func_epilogue):  Check TARGET_ABORT_NORETURN
        before generating a call to abort for volatile functions.
        * config/arm.h (ARM_FLAG_ABORT_NORETURN):  Define.
        (TARGET_ABORT_NORETURN):  Define.
        (abort-on-noreturn):  New option.

From-SVN: r24653

25 years agofix typo
Jason Merrill [Wed, 13 Jan 1999 11:49:34 +0000 (06:49 -0500)]
fix typo

From-SVN: r24652

25 years ago* xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
Kaveh R. Ghazi [Wed, 13 Jan 1999 11:30:56 +0000 (11:30 +0000)]
* xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.

From-SVN: r24651

25 years agocccp.c (xstrdup): Renamed from `savestring'.
Kaveh R. Ghazi [Wed, 13 Jan 1999 10:46:45 +0000 (10:46 +0000)]
cccp.c (xstrdup): Renamed from `savestring'.

        * cccp.c (xstrdup): Renamed from `savestring'.  All callers changed.
        Remove prototype which we get from libiberty.h.
        * collect2.c (xstrdup): Likewise.
        * genextract.c (xstrdup): Likewise for `copystr'.
        (mybzero): Remove it and use `memset' instead.
        * genoutput.c (mybcopy, mybzero): Remove these.  All callers changed
        to use `memcpy' and `memset' instead.
        * genrecog.c (xstrdup): Renamed from `copystr'.  All callers
        changed.  Remove prototype.
        (mybcopy, mybzero): Remove these and use memcpy/memset.

From-SVN: r24650

25 years agoexpr.c (generate_name): Name prefix changed to avoid clashes with assembler temp...
Andrew Haley [Wed, 13 Jan 1999 06:13:37 +0000 (06:13 +0000)]
expr.c (generate_name): Name prefix changed to avoid clashes with assembler temp labels.

1999-01-13  Andrew Haley  <aph@cygnus.com>
* expr.c (generate_name): Name prefix changed to avoid clashes
with assembler temp labels.
* parse.y (patch_synchronized_statement): Set TREE_SIDE_EFFECTS on
MODIFY_EXPR.  Without this, code for the assignement may not be
generated at all and the synchronized statement will read an
uninitialized variable.

From-SVN: r24649

25 years agoclass.c (maybe_layout_super_class): Fixed returned value.
Alexandre Petit-Bianco [Wed, 13 Jan 1999 04:01:43 +0000 (04:01 +0000)]
class.c (maybe_layout_super_class): Fixed returned value.

Wed Jan 13 01:24:54 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* class.c (maybe_layout_super_class): Fixed returned value.
* lex.c: Added 1999 to the copyright.
(java_init_lex): Initialize java_lang_imported.
* lex.h: Added 1999 to the copyright.
* parse.h: Added 1999 to the copyright.
(REGISTER_IMPORT): Fixed typo in trailing macro.
(CURRENT_OSB): New macro.
(struct parser_ctxt): New fields osb_depth, osb_limit.
* parse.y (java_lang_id): New global variable.
(type_import_on_demand_declaration): Don't import java.lang.* twice.
(array_creation_expression:): Use CURRENT_OSB.
(dims:): Uses a stack to keep track of array dimensions.
(cast_expression:): Use CURRENT_OSB.
(find_expr_with_wfl): Return NULL if node found doesn't meet the
  conditions.
(register_fields): Fixed typos in comment.
(check_method_redefinition): Fixed comment indentation.
(java_check_regular_methods): Set saved found wfl to NULL after
  having reinstalled it in the previously found DECL_NAME.
Fix an array dimension counting bug and some random other ones.

From-SVN: r24648

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

From-SVN: r24647

25 years agomips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when generating code...
Jeff Law [Wed, 13 Jan 1999 00:02:31 +0000 (17:02 -0700)]
mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when generating code for TARGET_64BIT.

0
        * mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
        generating code for TARGET_64BIT.

From-SVN: r24646

25 years agomips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when generating code...
Jeff Law [Wed, 13 Jan 1999 00:02:28 +0000 (17:02 -0700)]
mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when generating code for TARGET_64BIT.


        * mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
        generating code for TARGET_64BIT.

From-SVN: r24645

25 years agoMore address fixes
Jeff Law [Tue, 12 Jan 1999 19:09:02 +0000 (12:09 -0700)]
More address fixes

From-SVN: r24644

25 years agoHow did these squeak through the address fixes?
Jeff Law [Tue, 12 Jan 1999 19:08:15 +0000 (12:08 -0700)]
How did these squeak through the address fixes?

From-SVN: r24643

25 years ago[multiple changes]
David Edelsohn [Tue, 12 Jan 1999 11:26:45 +0000 (06:26 -0500)]
[multiple changes]

Tue Jan 12 14:05:37 1999   David Edelsohn  <edelsohn@mhpcc.edu>
        * rs6000.c (print_operand, cases 'm' and 'M'): Do not depend on
        HOST_WIDE_INT word-size.
        (rs6000_stack_info): Remove redundant alignment of fpmem.
Tue Jan 12 14:05:37 1999   Richard Henderson  <rth@cygnus.com>
        * rs6000.c (short_cint_operand): Remove CONSTANT_P_RTX handling.
        (u_short_cint_operand, reg_or_cint_operand, logical_operand): Likewise.
        (input_operand): Adjust CONSTANT_P_RTX handling.
        * rs6000.h (PREDICATE_CODES): Remove CONSTANT_P_RTX references.
        * rs6000.md (movsi): Adjust CONSTANT_P_RTX handling.
        (movhi, movqi): Remove CONSANT_P_RTX handling.
        (movdi): Adjust CONSTANT_P_RTX handling.

From-SVN: r24640

25 years ago* mips.md (call_value_internal3c): New pattern for -mips16 -mlong-calls.
Stan Cox [Tue, 12 Jan 1999 10:46:58 +0000 (10:46 +0000)]
* mips.md (call_value_internal3c): New pattern for -mips16 -mlong-calls.

From-SVN: r24639

25 years agomot3300.h (ADD_MISSING_POSIX, [...]): Define to ensure all prototypes necessary for...
Manfred Hollstein [Tue, 12 Jan 1999 04:16:49 +0000 (04:16 +0000)]
mot3300.h (ADD_MISSING_POSIX, [...]): Define to ensure all prototypes necessary for building libio will be available.


* m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
ensure all prototypes necessary for building libio will be available.
* m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove
definitions here as they are not host specific.
* m88k/sysv3.h, m88k/xm-sysv3.h: Likewise.

From-SVN: r24638

25 years ago* cse.c (cse_insn): Never prefer (const (constant_p_rtx)).
Richard Henderson [Tue, 12 Jan 1999 02:54:32 +0000 (18:54 -0800)]
* cse.c (cse_insn): Never prefer (const (constant_p_rtx)).

From-SVN: r24637

25 years agoBump for snapshot
Jeffrey A Law [Tue, 12 Jan 1999 02:36:16 +0000 (19:36 -0700)]
Bump for snapshot

From-SVN: r24635

25 years ago* cp-tree.h (flag_permissive): Declare extern.
Richard Henderson [Tue, 12 Jan 1999 02:06:57 +0000 (18:06 -0800)]
* cp-tree.h (flag_permissive): Declare extern.

From-SVN: r24634

25 years ago* recog.h (recog_op_alt): Declare extern.
Richard Henderson [Tue, 12 Jan 1999 02:02:37 +0000 (18:02 -0800)]
* recog.h (recog_op_alt): Declare extern.

From-SVN: r24633

25 years ago* rtl.c (rtx_alloc): Use memset instead of inline loop.
Richard Henderson [Tue, 12 Jan 1999 01:31:09 +0000 (17:31 -0800)]
* rtl.c (rtx_alloc): Use memset instead of inline loop.

From-SVN: r24632

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

From-SVN: r24631

25 years agofunction.c (purge_addressof_1): If the note accesses a mem+addressof in a wider mode...
Richard Henderson [Tue, 12 Jan 1999 00:24:25 +0000 (16:24 -0800)]
function.c (purge_addressof_1): If the note accesses a mem+addressof in a wider mode than any replacement...

        * function.c (purge_addressof_1): If the note accesses a mem+addressof
        in a wider mode than any replacement, adjust the cached replacement.
        Cache trivial substitutions as well.

From-SVN: r24629

25 years agoMakefile.in (OBJECTS): Add sbitmap.o.
Richard Henderson [Tue, 12 Jan 1999 00:07:36 +0000 (16:07 -0800)]
Makefile.in (OBJECTS): Add sbitmap.o.

        * Makefile.in (OBJECTS): Add sbitmap.o.
        (BASIC_BLOCK_H): Add sbitmap.h.
        * basic-block.h: Move simple bitmap code to sbitmap.h.
        * flow.c: Move simple bitmap code to sbitmap.c
        * sbitmap.h, sbitmap.c: New files.

From-SVN: r24628

25 years agoelf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.
Richard Henderson [Mon, 11 Jan 1999 23:56:01 +0000 (15:56 -0800)]
elf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.

        * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.
Update copyrights.

From-SVN: r24627

25 years agoalpha.h (TARGET_SWITCHES): Document switches.
Richard Henderson [Mon, 11 Jan 1999 23:54:53 +0000 (15:54 -0800)]
alpha.h (TARGET_SWITCHES): Document switches.

        * alpha.h (TARGET_SWITCHES): Document switches.
        (TARGET_OPTIONS): Likewise.

From-SVN: r24626

25 years agoOpps. Copied in the wrong file for initial commit.
Jeff Law [Mon, 11 Jan 1999 23:40:03 +0000 (16:40 -0700)]
Opps.  Copied in the wrong file for initial commit.

From-SVN: r24625

25 years agoUpdate copyrights.
Richard Henderson [Mon, 11 Jan 1999 23:15:28 +0000 (15:15 -0800)]
Update copyrights.

From-SVN: r24624

25 years ago* tree.c (new_alias_set): Return zero if !flag_strict_aliasing.
Richard Henderson [Mon, 11 Jan 1999 22:55:09 +0000 (14:55 -0800)]
* tree.c (new_alias_set): Return zero if !flag_strict_aliasing.

From-SVN: r24623

25 years agobasic-block.h (basic_block_head): Rename to x_basic_block_head.
Richard Henderson [Mon, 11 Jan 1999 22:37:20 +0000 (14:37 -0800)]
basic-block.h (basic_block_head): Rename to x_basic_block_head.

        * basic-block.h (basic_block_head): Rename to x_basic_block_head.
        (basic_block_end): Rename to x_basic_block_end.
        (BLOCK_HEAD, BLOCK_END): Update.
        * caller-save.c: Change basic_block_head/end references to
        BLOCK_HEAD/END.
        * combine.c, flow.c, function.c, gcse.c, global.c: Likewise.
        * graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise.
        * regmove.c, reload1.c, reorg.c, sched.c: Likewise.

From-SVN: r24622

25 years agoFSF address fix in copyright header.
Jeff Law [Mon, 11 Jan 1999 14:12:18 +0000 (07:12 -0700)]
FSF address fix in copyright header.

From-SVN: r24620

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 14:09:10 +0000 (07:09 -0700)]
Update FSF address in copyright header.

From-SVN: r24619

25 years agoMore address fixes.
Jeff Law [Mon, 11 Jan 1999 14:06:22 +0000 (07:06 -0700)]
More address fixes.

From-SVN: r24618

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:53:51 +0000 (06:53 -0700)]
Update FSF address in copyright header.

From-SVN: r24617

25 years agoFix FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:47:11 +0000 (06:47 -0700)]
Fix FSF address in copyright header.

From-SVN: r24616

25 years agoMore FSF address updates.
Jeff Law [Mon, 11 Jan 1999 13:43:27 +0000 (06:43 -0700)]
More FSF address updates.

From-SVN: r24615

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:34:38 +0000 (06:34 -0700)]
Update FSF address in copyright header.

From-SVN: r24614

25 years agoUpdate FSF address in copyright notice.
Jeff Law [Mon, 11 Jan 1999 13:25:48 +0000 (06:25 -0700)]
Update FSF address in copyright notice.

From-SVN: r24613

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:17:38 +0000 (06:17 -0700)]
Update FSF address in copyright header.

From-SVN: r24612

25 years agoFix FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:10:27 +0000 (06:10 -0700)]
Fix FSF address in copyright header.

From-SVN: r24611

25 years agoUpdate copyright.
Andreas Schwab [Mon, 11 Jan 1999 02:00:26 +0000 (02:00 +0000)]
Update copyright.

From-SVN: r24610

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

From-SVN: r24609

25 years agogjavah.c (java_float_finite): Use a union to do type punning.
Richard Henderson [Sun, 10 Jan 1999 13:36:44 +0000 (05:36 -0800)]
gjavah.c (java_float_finite): Use a union to do type punning.

        * gjavah.c (java_float_finite): Use a union to do type punning.
        (java_double_finite): Likewise.

From-SVN: r24608

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

From-SVN: r24607

25 years agogcc.c (xstrerror): Renamed from my_strerror.
Kaveh R. Ghazi [Sat, 9 Jan 1999 20:59:12 +0000 (20:59 +0000)]
gcc.c (xstrerror): Renamed from my_strerror.

        * gcc.c (xstrerror): Renamed from my_strerror.  All callers
        changed.  Remove prototype since we get that from libiberty.h.
        * protoize.c (xstrerror): Likewise.

From-SVN: r24605

25 years agoWarning fixes:
Kaveh R. Ghazi [Sat, 9 Jan 1999 20:28:30 +0000 (20:28 +0000)]
Warning fixes:

        * gcc.c (read_specs): Ensure format specifiers match their arguments.

From-SVN: r24604

25 years agotree.c (copy_node): Oops.
Richard Henderson [Sat, 9 Jan 1999 20:05:18 +0000 (12:05 -0800)]
tree.c (copy_node): Oops.

        * tree.c (copy_node): Oops.  That would be copy not zero
        in that last change.

From-SVN: r24603

25 years agoUpdate copyright.
Richard Henderson [Sat, 9 Jan 1999 19:56:28 +0000 (11:56 -0800)]
Update copyright.

From-SVN: r24602

25 years agoRemove now-unused variables.
Richard Henderson [Sat, 9 Jan 1999 19:45:34 +0000 (11:45 -0800)]
Remove now-unused variables.

From-SVN: r24601

25 years agoc4x.c: Include system.h.
Michael Hayes [Sat, 9 Jan 1999 18:46:10 +0000 (18:46 +0000)]
c4x.c: Include system.h.

* config/c4x/c4x.c: Include system.h.
  (c4x_caller_save_map): Disable caller save for RC.
(c4x_optimization_options): Disable scheduling before reload.
(valid_parallel_load_store) : Define return type as int.
Remove unused variable regs.
* config/c4x/c4x.h (REGISTER_MOVE_COST): Make independent of register
class.
* config/c4x/c4x.md (rotlqi3, rotrqi3): Fix up emitted RTL to
handle rotations.
(*db, decrement_and_branch_until_zero): Fix up constraints
to keep reload happy.

From-SVN: r24600

25 years agotree.c (make_node): Call bzero instead of inline clear.
Richard Henderson [Sat, 9 Jan 1999 18:37:42 +0000 (10:37 -0800)]
tree.c (make_node): Call bzero instead of inline clear.

        * tree.c (make_node): Call bzero instead of inline clear.
        (copy_node, make_tree_vec, build1): Likewise.
        (get_identifier): Call strlen instead of inline count.
        (maybe_get_identifier): Likewise.

From-SVN: r24599

25 years agoc4x.md: (in_annul_slot_3): Allow unarycc and binarycc operations in 3rd annulled...
Michael Hayes [Sat, 9 Jan 1999 17:10:22 +0000 (17:10 +0000)]
c4x.md: (in_annul_slot_3): Allow unarycc and binarycc operations in 3rd annulled delay slot.

* config/c4x/c4x.md: (in_annul_slot_3): Allow unarycc and binarycc
operations in 3rd annulled delay slot.
(*lshrqi3_const_set): Disallow c constraint for operand0.
(modhi3+1, modhi3+2): Set attribute type to multi.
* config/c4x/c4x.c (c4x_S_constraint): Removed space in middle of
!= operator.

From-SVN: r24592

25 years agoAnother attempt to get tm-dwarf2.h onto the TRUNK instead of the fixinc-branch.
Robert Lipe [Sat, 9 Jan 1999 13:07:52 +0000 (13:07 +0000)]
Another attempt to get tm-dwarf2.h onto the TRUNK instead of the fixinc-branch.

Another attempt to get tm-dwarf2.h onto the TRUNK instead of the
fixinc-branch.
* configure.in: New flag --with-dwarf2.   If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.

From-SVN: r24581

25 years agoparse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
Per Bothner [Sat, 9 Jan 1999 12:49:07 +0000 (04:49 -0800)]
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).

* parse.y (build_new_array_init):  Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init):  Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields):  Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr):  Check TREE_STATIC of NEW_ARRAY_INIT.

From-SVN: r24580

25 years agoparse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
Per Bothner [Sat, 9 Jan 1999 12:49:05 +0000 (04:49 -0800)]
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).


* parse.y (build_new_array_init):  Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init):  Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields):  Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr):  Check TREE_STATIC of NEW_ARRAY_INIT.

From-SVN: r24579

25 years agoparse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
Per Bothner [Sat, 9 Jan 1999 12:49:03 +0000 (04:49 -0800)]
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).

d
* parse.y (build_new_array_init):  Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init):  Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields):  Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr):  Check TREE_STATIC of NEW_ARRAY_INIT.

From-SVN: r24578

25 years agogansidecl.h: Allow attribute unused on labels only when we are version 2.93 or higher.
Kaveh R. Ghazi [Sat, 9 Jan 1999 08:48:06 +0000 (08:48 +0000)]
gansidecl.h: Allow attribute unused on labels only when we are version 2.93 or higher.

        * gansidecl.h: Allow attribute unused on labels only when we are
        version 2.93 or higher.  Not all versions of 2.92 have this feature.
        * version.c: Bump minor number to 93.

From-SVN: r24577

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

From-SVN: r24576

25 years agocheck-init.c (check_init): If compiling to native, we don't see THROW_EXPR.
Per Bothner [Fri, 8 Jan 1999 15:50:10 +0000 (15:50 +0000)]
check-init.c (check_init): If compiling to native, we don't see THROW_EXPR.

@
* check-init.c (check_init):  If compiling to native, we don't
see THROW_EXPR.  Instead, look for a call to throw_node (_Jv_Throw).

From-SVN: r24575

25 years agostmt.c (optimize_tail_recursion): New function, extracted from ...
Jeffrey A Law [Fri, 8 Jan 1999 12:05:20 +0000 (05:05 -0700)]
stmt.c (optimize_tail_recursion): New function, extracted from ...

        * stmt.c (optimize_tail_recursion): New function, extracted from ...
        (expand_return): Use optimize_tail_recursion.
        * tree.h (optimize_tail_recursion): Declare.

From-SVN: r24574

25 years agoparse-scan.y (variable_declarator_id): Set or increment bracket_count.
Tom Tromey [Fri, 8 Jan 1999 11:54:27 +0000 (11:54 +0000)]
parse-scan.y (variable_declarator_id): Set or increment bracket_count.

* parse-scan.y (variable_declarator_id): Set or increment
bracket_count.
(bracket_count): New global.
(formal_parameter): Handle case where bracket pairs trail variable
declarator id.

From-SVN: r24573

25 years agosystem.h (abort): Supply more detailed information on how to report an Internal Compi...
Gerald Pfeifer [Fri, 8 Jan 1999 04:51:16 +0000 (05:51 +0100)]
system.h (abort): Supply more detailed information on how to report an Internal Compiler Error.

* system.h (abort): Supply more detailed information on how to
report an Internal Compiler Error.

From-SVN: r24571

25 years agom68k.h: Declare output_function_epilogue.
Andreas Schwab [Fri, 8 Jan 1999 02:01:01 +0000 (02:01 +0000)]
m68k.h: Declare output_function_epilogue.

* config/m68k/m68k.h: Declare output_function_epilogue.
* recog.h: Declare next_insn_tests_no_inequality.

From-SVN: r24570

25 years agoUpdate copyrights.
Richard Henderson [Fri, 8 Jan 1999 01:02:43 +0000 (17:02 -0800)]
Update copyrights.

From-SVN: r24569

25 years agoCopyright update
Jeff Law [Fri, 8 Jan 1999 00:54:46 +0000 (17:54 -0700)]
Copyright update

From-SVN: r24568

25 years agotoplev.c (compile_file): Move call to output_func_start_profiler to after the loop...
Jeffrey A Law [Fri, 8 Jan 1999 00:46:25 +0000 (00:46 +0000)]
toplev.c (compile_file): Move call to output_func_start_profiler to after the loop to emit deferred...

        * toplev.c (compile_file): Move call to output_func_start_profiler
        to after the loop to emit deferred functions.

From-SVN: r24567

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

From-SVN: r24566

25 years ago* gcc.c-torture/compile/990107-1.c: New test
Jeffrey A Law [Thu, 7 Jan 1999 22:42:52 +0000 (22:42 +0000)]
* gcc.c-torture/compile/990107-1.c: New test

From-SVN: r24565

25 years agoClose comment in copyright
Jeff Law [Thu, 7 Jan 1999 22:02:07 +0000 (15:02 -0700)]
Close comment in copyright

From-SVN: r24564

25 years agocalls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to allocate memory...
Mark Mitchell [Thu, 7 Jan 1999 11:29:38 +0000 (11:29 +0000)]
calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to allocate memory that will live beyond this function.

        * calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
        allocate memory that will live beyond this function.
        (expand_call): Free it here.

From-SVN: r24561

25 years agojcf-parse.c (yyparse): variable len changed from a char to an int to prevent overflow.
Andrew Haley [Thu, 7 Jan 1999 10:15:33 +0000 (10:15 +0000)]
jcf-parse.c (yyparse): variable len changed from a char to an int to prevent overflow.

1999-01-07  Andrew Haley  <aph@viagra.cygnus.co.uk>
* jcf-parse.c (yyparse): variable len changed from a char to an
int to prevent overflow.

From-SVN: r24560

25 years agosparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for integer data not destined...
Richard Henderson [Thu, 7 Jan 1999 03:18:28 +0000 (19:18 -0800)]
sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for integer data not destined for fp regs.

        * sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for
        integer data not destined for fp regs.
        (LEGITIMIZE_RELOAD_ADDRESS): New.
Thu Jan  7 03:03:42 1999  Stan Cox  <scox@cygnus.com>
                          Richard Henderson  <rth@cygnus.com>
        Support for Hypersparc and Sparclite86x:
        * sparc.h (TARGET_CPU_hypersparc, TARGET_CPU_sparclite86x): New.
        (CPP_CPU32_DEFAULT_SPEC): Fix up for the new targets.
        (ASM_CPU32_DEFAULT_SPEC): Likewise.
        (TARGET_CPU_DEFAULT): Likewise.
        (enum processor_type): Likewise.
        (CPP_ENDIAN_SPEC): Handle little endian data.
        (LIBGCC2_WORDS_BIG_ENDIAN): Likewise.
        (ADJUST_COST): Call sparc_adjust_cost.
        * sparc.c (sparc_override_options): Fix up for the new targets.
        (supersparc_adjust_cost): Make static.
        (hypersparc_adjust_cost): New.
        (ultrasparc_adjust_cost): Make static.
        (sparc_adjust_cost): New.
        * sparc.md (attr cpu): Add hypersparc and sparclite86x.
        (function_unit): Add hypersparc scheduling rules.
        * configure.in (with_cpu handler): Recognize hypersparc.

From-SVN: r24556

25 years agoc4x.c: Added space after negation operator.
Michael Hayes [Thu, 7 Jan 1999 02:53:44 +0000 (02:53 +0000)]
c4x.c: Added space after negation operator.

* config/c4x/c4x.c: Added space after negation operator.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.

From-SVN: r24555

25 years ago* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
Michael Hayes [Thu, 7 Jan 1999 02:38:35 +0000 (02:38 +0000)]
* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.

From-SVN: r24554

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

From-SVN: r24553

25 years agotest_summary (version): remove carriage return that gawk inserts in the version strin...
Alexandre Oliva [Thu, 7 Jan 1999 00:17:40 +0000 (00:17 +0000)]
test_summary (version): remove carriage return that gawk inserts in the version string for some reason

* test_summary (version): remove carriage return that gawk inserts
in the version string for some reason

From-SVN: r24552

25 years agoFix copyright.
Jeff Law [Wed, 6 Jan 1999 23:44:26 +0000 (16:44 -0700)]
Fix copyright.

From-SVN: r24551

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

From-SVN: r24550

25 years agocp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here.
Mark Mitchell [Wed, 6 Jan 1999 23:38:05 +0000 (23:38 +0000)]
cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here.

        * cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT
here.
(lang_type): Add is_partial_instantiation.  Decrease width of
dummy.
(PARTIAL_INSTANTIATION_P): New macro.
(OPERATOR_TYPENAME_P): Remove.
* decl.c (unary_op_p): Use IDENTIFIER_TYPENAME_P, not
OPERATOR_TYPENAME_P.
(grok_op_properties): Likewise.
* friend.c (do_friend): Handle friends that are member functions
correctly.
* lex.c (init_parse): Use OPERATOR_TYPENAME_FORMAT.
* pt.c (instantiate_class_template): Rework for clarity.  Avoid
leaving TYPE_BEING_DEFINED set in obscure cases.  Don't do
any more partial instantiation than is absolutely necessary for
implicit typename.  Set PARTIAL_INSTANTIATION_P.
(tsubst_decl): Use IDENTIFIER_TYPENAME_P.
* semantics.c (begin_class_definition): Handle partial
specializations of a type that was previously partially
instantiated.

From-SVN: r24548

25 years agocombine.c (num_sign_bit_copies): In NEG...
Bernd Schmidt [Wed, 6 Jan 1999 23:33:29 +0000 (16:33 -0700)]
combine.c (num_sign_bit_copies): In NEG...

        * combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
        when a test can't be performed due to limited width of
        HOST_BITS_PER_WIDE_INT, use the more conservative approximation.
        Fix UDIV case for cases where the first operand has the highest bit
        set.

From-SVN: r24547

25 years agopa.h (reg_class): Add FPUPPER_REGS.
Lutz Vieweg [Wed, 6 Jan 1999 23:06:29 +0000 (23:06 +0000)]
pa.h (reg_class): Add FPUPPER_REGS.

        * pa.h (reg_class): Add FPUPPER_REGS.
        (REG_CLASS_NAMES): Similarly.
        (REG_CLASS_CONTENTS): Similarly
        (REGNO_REG_CLASS): Handle FPUPPER_REGS.
        (FP_REG_CLASS_P): Likewise.
        (REG_CLASS_FROM_LETTER): Similarly.
        (CLASS_MAX_NREGS): Similarly.

From-SVN: r24546

25 years ago* h8300.h (ASM_OUTPUT_LABELREF): Define.
Jeffrey A Law [Wed, 6 Jan 1999 22:40:19 +0000 (22:40 +0000)]
* h8300.h (ASM_OUTPUT_LABELREF): Define.

From-SVN: r24544

25 years agoi
Per Bothner [Wed, 6 Jan 1999 22:15:40 +0000 (14:15 -0800)]
i
Fixed some stupid typos that managed to get checked in.

From-SVN: r24543