Commit Graph

20306 Commits

Author SHA1 Message Date
Michael Hayes d3694e346d Updated copyright
From-SVN: r24685
1999-01-15 18:37:09 +00:00
Mark Mitchell d490621d89 pt.c (process_template_parm): Ignore top-level qualifiers on non-type parameters.
* pt.c (process_template_parm): Ignore top-level qualifiers on
	non-type parameters.
	* decl.c (start_function): Use current_function_parms in the call
	to require_complete_type_for_parms, not the probably empty
	DECL_ARGUMENTS.

From-SVN: r24684
1999-01-15 18:34:48 +00:00
Jeffrey A. Law 1e75bc3481 sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do not create (mem (lo_sum (...)) for TFmode unless TARGET_V9.
* sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do not create
        (mem (lo_sum (...)) for TFmode unless TARGET_V9.

From-SVN: r24683
1999-01-15 10:52:15 -07:00
Michael Hayes 077613ba45 c4x.md (not_repeat_reg): Allow ldp instruction in delay slot of RPTBD.
* config/c4x/c4x.md (not_repeat_reg): Allow ldp instruction
	in delay slot of RPTBD.

From-SVN: r24682
1999-01-15 15:46:01 +00:00
Michael Hayes cce88d8642 libgcc.S (___divhi3, ___modhi3): Fix long long divide and modulo sign problem.
* config/c4x/libgcc.S (___divhi3, ___modhi3): Fix long long
	divide and modulo sign problem.

From-SVN: r24681
1999-01-15 15:29:38 +00:00
Michael Hayes 98dcbc07f5 unroll.c (loop_iterations): Return 0 if the last loop insn is not a jump insn or if...
8
	* unroll.c (loop_iterations): Return 0 if the last loop insn
	is not a jump insn or if the loop has multiple back edges.

From-SVN: r24680
1999-01-15 03:05:56 -07:00
Michael Hayes 9f16f9324c unroll.c (loop_iterations): Return 0 if the last loop insn is not a jump insn or if...
�
	* unroll.c (loop_iterations): Return 0 if the last loop insn
	is not a jump insn or if the loop has multiple back edges.

From-SVN: r24679
1999-01-15 03:05:54 -07:00
Richard Henderson 60da674b8e Revert mistaken commit from the wrong tree.
From-SVN: r24678
1999-01-15 01:19:18 -08:00
Dave Love 1fe93ae335 datetime_.c (G77_date_and_time_0): Return milliseconds as such, not as microseconds.
1999-01-15  Dave Love  <fx@gnu.org>
	* libU77/datetime_.c (G77_date_and_time_0): Return milliseconds as
	such, not as microseconds.
	(scopy): Declare.

From-SVN: r24677
1999-01-15 06:36:01 +00:00
Catherine Moore 6311432918 update copyright.
From-SVN: r24676
1999-01-15 01:14:13 -05:00
Jeffrey A Law 0ae4d57b52 990115-1.f: New test.
* g77.f-torture/compile/990115-1.f: New test.
Test for PA unrolling bug.  Derived from lapack.

From-SVN: r24675
1999-01-14 18:56:06 -07:00
Jeffrey A Law f387b2e4ff 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
1999-01-14 18:53:08 -07:00
Jeffrey A Law 41b6ea681b 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
1999-01-14 18:03:43 -07:00
Jeff Law 86ab58b5f0 Daily bump.
From-SVN: r24671
1999-01-14 17:45:02 -07:00
Jeffrey A Law 1ca7ac4384 * h8300.h (ASM_OUTPUT_LABELREF): Use asm_fprintf, not fprintf.
From-SVN: r24669
1999-01-14 17:21:26 -07:00
Richard Henderson 08e299d6c3 Update copyright.
From-SVN: r24668
1999-01-14 15:27:24 -08:00
Jeff Law 8c55f49ce8 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
1999-01-14 14:42:18 -07:00
Vladimir N. Makarov e4d26fc714 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
1999-01-14 15:17:46 +00:00
Catherine Moore 716618d5dd
From-SVN: r24665
1999-01-14 09:43:05 -05:00
Ulrich Drepper 38beb75c54 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after freeing it.
From-SVN: r24664
1999-01-14 12:09:46 +00:00
Ulrich Drepper 2363489cfd (mop_up): Set work->previous_argument to NULL after freeing it.
From-SVN: r24663
1999-01-14 12:09:01 +00:00
Jason Merrill ad236eab58 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
1999-01-14 05:42:12 -05:00
Vladimir N. Makarov 9ef064430c 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
1999-01-14 08:55:47 +00:00
Jeff Law df0e5eeb25 Daily bump.
From-SVN: r24660
1999-01-13 17:45:02 -07:00
Michael Meissner fb9939b8f8 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
1999-01-13 14:38:14 -07:00
Richard Henderson 58a2f534ee 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
1999-01-13 12:13:27 -08:00
Michael Hayes 9b4f2bb714 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
1999-01-13 16:52:03 +00:00
Mark Mitchell 5db698f695 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
1999-01-13 16:27:23 +00:00
Ulrich Drepper 39268973a6 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
1999-01-13 16:04:01 +00:00
Vladimir Makarov 3bd380b1fc [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
1999-01-13 15:28:22 +00:00
Catherine Moore c11145f699 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
1999-01-13 09:32:39 -05:00
Jason Merrill 31ee9d6c10 fix typo
From-SVN: r24652
1999-01-13 06:49:34 -05:00
Kaveh R. Ghazi 7e4311a31b * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
From-SVN: r24651
1999-01-13 11:30:56 +00:00
Kaveh R. Ghazi efd59a3308 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
1999-01-13 10:46:45 +00:00
Andrew Haley 9684789222 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
1999-01-13 06:13:37 +00:00
Alexandre Petit-Bianco ba179f9f6f 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
1999-01-12 20:01:43 -08:00
Jeff Law 3c9a0f78d6 Daily bump.
From-SVN: r24647
1999-01-12 17:45:04 -07:00
Jeff Law a872728cc9 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
1999-01-12 17:02:31 -07:00
Jeff Law 58f93603b6 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
1999-01-12 17:02:28 -07:00
Jeff Law 0cd4357773 More address fixes
From-SVN: r24644
1999-01-12 12:09:02 -07:00
Jeff Law 93bd6e278c How did these squeak through the address fixes?
From-SVN: r24643
1999-01-12 12:08:15 -07:00
David Edelsohn 8633fa24ba [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
1999-01-12 06:26:45 -05:00
Stan Cox 6d4503c310 * mips.md (call_value_internal3c): New pattern for -mips16 -mlong-calls.
From-SVN: r24639
1999-01-12 10:46:58 +00:00
Manfred Hollstein eb69139212 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
1999-01-12 04:16:49 +00:00
Richard Henderson 1ff136fd07 * cse.c (cse_insn): Never prefer (const (constant_p_rtx)).
From-SVN: r24637
1999-01-11 18:54:32 -08:00
Jeffrey A Law fb857ec164 Bump for snapshot
From-SVN: r24635
1999-01-11 19:36:16 -07:00
Richard Henderson dfcafcb608 * cp-tree.h (flag_permissive): Declare extern.
From-SVN: r24634
1999-01-11 18:06:57 -08:00
Richard Henderson b0983bb9d5 * recog.h (recog_op_alt): Declare extern.
From-SVN: r24633
1999-01-11 18:02:37 -08:00
Richard Henderson d6c0e1c8d0 * rtl.c (rtx_alloc): Use memset instead of inline loop.
From-SVN: r24632
1999-01-11 17:31:09 -08:00
Jeff Law 08b8d8e518 Daily bump.
From-SVN: r24631
1999-01-11 17:45:03 -07:00