Commit Graph

20306 Commits

Author SHA1 Message Date
Andrew Haley 73333a8791 parse.y (patch_binop): Do a type conversion from signed to unsigned and then back to signed when...
1999-01-18  Andrew Haley  <aph@cygnus.com>
	* parse.y (patch_binop): Do a type conversion from signed to
	unsigned and then back to signed when a ">>>" is found.

From-SVN: r24741
1999-01-18 06:29:26 +00:00
Kaveh R. Ghazi 47c3ed988b Warning fixes:
* loop.c (insert_bct): Hide the definition of variables
        `increment_direction', `compare_direction', `add_iteration' and
        `loop_var_mode'.
        * recog.c (mode_dependent_address_p): Mark parameter `addr' with
        ATTRIBUTE_UNUSED.  Mark label `win' with ATTRIBUTE_UNUSED_LABEL.
        (mode_independent_operand): Mark label `lose' with
        ATTRIBUTE_UNUSED_LABEL.
        * regclass.c (n_occurrences): Remove prototype and definition.
        * reload.c (find_reloads_address_1): Mark variable `tem' with
        ATTRIBUTE_UNUSED.
        * reload1.c (reload): Cast the first two arguments of `bcopy' to PTR.
        * sbitmap.c (sbitmap_copy): Likewise.
        * scan-decls.c (scan_decls): Hide label `handle_comma'.
        * toplev.c (output_lang_identify): Mark prototype with
        ATTRIBUTE_UNUSED.
        * tree.c (make_node): Cast the first argument of `bzero' to PTR.
        (make_tree_vec): Likewise.
        (build1): Likewise.
        * varasm.c (assemble_static_space): Mark variable `tem' with
        ATTRIBUTE_UNUSED.

From-SVN: r24740
1999-01-18 06:17:31 +00:00
Jeffrey A Law 044357a056 Makefile.in: Add many missing dependencies.
* Makefile.in: Add many missing dependencies.

Co-Authored-By: Hans-Peter Nilsson <hp@axis.se>

From-SVN: r24739
1999-01-17 20:51:14 -07:00
Jeff Law 063cd52287 Fix thinko from last second true_dependence -> anti_dependence change.
From-SVN: r24738
1999-01-17 20:40:02 -07:00
Nathan Sidwell 2347364708 Makefile.in (GCOV_INSTALL_NAME): New macro.
* Makefile.in (GCOV_INSTALL_NAME): New macro.
        (install-common): Use it.
        (uninstall): Use it.
        (uninstall): Use correct names for protoize and unprotoize.

From-SVN: r24737
1999-01-17 20:32:53 -07:00
Joern Rennecke 4922ded1e0 Fixed Copyright.
From-SVN: r24736
1999-01-18 03:26:22 +00:00
Joern Rennecke 280f7926d9 Fix Copyright.
From-SVN: r24735
1999-01-18 03:14:02 +00:00
Christian Bruel db3a887b31 flow.c (last_mem_set): Delete variable.
* flow.c (last_mem_set): Delete variable.  References removed.
        (mem_set_list): New variable.
        (life_analysis): Initialize and finalize alias analysis.
        (propagate_block); Initialize mem_set_list.  Clear for CALL_INSNs.
        (insn_dead_p): For a store to memory, search the entire mem_set_list
        for a match.
        (mark_set_1): Kill entries on the mem_set_list for aliased writes or
        changes to their addresses.  Add new entries to the mem_set_list for
        memory writes writes.
        (mark_used_regs): Kill entries on the mem_set_list which may be
        referenced by a load operation.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r24734
1999-01-17 20:01:26 -07:00
Jeff Law 586fd93912 Daily bump.
From-SVN: r24733
1999-01-17 17:45:02 -07:00
Jeff Law 41af402325 Copyright update.
From-SVN: r24732
1999-01-17 17:08:42 -07:00
Jeff Law b297255190 alias.c (base_alias_check): Add missing return for differing symbols case.
8
        * alias.c (base_alias_check): Add missing return for differing
        symbols case.

From-SVN: r24731
1999-01-17 17:05:50 -07:00
Jeff Law c99913856d alias.c (base_alias_check): Add missing return for differing symbols case.
�
        * alias.c (base_alias_check): Add missing return for differing
        symbols case.

From-SVN: r24730
1999-01-17 17:05:47 -07:00
Rainer Orth c4687d7048 mips-tdump.c (print_file_desc): Handle unknown filenames and missing local symbols.
* mips-tdump.c (print_file_desc): Handle unknown filenames and
        missing local symbols.

From-SVN: r24729
1999-01-17 16:41:47 -07:00
Jeff Law a5ea6f5710 Pointer to OSF 5.0 object file/symbol table format documentation.
From-SVN: r24728
1999-01-17 16:38:43 -07:00
Richard Henderson b3c9dc1aea * system.h (bcopy): Implement with memmove not memcpy.
From-SVN: r24727
1999-01-17 13:06:36 -08:00
Jeffrey A Law ef2b940d6c * Makefile.in (zextract.o): Add dependencies.
From-SVN: r24726
1999-01-17 14:06:25 -07:00
Richard Henderson bba596a397 * jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.
From-SVN: r24725
1999-01-17 13:05:29 -08:00
Jeffrey A Law c65ef754ee * Makefile.in (cppulp.o): Add dependencies.
From-SVN: r24724
1999-01-17 14:04:54 -07:00
Jeffrey A Law 82770562a5 * Makefile.in: Do not put ^Ls at the start of a line.
From-SVN: r24723
1999-01-17 13:58:58 -07:00
Jeffrey A Law f9670bcecf * i386.md (integer conditional moves): Add missing earlyclobbers.
From-SVN: r24720
1999-01-17 13:27:40 -07:00
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