platform/upstream/linaro-gcc.git
32 years ago(struct undo, struct undo_int): Replace non-portable usage with some unions.
kenner [Mon, 17 Aug 1992 11:35:04 +0000 (11:35 +0000)]
(struct undo, struct undo_int): Replace non-portable usage with some unions.
(SUBST, SUBST_INT, undo_all, gen_rtx_combine): Make consistent with
new definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1870 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(expand_mult): Bound second synth_mult cost by cost of algorithm from
kenner [Mon, 17 Aug 1992 11:34:23 +0000 (11:34 +0000)]
(expand_mult): Bound second synth_mult cost by cost of algorithm from
first call.

(expand_divmod): When doing logical operations, the size of
COMPUTE_MODE should be used, not MODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1869 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(builtin_new): Remove declaration of malloc.
kenner [Mon, 17 Aug 1992 11:33:24 +0000 (11:33 +0000)]
(builtin_new): Remove declaration of malloc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1868 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(LINK_SPEC): Add %s for default.ld.
kenner [Mon, 17 Aug 1992 11:32:34 +0000 (11:32 +0000)]
(LINK_SPEC): Add %s for default.ld.
(LINK_LIBGCC_SPECIAL): No longer needed.
(ASM_FILE_STARY): Add shared data section.
(SHARED_SECTION_ASM_OP): New macro.
(OVERRIDE_OPTIONS): If -fshared-data, add -fno-common.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1867 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoInitial revision
kenner [Mon, 17 Aug 1992 11:31:37 +0000 (11:31 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1866 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoFix typo in last change.
rms [Mon, 17 Aug 1992 07:58:51 +0000 (07:58 +0000)]
Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1865 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(is_ctor_dtor): Don't collect cfront init fcns.
rms [Mon, 17 Aug 1992 07:58:06 +0000 (07:58 +0000)]
(is_ctor_dtor): Don't collect cfront init fcns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1864 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(casesi1): Renamed from casesi.
rms [Mon, 17 Aug 1992 07:44:30 +0000 (07:44 +0000)]
(casesi1): Renamed from casesi.
(casesi): New trivial define_expand invokes casesi1.
(movstrhi, movstrhi1): Analogous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1863 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(GCC_FOR_TARGET): Put -B./ here.
rms [Mon, 17 Aug 1992 07:38:18 +0000 (07:38 +0000)]
(GCC_FOR_TARGET): Put -B./ here.
(GCC_CFLAGS): Not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1862 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(print_operand_address): Fix typo.
tege [Sun, 16 Aug 1992 14:39:53 +0000 (14:39 +0000)]
(print_operand_address): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1861 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoUse %u.o instead of %g.o in ASM_FINAL_SPEC if -c is not specified.
meissner [Sat, 15 Aug 1992 15:25:19 +0000 (15:25 +0000)]
Use %u.o instead of %g.o in ASM_FINAL_SPEC if -c is not specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1860 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoUse -Dvfork=fork, instead of linking in libbsd.a
meissner [Sat, 15 Aug 1992 15:14:54 +0000 (15:14 +0000)]
Use -Dvfork=fork, instead of linking in libbsd.a

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1859 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(convert_move): Copy SUBREG to REG in one more case.
kenner [Sat, 15 Aug 1992 10:36:00 +0000 (10:36 +0000)]
(convert_move): Copy SUBREG to REG in one more case.

(do_jump*): Always do comparison in object's signedness now that
combine can remove extraneous sign extends.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1858 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(get_last_value): Don't go past a CODE_LABEL when searching for a
kenner [Sat, 15 Aug 1992 10:35:08 +0000 (10:35 +0000)]
(get_last_value): Don't go past a CODE_LABEL when searching for a
value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1857 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(process_command): In second loop over all switches,
rms [Sat, 15 Aug 1992 07:49:48 +0000 (07:49 +0000)]
(process_command): In second loop over all switches,
don't increment I for switches that don't have separate arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1856 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoDon't ever include stddef.h.
rms [Sat, 15 Aug 1992 07:46:46 +0000 (07:46 +0000)]
Don't ever include stddef.h.
(append_include_chain): Avoid using size_t.
(initialize_builtins): Output defn of __WCHAR_TYPE__ just once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1855 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoReally install NULL_PTR change
wood [Sat, 15 Aug 1992 00:20:19 +0000 (00:20 +0000)]
Really install NULL_PTR change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1854 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(truthvalue_conversion): Optionally warn if an
rms [Fri, 14 Aug 1992 23:45:09 +0000 (23:45 +0000)]
(truthvalue_conversion): Optionally warn if an
unparenthesized assignment is used as a truth value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1853 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(NULL_PTR): Use the same definition as
wood [Fri, 14 Aug 1992 23:36:43 +0000 (23:36 +0000)]
(NULL_PTR): Use the same definition as
rtl.h and tree.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1852 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(num_operands): MATCH_PARALLEL also represents an operand.
kenner [Fri, 14 Aug 1992 23:36:19 +0000 (23:36 +0000)]
(num_operands): MATCH_PARALLEL also represents an operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1851 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(grokdeclarator): Remove duplicate diagnostic for
rms [Fri, 14 Aug 1992 23:18:12 +0000 (23:18 +0000)]
(grokdeclarator): Remove duplicate diagnostic for
initialized parameters; start_decl already does this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1850 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(handle_directive): Output macro name if dump_names.
rms [Fri, 14 Aug 1992 23:15:01 +0000 (23:15 +0000)]
(handle_directive): Output macro name if dump_names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1849 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(simplify_by_exploding, find_and_mark_used_attributes,
wood [Fri, 14 Aug 1992 22:53:16 +0000 (22:53 +0000)]
(simplify_by_exploding, find_and_mark_used_attributes,
unmark_used_attributes, add_values_to_cover, increment_current_value,
test_for_current_value, simplify_with_current_value,
simplify_with_current_value_aux): New functions.
(struct function_unit): Add max_busy_cost, {min,max}_busy_delay.
(expand_units): Use simplify_by_exploding to simplify the
function_units_used attribute.  Compute the ready cost attributes
as a COND in numeric order.
(gen_unit): Compute {min,max}_ready_cost and {min,max}_busy_delay.
(write_function_unit_info): Determine if there is only one busy
delay value by comparing the minimum and maximum busy delay.
Write the initializer for function_units in numeric order.
Write out the maximum busy delay field.

(attr_desc): Add negative_ok field.
(find_attr, make_internal_attr): Initialize negative_ok.
(check_attr_value): Allow negative values for CONST_STRING for
numeric attributes with negative_ok.
(encode_units_mask): Change the encoding of the function_units_used
result.

{....

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1848 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(NULL_PTR): Use the same definition as
wood [Fri, 14 Aug 1992 22:52:00 +0000 (22:52 +0000)]
(NULL_PTR): Use the same definition as
rtl.h and tree.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1847 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(attach_deaths_insn): Don't call attach_deaths for CLOBBERs.
wilson [Fri, 14 Aug 1992 22:51:36 +0000 (22:51 +0000)]
(attach_deaths_insn): Don't call attach_deaths for CLOBBERs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1846 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(do_spec_1): Add %u.
wood [Fri, 14 Aug 1992 22:51:05 +0000 (22:51 +0000)]
(do_spec_1): Add %u.
(default_compilers): For output of as when -c is not used, use %u
rather than %g so each object filename will be unique.

(NULL_PTR): Use the same definition as
rtl.h and tree.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1845 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(write_units): Write #defines for the number of
wood [Fri, 14 Aug 1992 22:49:34 +0000 (22:49 +0000)]
(write_units): Write #defines for the number of
function units, the min/max ready cost and min/max busy delay.
Add max_busy_cost field to struct function_unit_desc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1844 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(copy_loop_body): Don't assume (pc) can be on either leg of jump; use
kenner [Fri, 14 Aug 1992 22:41:07 +0000 (22:41 +0000)]
(copy_loop_body): Don't assume (pc) can be on either leg of jump; use
invert_exp and redirect_exp instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1843 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(invert_exp, redirect_exp): No longer static.
kenner [Fri, 14 Aug 1992 22:40:37 +0000 (22:40 +0000)]
(invert_exp, redirect_exp): No longer static.
Clean up order of declarations at start of file and remove extraneous decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1842 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoCall va-alpha.h for Alpha.
kenner [Fri, 14 Aug 1992 19:35:36 +0000 (19:35 +0000)]
Call va-alpha.h for Alpha.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1841 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(USER_H): Add va-alpha.h and sort names.
kenner [Fri, 14 Aug 1992 19:34:40 +0000 (19:34 +0000)]
(USER_H): Add va-alpha.h and sort names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1840 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoAdd "alpha".
kenner [Fri, 14 Aug 1992 19:34:06 +0000 (19:34 +0000)]
Add "alpha".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1839 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoInitial revision
kenner [Fri, 14 Aug 1992 19:32:10 +0000 (19:32 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1838 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests.
kenner [Fri, 14 Aug 1992 18:44:54 +0000 (18:44 +0000)]
(fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1837 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(add_to_sequence): Treat MATCH_PAR_DUP just like MATCH_DUP.
kenner [Fri, 14 Aug 1992 18:44:28 +0000 (18:44 +0000)]
(add_to_sequence): Treat MATCH_PAR_DUP just like MATCH_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1836 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(match_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP.
kenner [Fri, 14 Aug 1992 18:43:53 +0000 (18:43 +0000)]
(match_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1835 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(scan_operands): Treat MATCH_PAR_DUP just like MATCH_DUP.
kenner [Fri, 14 Aug 1992 18:43:28 +0000 (18:43 +0000)]
(scan_operands): Treat MATCH_PAR_DUP just like MATCH_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1834 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(walk_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP.
kenner [Fri, 14 Aug 1992 18:43:01 +0000 (18:43 +0000)]
(walk_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1833 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(max_operand_1): Treat MATCH_PAR_DUP just like MATCH_OP_DUP.
kenner [Fri, 14 Aug 1992 18:42:10 +0000 (18:42 +0000)]
(max_operand_1): Treat MATCH_PAR_DUP just like MATCH_OP_DUP.
(gen_exp): Treat it like MATCH_PARALLEL here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1832 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(walk_insn_part): Treat MATCH_PAR_DUP just like MATCH_OP_DUP.
kenner [Fri, 14 Aug 1992 18:40:32 +0000 (18:40 +0000)]
(walk_insn_part): Treat MATCH_PAR_DUP just like MATCH_OP_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1831 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(find_reloads): Ignore `%' in the last operand after
wood [Fri, 14 Aug 1992 18:39:00 +0000 (18:39 +0000)]
(find_reloads): Ignore `%' in the last operand after
        warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1830 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago*** empty log message ***
kenner [Fri, 14 Aug 1992 18:38:10 +0000 (18:38 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1829 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(simplify_unary_operation): Remove "else".
kenner [Fri, 14 Aug 1992 11:41:11 +0000 (11:41 +0000)]
(simplify_unary_operation): Remove "else".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1828 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(movstr_optab): New variable.
kenner [Fri, 14 Aug 1992 11:40:16 +0000 (11:40 +0000)]
(movstr_optab): New variable.
(init_expr_once): Initialize it.
(emit_block_move): Rework code that generates movstrxx insns to check
predicates and use an optab.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1827 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(life_analysis, propagate_block, dump_flow_info): Add more missing
kenner [Fri, 14 Aug 1992 11:39:24 +0000 (11:39 +0000)]
(life_analysis, propagate_block, dump_flow_info): Add more missing
casts to REGSET_ELT_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1826 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoFix spelling errors in comments.
tege [Fri, 14 Aug 1992 11:33:04 +0000 (11:33 +0000)]
Fix spelling errors in comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1825 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(convert): When converting to variant of same type, fold.
rms [Fri, 14 Aug 1992 08:36:14 +0000 (08:36 +0000)]
(convert): When converting to variant of same type, fold.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1824 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoFix typo in previous change.
rms [Fri, 14 Aug 1992 08:34:32 +0000 (08:34 +0000)]
Fix typo in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1823 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(assemble_variable): Change error message for unknown size.
rms [Fri, 14 Aug 1992 08:10:10 +0000 (08:10 +0000)]
(assemble_variable): Change error message for unknown size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1822 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(finish_decl): Avoid cascading messages for tentative
rms [Fri, 14 Aug 1992 08:09:22 +0000 (08:09 +0000)]
(finish_decl): Avoid cascading messages for tentative
definitions with incomplete types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1821 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(finding all .h files): Look for links as well as ordinary files.
rms [Fri, 14 Aug 1992 05:12:31 +0000 (05:12 +0000)]
(finding all .h files): Look for links as well as ordinary files.
(memory.h): Fix versions 1.2 and 1.3 as well as 1.4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1820 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(build_component_ref): Don't warn for compound and
rms [Thu, 13 Aug 1992 23:25:49 +0000 (23:25 +0000)]
(build_component_ref): Don't warn for compound and
conditional expressions when pedantic.  These are valid in ANSI C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1819 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoRename vms to vax-vms; split long lines.
rms [Thu, 13 Aug 1992 21:29:09 +0000 (21:29 +0000)]
Rename vms to vax-vms; split long lines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1818 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoAssemble libgcc2 routines twice, preserving
rms [Thu, 13 Aug 1992 21:28:35 +0000 (21:28 +0000)]
Assemble libgcc2 routines twice, preserving
lowercase function names the second time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1817 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoDelete junk line inserted by mistake in last patch.
rms [Thu, 13 Aug 1992 21:19:29 +0000 (21:19 +0000)]
Delete junk line inserted by mistake in last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1816 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(TARGET_SWITCHES): Make -m68040 set 01007 not 01000.
wilson [Thu, 13 Aug 1992 20:52:29 +0000 (20:52 +0000)]
(TARGET_SWITCHES): Make -m68040 set 01007 not 01000.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1815 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(contains): Return the number of insns.
wood [Thu, 13 Aug 1992 20:49:10 +0000 (20:49 +0000)]
(contains): Return the number of insns.
        (reposition_prologue_and_epilogue_notes): Count all the prologue and
        epilogue insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1814 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(regclass): Don't scan the constraints if there aren't
wood [Thu, 13 Aug 1992 20:48:40 +0000 (20:48 +0000)]
(regclass): Don't scan the constraints if there aren't
        any operands.  Don't look for a commutative constraint in the last
        operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1813 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(CPP_SPEC): For -mv8, define __sparc_v8__ not __sparcv8__
wilson [Thu, 13 Aug 1992 19:19:17 +0000 (19:19 +0000)]
(CPP_SPEC): For -mv8, define __sparc_v8__ not __sparcv8__

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1812 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(__sparclite__): Define umul_ppmm, udiv_qrnnd, and
wilson [Thu, 13 Aug 1992 19:17:15 +0000 (19:17 +0000)]
(__sparclite__): Define umul_ppmm, udiv_qrnnd, and
count_leading_zeros for this sparc architecture variant.
(__sparc_v8__): Changed from __sparc8__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1811 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(output_function_prlogue): Resotre "rp" after the call to mcount.
law [Thu, 13 Aug 1992 15:37:16 +0000 (15:37 +0000)]
(output_function_prlogue): Resotre "rp" after the call to mcount.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1810 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(movsf recognizer): Output `fcpy,sgl', not `fcpy'.
tege [Thu, 13 Aug 1992 10:58:56 +0000 (10:58 +0000)]
(movsf recognizer): Output `fcpy,sgl', not `fcpy'.
From Jeff Law: (zdepi in HImode): Move this pattern after the standard
movhi patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1809 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoCorrectly find object file, after gcc.c changes
meissner [Wed, 12 Aug 1992 15:44:37 +0000 (15:44 +0000)]
Correctly find object file, after gcc.c changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1808 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(operand_equal_p): Make it clear that this function
rms [Wed, 12 Aug 1992 07:43:50 +0000 (07:43 +0000)]
(operand_equal_p): Make it clear that this function
tests for indistinguishable values, not for equality as computed by
`=='; the distinction is important for IEEE NaNs and -0.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1807 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(final_scan_insn): Call dwarfout_begin_block and
rms [Wed, 12 Aug 1992 07:28:49 +0000 (07:28 +0000)]
(final_scan_insn):  Call dwarfout_begin_block and
dwarfout_end_block even for -g1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1806 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(TARGET_68040): Test for 01000 or 0400.
rms [Wed, 12 Aug 1992 07:28:03 +0000 (07:28 +0000)]
(TARGET_68040): Test for 01000 or 0400.
(TARGET_SWITCHES): Rename -m68040 to -m68020-40.
Rename -m68040-only to -m68040.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1805 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(TARGET_DEFAULT): Make value 0.
rms [Wed, 12 Aug 1992 07:23:53 +0000 (07:23 +0000)]
(TARGET_DEFAULT): Make value 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1804 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(amigaunix/amix): Use sysv4 as os.
rms [Wed, 12 Aug 1992 06:51:16 +0000 (06:51 +0000)]
(amigaunix/amix):  Use sysv4 as os.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1803 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(unroll_loop): Delete call to unroll_block_trees.
wilson [Tue, 11 Aug 1992 19:56:20 +0000 (19:56 +0000)]
(unroll_loop): Delete call to unroll_block_trees.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1802 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(loop_number_first_block, loop_number_last_block,
wilson [Tue, 11 Aug 1992 19:55:01 +0000 (19:55 +0000)]
(loop_number_first_block, loop_number_last_block,
loop_number_block_level): Delete.
(find_loop_tree_blocks): Completely rewritten to use
identify_blocks.
(unroll_block_trees): Completely rewritten to use reorder blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1801 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(loop_number_first_block, loop_number_last_block,
wilson [Tue, 11 Aug 1992 19:53:15 +0000 (19:53 +0000)]
(loop_number_first_block, loop_number_last_block,
loop_number_block_level): Delete declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1800 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(loop_optimize): Delete uses of loop_number_first_block,
wilson [Tue, 11 Aug 1992 19:52:01 +0000 (19:52 +0000)]
(loop_optimize): Delete uses of loop_number_first_block,
loop_number_last_block, loop_number_block_level.  Correct call of
find_loop_tree_blocks.  Add call to unroll_block_trees.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1799 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(identify_blocks): Declare.
wilson [Tue, 11 Aug 1992 19:50:24 +0000 (19:50 +0000)]
(identify_blocks): Declare.
(rtx, tree): Move undefs to the very end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1798 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(identify_blocks): Handle case where no block nodes
wilson [Tue, 11 Aug 1992 19:49:26 +0000 (19:49 +0000)]
(identify_blocks): Handle case where no block nodes
exist.  Use xmalloc not alloca for block_vector.
(reorder_blocks): New argument top_block.  Handle case where no
block nodes exist.  Always clear BLOCK_SUBBLOCKS (block) when
adding it to the block tree.
(all_blocks): Handle case where vector is zero. Store current
block at offset 0 in vector, not n_blocks.  Don't count current
block twice in n_blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1797 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(copy_loop_body): Only copy VTOP note if it will end up
wilson [Tue, 11 Aug 1992 19:42:35 +0000 (19:42 +0000)]
(copy_loop_body): Only copy VTOP note if it will end up
before a loop exit test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1796 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoEliminate externs within {}.
meissner [Tue, 11 Aug 1992 13:25:14 +0000 (13:25 +0000)]
Eliminate externs within {}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1795 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(parser_build_binary_op): Warn about expressions like `1<=i<=N'.
rms [Tue, 11 Aug 1992 09:21:37 +0000 (09:21 +0000)]
(parser_build_binary_op): Warn about expressions like `1<=i<=N'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1794 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(fold): Don't fold (A op B ? A : C) if A is IEEE
rms [Tue, 11 Aug 1992 08:33:24 +0000 (08:33 +0000)]
(fold):  Don't fold (A op B ? A : C) if A is IEEE
floating point, because A might be -0.0 or NaN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1793 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoImprove err msg for unknown config.
rms [Tue, 11 Aug 1992 08:26:06 +0000 (08:26 +0000)]
Improve err msg for unknown config.
(read_specs): Cast args of xmalloc and read to unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1792 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoCall gen_rtx, not gen_reg_rtx.
meissner [Tue, 11 Aug 1992 02:10:59 +0000 (02:10 +0000)]
Call gen_rtx, not gen_reg_rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1791 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(output_zdepi): Declare.
tege [Mon, 10 Aug 1992 10:22:45 +0000 (10:22 +0000)]
(output_zdepi): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1790 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(output_zdepi): New function (contents from pa.md).
tege [Mon, 10 Aug 1992 10:21:57 +0000 (10:21 +0000)]
(output_zdepi): New function (contents from pa.md).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1789 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(Recognizer for zdepi_operand in HImode): New pattern.
tege [Mon, 10 Aug 1992 10:14:48 +0000 (10:14 +0000)]
(Recognizer for zdepi_operand in HImode): New pattern.
(Recognizer for zdepi_operand in SImode): Call output_zdepi for output.
(shift patterns and recognizers): Handle 32 bit ints and truncate them for output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1788 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoemit_move_insn only takes two arguments.
meissner [Mon, 10 Aug 1992 02:31:55 +0000 (02:31 +0000)]
emit_move_insn only takes two arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1787 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoTreat call_pop, call_value_pop like call, call_insn.
meissner [Sun, 9 Aug 1992 22:12:07 +0000 (22:12 +0000)]
Treat call_pop, call_value_pop like call, call_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1786 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoAdd prototype support.
meissner [Sat, 8 Aug 1992 15:19:34 +0000 (15:19 +0000)]
Add prototype support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1785 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(default_conversion): Fix bug that
rms [Fri, 7 Aug 1992 07:21:41 +0000 (07:21 +0000)]
(default_conversion):  Fix bug that
promotes short to unsigned if sizeof(short) == sizeof(int).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1784 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(default_compilers): For output of as when -c is not used,
rms [Fri, 7 Aug 1992 07:17:12 +0000 (07:17 +0000)]
(default_compilers): For output of as when -c is not used,
use %g, rather than %b, because the file is going to be deleted anyway.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1783 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT
rms [Fri, 7 Aug 1992 04:17:06 +0000 (04:17 +0000)]
(final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT
and ASM_OUTPUT_ADDR_VEC_ELT only if defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1782 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(finish_decl): Don't do expand_decl_init for FUNCTION_DECL.
rms [Fri, 7 Aug 1992 04:06:43 +0000 (04:06 +0000)]
(finish_decl): Don't do expand_decl_init for FUNCTION_DECL.
(finish_struct):  If bit field is of an unsigned
type that promotes to int, promote it unsigned if traditional
or if it is the same size as int.
(start_function):  Ditto for function return value.
(finish_function): Test only can_reach_end for the warning
about reaching the end of a non-void function.
(poplevel): If apparently nested inline function has
DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE.
(pushdecl): When copying inline details into an extern decl,
copy DECL_RESULT, TREE_ASM_WRITTEN.  Set DECL_ABSTRACT_ORIGIN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1781 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoDon't include real.h.
rms [Fri, 7 Aug 1992 04:05:01 +0000 (04:05 +0000)]
Don't include real.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1780 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoInclude real.h.
rms [Fri, 7 Aug 1992 04:01:31 +0000 (04:01 +0000)]
Include real.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1779 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(mark_used_regs): Do recurse in setting of global hard reg.
rms [Fri, 7 Aug 1992 04:00:44 +0000 (04:00 +0000)]
(mark_used_regs): Do recurse in setting of global hard reg.
Do set reg_next_use for global hard reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1778 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(true_dependence): An unchanging read is guaranteed
wilson [Fri, 7 Aug 1992 02:02:19 +0000 (02:02 +0000)]
(true_dependence): An unchanging read is guaranteed
independent of a store only if the store is not unchanging.
(anti_dependence): Added comment about unchanging reads.
(sched_analyze_2): Don't ignore unchanging reads, they may be
dependent on unchanging writes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1777 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoCorrect DEFINE_SPLITs added Jul 27. They would
wilson [Fri, 7 Aug 1992 01:59:27 +0000 (01:59 +0000)]
Correct DEFINE_SPLITs added Jul 27.  They would
overwrite the input register if it was the same as the result reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1776 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(ASM_FILE_START): If profiling IMPORT "_mcount" instead of
law [Thu, 6 Aug 1992 23:23:20 +0000 (23:23 +0000)]
(ASM_FILE_START): If profiling IMPORT "_mcount" instead of
"__gcc_mcount".

(TARGET_SWITCHES): New switch "no-bss" which forces gcc not
use make use of the bss subspace.  (For compatability with old
buggy versions of gas.)
(ASM_FILE_START): Add $BSS$ subspace.
(BSS_SECTION_ASM_OP): New macro which tells the assembler to
switch to the bss subspace.
(EXTRA_SECTIONS): Define in_bss as an extra section.
(EXTRA_SECTION_FUNCTIONS): Define "bss_section" function to switch
into the bss subspace.
(ASM_OUTPUT_COMMON): If !TARGET_NO_BSS, then place commons into
the bss subspace.
(ASM_OUTPUT_LOCAL): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1775 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago (hppa_builtin_saveregs): Rewrite.
moore [Thu, 6 Aug 1992 17:09:55 +0000 (17:09 +0000)]
 (hppa_builtin_saveregs): Rewrite.
        (secondary_reload_class): Bug fix.
        (arith32_operand): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1774 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoRewrite to be compatible with hpux.
moore [Thu, 6 Aug 1992 17:09:02 +0000 (17:09 +0000)]
Rewrite to be compatible with hpux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1773 138bc75d-0d04-0410-961f-82ee72b054a4

32 years agoCheck hp800 symbol too for the hppa case.
moore [Thu, 6 Aug 1992 17:08:03 +0000 (17:08 +0000)]
Check hp800 symbol too for the hppa case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1772 138bc75d-0d04-0410-961f-82ee72b054a4

32 years ago(EXTRA_SECTIONS, svr3): Add in_ctors and in_dtors.
wood [Wed, 5 Aug 1992 17:27:34 +0000 (17:27 +0000)]
(EXTRA_SECTIONS, svr3): Add in_ctors and in_dtors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1771 138bc75d-0d04-0410-961f-82ee72b054a4