Commit Graph

20436 Commits

Author SHA1 Message Date
Jeff Law
8e55d59ccb 990117-2.c was a duplicate of 981223-1.c. Kill 990117-2.c
From-SVN: r24719
1999-01-17 12:11:55 -07:00
Jeff Law
89098dc1a7 regmove.c (optimize_reg_copy_1): Undo Aug 18 change.
* regmove.c (optimize_reg_copy_1): Undo Aug 18 change.  Update
        REG_N_CALLS_CROSSED and REG_LIVE_LENGH if and only if we change
        where a register is live.

From-SVN: r24718
1999-01-17 11:26:42 -07:00
Jeff Law
20f7cbac8f reg-stack.c (subst_stack_regs_pat): Abort if the destination of a FP conditional move is not on the FP register stack.
* reg-stack.c (subst_stack_regs_pat): Abort if the destination
        of a FP conditional move is not on the FP register stack.
Forgot to check it in last night/this morning.  One should not hack at 4am.

From-SVN: r24716
1999-01-17 11:04:07 -07:00
Zack Weinberg
16e829b30d Added myself, as instructed
From-SVN: r24715
1999-01-17 16:35:21 +00:00
Jeffrey A Law
b96acc3f3f 990117-1.c: New test.
* gcc.dg/990117-1.c: New test.
Heavily edited net test + glibc.

From-SVN: r24714
1999-01-16 19:22:09 -07:00
Jeffrey A Law
82db59b794 Bump for snapshot
From-SVN: r24712
1999-01-16 18:15:08 -07:00
Jeff Law
63709060c8 Daily bump.
From-SVN: r24711
1999-01-16 17:45:02 -07:00
Jeffrey A Law
cf29d761c5 990117-1.c: New test from Horst von Brand.
* gcc.c-torture/compile/990117-1.c: New test from Horst von Brand.
        * gcc.c-torture/compile/990117-2.c: Likewise.

From-SVN: r24710
1999-01-16 16:16:58 -07:00
Jeffrey A Law
f81b9d9599 990117-1.c: New test from Horst von Brand.
* gcc.c-torture/compile/990117-1.c: New test from Horst von Brand.
Derived from glibc & egcs code.

From-SVN: r24709
1999-01-16 16:09:13 -07:00
Jeffrey A Law
5a95c7b0ca * gcc.c-torture/excute/990117-1.c: New test from HJ Lu.
From-SVN: r24708
1999-01-16 16:05:53 -07:00
Jeffrey A Law
148e9d570a reload1.c (reload_cse_regs_1): Do not call reload_cse_simplify_operands for an insn with asm operands.
* reload1.c (reload_cse_regs_1): Do not call
        reload_cse_simplify_operands for an insn with asm operands.

From-SVN: r24707
1999-01-16 15:50:19 -07:00
Jeffrey A Law
62e7b7195c cccp.c (print_help): Fix typos.
* cccp.c (print_help): Fix typos.
        * cpplib.c (print_help): Fix typos.
        * toplev.c (f_optiosn): Fix typos.
        (documented_lang_options): Fix typos.

From-SVN: r24706
1999-01-16 15:45:49 -07:00
Marc Espie
cbc546653d * gcc.c: (do_spec_1): Fix obvious typo.
From-SVN: r24705
1999-01-16 13:53:24 -07:00
Jason Merrill
41eff65293 decl.c (grokdeclarator): Don't make 'main(){}' an error with only -Wreturn-type.
* decl.c (grokdeclarator): Don't make 'main(){}' an error with only
	-Wreturn-type.

Co-Authored-By: Manfred Hollstein <manfred@s-direktnet.de>

From-SVN: r24704
1999-01-16 11:44:35 -05:00
Kaveh R. Ghazi
db838bb85b c-decl.c (duplicate_decls): If `warn_traditional'...
* c-decl.c (duplicate_decls): If `warn_traditional', warn when
        a non-static function declaration follows a static one.
        * invoke.texi (-Wtraditional): Document the extra check now done
        by this flag.

From-SVN: r24703
1999-01-16 16:43:26 +00:00
Jason Merrill
9e3685d5f4 new
From-SVN: r24702
1999-01-16 11:34:32 -05:00
Nathan Sidwell
a7a7710d42 cp-tree.h (struct lang_type): Added has_mutable flag.
* cp-tree.h (struct lang_type): Added has_mutable flag.
	(CLASSTYPE_HAS_MUTABLE): New macro to access it.
	(TYPE_HAS_MUTABLE_P): New macro to read it.
	(cp_has_mutable_p): Prototype for new function.
	* class.c (finish_struct_1): Set has_mutable from members.
	* decl.c (cp_finish_decl): Clear decl's TREE_READONLY flag, if
	it contains a mutable.
	* typeck.c (cp_has_mutable_p): New function.
Fixes g++.other/mutable1.C

From-SVN: r24701
1999-01-16 11:31:12 -05:00
Jeff Law
854b494a9e pa.md (shadd): Create shadd insns, even if the result of the shift is needed without the addition.
0
        * pa.md (shadd): Create shadd insns, even if the result of the shift is
        needed without the addition.

From-SVN: r24700
1999-01-16 07:20:21 -07:00
Jeff Law
4fbf29af02 pa.md (shadd): Create shadd insns, even if the result of the shift is needed without the addition.
�
        * pa.md (shadd): Create shadd insns, even if the result of the shift is
        needed without the addition.

From-SVN: r24699
1999-01-16 07:20:18 -07:00
Per Bothner
2a4dc31bdc expr.c (process_jvm_instruction): Coerce to correct Throwable sub-type the result of the call that gets the...
* expr.c (process_jvm_instruction):  Coerce to correct Throwable
	sub-type the result of the call that gets the exception value.
	* parse.y (java_complete_expand_methods):  If flags_syntax_only,
	don't call finish_class.
	* parse.y (java_check_regular_methods):  If METHOD_PRIVATE,
	clear found before continuing.
	* verify.c (verify_jvm_instructions):  On an array load, allow
	and handle top of stack to be TYPE_NULL.

From-SVN: r24698
1999-01-16 02:00:31 -08:00
Per Bothner
aabd704825 expr.c (process_jvm_instruction): Coerce to correct Throwable sub-type the result of the call that gets the...
d
	* expr.c (process_jvm_instruction):  Coerce to correct Throwable
	sub-type the result of the call that gets the exception value.
	* parse.y (java_complete_expand_methods):  If flags_syntax_only,
	don't call finish_class.
	* parse.y (java_check_regular_methods):  If METHOD_PRIVATE,
	clear found before continuing.
	* verify.c (verify_jvm_instructions):  On an array load, allow
	and handle top of stack to be TYPE_NULL.

From-SVN: r24697
1999-01-16 02:00:29 -08:00
Per Bothner
2dc219a11d expr.c (process_jvm_instruction): Coerce to correct Throwable sub-type the result of the call that gets the...
�
	* expr.c (process_jvm_instruction):  Coerce to correct Throwable
	sub-type the result of the call that gets the exception value.
	* parse.y (java_complete_expand_methods):  If flags_syntax_only,
	don't call finish_class.
	* parse.y (java_check_regular_methods):  If METHOD_PRIVATE,
	clear found before continuing.
	* verify.c (verify_jvm_instructions):  On an array load, allow
	and handle top of stack to be TYPE_NULL.

From-SVN: r24696
1999-01-16 02:00:27 -08:00
Per Bothner
3217b0f3ca gjavah.c (generate_access): Translate Java package private or protected access to C++ public...
0
	* gjavah.c (generate_access):  Translate Java package private or
	protected access to C++ public, but with a comment.

From-SVN: r24695
1999-01-16 01:59:11 -08:00
J"orn Rennecke
19e1d311ee * sh.md (movdf, movsf): Temporary workaround for no_new_pseudos lossage.
From-SVN: r24692
1999-01-16 03:02:50 +00:00
Jeff Law
1b8b517b1a Daily bump.
From-SVN: r24691
1999-01-15 17:45:07 -07:00
Richard Henderson
393049a9d7 * sparc.c (sparc_issue): Add hypersparc/sparclite86x entries.
From-SVN: r24690
1999-01-15 15:45:30 -08:00
David Edelsohn
19684119cb rs6000.h (CONST_OK_FOR_LETTER_P): Do not assume 32-bit CONST_INT.
* rs6000.h (CONST_OK_FOR_LETTER_P): Do not assume 32-bit CONST_INT.
        * rs6000.c (u_short_cint_operand, add_operand, logical_operand,
        non_add_cint_operand, non_logical_cint_operand): Likewise.
        (get_issue_rate): Add CPU_PPC604E case.
        * rs6000.md (movdi, !TARGET_POWERPC64 splitters): Handle 64-bit hosts.

From-SVN: r24689
1999-01-15 17:40:37 -05:00
Vladimir Makarov
5a86d174cb Undo botched commit.
From-SVN: r24688
1999-01-15 19:39:45 +00:00
Jeff Law
34792e829a Undo botched commit.
From-SVN: r24687
1999-01-15 12:13:47 -07:00
Richard Henderson
1f06ee8d0d expr.c (queued_subexp_p): Make public.
* expr.c (queued_subexp_p): Make public.
        * expr.h (queued_subexp_p): Declare it.
        * recog.c (asm_operand_ok): New function.
        (check_asm_operands): Use it.  After reload, use constrain_operands
        instead.
        * recog.h (asm_operand_ok): Declare it.
        * stmt.c (expand_asm_operands): Use it to try harder to make
        asms initially satisfy their constraints.

From-SVN: r24686
1999-01-15 10:43:47 -08:00
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