platform/upstream/linaro-gcc.git
31 years ago(several patterns): Make sure # of attribute alternatives
tege [Sun, 13 Sep 1992 15:28:38 +0000 (15:28 +0000)]
(several patterns): Make sure # of attribute alternatives
match # of constraint alternatives.
Return assembler output template instead of calling output_asm_insn.
Don't write to operands[n] for n >= max operand number in the
pattern, use xoperands instead.
(casesi): Rewrite.  Used to be buggy and slow.
(and-not patterns): Make them canonical.  Put operands in the right order.
(negsi2): Don't use @ for just one output template.
(movstrsi): Change `!= 4' => `< 4' in test for alignment.
(adddi3): Extend to handle CONST_INT.
(ior-with-immediate optimizer): New pattern.
(and-with-immediate optimizer): New pattern.
(sCC, bCC expanders): Remove constraints.
(high:DI recognizer): Add return \"\".

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

31 years ago*** empty log message ***
moore [Sun, 13 Sep 1992 15:11:55 +0000 (15:11 +0000)]
*** empty log message ***

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

31 years ago(yylex): If integer value overflows so highword is negative,
rms [Sat, 12 Sep 1992 19:08:12 +0000 (19:08 +0000)]
(yylex): If integer value overflows so highword is negative,
it needs unsigned long long.

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

31 years ago(__gcc_bcmp): New function, in cond on L__gcc_bcmp.
rms [Sat, 12 Sep 1992 08:45:46 +0000 (08:45 +0000)]
(__gcc_bcmp): New function, in cond on L__gcc_bcmp.

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

31 years ago(va_alist): Supply `int' as the type to define it as.
rms [Sat, 12 Sep 1992 01:10:28 +0000 (01:10 +0000)]
(va_alist): Supply `int' as the type to define it as.

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

31 years ago(duplicate_decls): For file-scope redefinitions,
rms [Fri, 11 Sep 1992 23:22:07 +0000 (23:22 +0000)]
(duplicate_decls):  For file-scope redefinitions,
error message distinguishes previous definitions from mere decls.

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

31 years ago * pa.md (non-[cf]branch define_delay): Use a single delay description
law [Fri, 11 Sep 1992 16:39:13 +0000 (16:39 +0000)]
* pa.md (non-[cf]branch define_delay): Use a single delay description
for the delay slots in "branch", "call", and "milli" insns.
(fbranch define_delay): fbranches have a single delay slot which
may be nullified when the branch is taken (regardless of direction
or distance to the target.)
(in_branch_delay attribute): Disallow fbranch insns explicitly.
(floating point branches): Use "fbranch" attribute for these insns.
Update output template to properly handle nullification.

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

31 years ago(build_binary_op): When checking shift widths, don't assume target integer
rms [Fri, 11 Sep 1992 08:53:34 +0000 (08:53 +0000)]
(build_binary_op): When checking shift widths, don't assume target integer
fits in a HOST_WIDE_INT.

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

31 years ago(finish_struct): Don't assume that a target integer
rms [Fri, 11 Sep 1992 08:52:38 +0000 (08:52 +0000)]
(finish_struct): Don't assume that a target integer
fits in a HOST_WIDE_INT when checking bit-field widths.

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

31 years ago(convert_to_integer): Don't pass truncation thru lshift
rms [Fri, 11 Sep 1992 07:35:32 +0000 (07:35 +0000)]
(convert_to_integer): Don't pass truncation thru lshift
if shift count >= width of narrower type.  Instead, just use 0.

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

31 years ago(SIZE_TYPE): Defined.
rms [Fri, 11 Sep 1992 05:07:29 +0000 (05:07 +0000)]
(SIZE_TYPE): Defined.

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

31 years agoComment changes.
rms [Fri, 11 Sep 1992 02:01:46 +0000 (02:01 +0000)]
Comment changes.

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

31 years ago(expand_binop): Fix typo, `mode' => `methods'.
rms [Fri, 11 Sep 1992 01:15:31 +0000 (01:15 +0000)]
(expand_binop): Fix typo, `mode' => `methods'.
(expand_binop): Delete #ifdef GPC; complex code now uncond.

(expand_binop): Fix typo, `mode' => `methods'.

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

31 years ago*** empty log message ***
moore [Thu, 10 Sep 1992 22:27:06 +0000 (22:27 +0000)]
*** empty log message ***

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

31 years ago (main) Write declaration for const_num_delay_slots ().
moore [Thu, 10 Sep 1992 22:20:56 +0000 (22:20 +0000)]
 (main) Write declaration for const_num_delay_slots ().

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

31 years ago(shorten_branches): Do shorten branches with delay slots
moore [Thu, 10 Sep 1992 22:20:15 +0000 (22:20 +0000)]
(shorten_branches): Do shorten branches with delay slots
if the number of delay slots is constant.

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

31 years agoDo not allow memory->memory moves to be generated.
meissner [Thu, 10 Sep 1992 21:37:46 +0000 (21:37 +0000)]
Do not allow memory->memory moves to be generated.

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

31 years ago(casesi): Add `&' to constraint for clobber operand.
tege [Thu, 10 Sep 1992 16:47:30 +0000 (16:47 +0000)]
(casesi): Add `&' to constraint for clobber operand.

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

31 years ago(declare_function_name): Allow for anonymous function.
rms [Thu, 10 Sep 1992 05:33:47 +0000 (05:33 +0000)]
(declare_function_name):  Allow for anonymous function.

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

31 years agoAdd comments.
rms [Thu, 10 Sep 1992 04:31:39 +0000 (04:31 +0000)]
Add comments.

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

31 years ago(init_fixtab): Fix typo for fix_truncdfqi2.
rms [Thu, 10 Sep 1992 04:21:33 +0000 (04:21 +0000)]
(init_fixtab): Fix typo for fix_truncdfqi2.

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

31 years ago(init_optabs): Use __gcc_bcmp, not real bcmp.
rms [Thu, 10 Sep 1992 01:00:39 +0000 (01:00 +0000)]
(init_optabs): Use __gcc_bcmp, not real bcmp.
(expand_unop): Handle NEG for complex modes.
(expand_binop): Likewise.
(expand_complex_binop): New function.

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

31 years ago(mostlyclean): Delete xlimits.h.
rms [Thu, 10 Sep 1992 00:47:35 +0000 (00:47 +0000)]
(mostlyclean): Delete xlimits.h.

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

31 years ago(output_addr_const): If 2nd arg of MINUS is negative integer, put it in parens.
rms [Wed, 9 Sep 1992 20:35:19 +0000 (20:35 +0000)]
(output_addr_const): If 2nd arg of MINUS is negative integer, put it in parens.

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

31 years agoFix va_arg for structures larger than 8 bytes.
meissner [Wed, 9 Sep 1992 14:12:07 +0000 (14:12 +0000)]
Fix va_arg for structures larger than 8 bytes.

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

31 years ago(.nope): Really store into environ.
rms [Wed, 9 Sep 1992 09:03:13 +0000 (09:03 +0000)]
(.nope): Really store into environ.

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

31 years ago(build_index_type, build_index_2_type): Don't pass
rms [Wed, 9 Sep 1992 07:00:48 +0000 (07:00 +0000)]
(build_index_type, build_index_2_type): Don't pass
HOST_WIDE_INT to routine expecting an int.  Don't pass negative
value even if hash code is INT_MIN.

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

31 years ago(convert_to_integer): When optimizing LSHIFT_EXPR and
rms [Wed, 9 Sep 1992 06:56:35 +0000 (06:56 +0000)]
(convert_to_integer): When optimizing LSHIFT_EXPR and
RSHIFT_EXPR, do compares at tree level.

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

31 years agoDeclare gen_highpart.
rms [Wed, 9 Sep 1992 06:45:00 +0000 (06:45 +0000)]
Declare gen_highpart.

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

31 years ago(gen_highpart): New function.
rms [Wed, 9 Sep 1992 06:43:57 +0000 (06:43 +0000)]
(gen_highpart): New function.

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

31 years ago(print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.
rms [Wed, 9 Sep 1992 06:40:37 +0000 (06:40 +0000)]
(print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.

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

31 years ago(expand_expr): Support IN_EXPR.
rms [Wed, 9 Sep 1992 06:38:59 +0000 (06:38 +0000)]
(expand_expr): Support IN_EXPR.
(init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode or BLKmode.
(emit_move_insn): When moving word by word,
  mark the whole thing as a libcall block.
(group_insns): New function.
(expand_expr): Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR.

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

31 years ago(LIB2FUNCS): Add L__gcc_bcmp.
rms [Wed, 9 Sep 1992 06:37:33 +0000 (06:37 +0000)]
(LIB2FUNCS): Add L__gcc_bcmp.

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

31 years ago(layout_type): Caller must give size of FILE_TYPE.
rms [Wed, 9 Sep 1992 06:28:36 +0000 (06:28 +0000)]
(layout_type): Caller must give size of FILE_TYPE.
(layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, FILE_TYPE for Pascal.
(fixup_signed_type): New function.

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

31 years ago(dbxout_type_fields): Handle nameless subrecords for Pascal.
rms [Wed, 9 Sep 1992 00:27:40 +0000 (00:27 +0000)]
(dbxout_type_fields): Handle nameless subrecords for Pascal.
(dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE.

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

31 years ago(ASM_OUTPUT_OPCODE): Deleted.
rms [Tue, 8 Sep 1992 21:55:42 +0000 (21:55 +0000)]
(ASM_OUTPUT_OPCODE): Deleted.

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

31 years agoAdd BINFO_VPTR_FIELD definition.
mrs [Tue, 8 Sep 1992 09:25:09 +0000 (09:25 +0000)]
Add BINFO_VPTR_FIELD definition.

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

31 years agoMoved constant_expression_warning into c-common.c.
brendan [Mon, 7 Sep 1992 23:42:39 +0000 (23:42 +0000)]
Moved constant_expression_warning into c-common.c.

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

31 years ago(convert_for_assignment): Warn about constant integer
rms [Mon, 7 Sep 1992 21:22:56 +0000 (21:22 +0000)]
(convert_for_assignment): Warn about constant integer
overflow even if no conversion is involved.

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

31 years ago(duplicate_decls): Set DECL_INLINE in newdecl so it is copied into olddecl.
rms [Mon, 7 Sep 1992 06:57:50 +0000 (06:57 +0000)]
(duplicate_decls): Set DECL_INLINE in newdecl so it is copied into olddecl.
Don't set DECL_EXTERNAL in olddecl.
Preserve DECL_UID of olddecl.

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

31 years ago(FSGLMUL_USE_S): Defined.
rms [Mon, 7 Sep 1992 06:17:38 +0000 (06:17 +0000)]
(FSGLMUL_USE_S): Defined.

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

31 years ago(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
rms [Mon, 7 Sep 1992 06:17:16 +0000 (06:17 +0000)]
(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.

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

31 years ago(grokparms): Copy arg type list to savable obstack if nec.
rms [Mon, 7 Sep 1992 06:08:44 +0000 (06:08 +0000)]
(grokparms): Copy arg type list to savable obstack if nec.

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

31 years ago(check_case_value): Call constant_expression_warning.
rms [Mon, 7 Sep 1992 06:07:30 +0000 (06:07 +0000)]
(check_case_value): Call constant_expression_warning.

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

31 years ago(const_binop): Fix typo.
rms [Mon, 7 Sep 1992 06:06:12 +0000 (06:06 +0000)]
(const_binop): Fix typo.

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

31 years ago(main): No program should return the error_count!
rms [Mon, 7 Sep 1992 06:04:38 +0000 (06:04 +0000)]
(main): No program should return the error_count!
Return 2 if failure due to signal, 1 if just errors.
(execute): Increment signal_count.

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

31 years ago(record_reg_class): For matching operands, handle
rms [Mon, 7 Sep 1992 05:56:52 +0000 (05:56 +0000)]
(record_reg_class): For matching operands, handle
case where the earlier one is not a pseudo like the case
where the later one is not a pseudo.

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

31 years ago(simplify_binary_operation): For DIV by 0, do nothing.
rms [Mon, 7 Sep 1992 05:32:35 +0000 (05:32 +0000)]
(simplify_binary_operation): For DIV by 0, do nothing.

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

31 years ago * pa.c (output_function_prologue): Undo Aug. 13 change.
law [Mon, 7 Sep 1992 00:42:04 +0000 (00:42 +0000)]
* pa.c (output_function_prologue): Undo Aug. 13 change.
If profiling, then this function makes calls.  Reflect this in
CALLINFO.
(output_function_epilogue): If profiling, then be restore "rp" here.

* pa.c (use_milli_regs): Deleted.

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

31 years ago * pa.md (indirect_jump): Annul the next instruction if the delay
law [Mon, 7 Sep 1992 00:41:25 +0000 (00:41 +0000)]
* pa.md (indirect_jump): Annul the next instruction if the delay
slot could not be filled instead of emitting a nop.

* pa.md (use_milli_regs attribute): Deleted, not necessary anymore.
All references deleted.

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

31 years ago(MOVE_MAX): Define as 4.
tege [Sun, 6 Sep 1992 21:37:08 +0000 (21:37 +0000)]
(MOVE_MAX): Define as 4.

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

31 years ago(hard_regno_mode_ok): Don't abort if unknown mode,
tege [Sun, 6 Sep 1992 21:23:36 +0000 (21:23 +0000)]
(hard_regno_mode_ok): Don't abort if unknown mode,
return 0 instead.  Declare argument MODE as `enum machine_mode'.

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

31 years ago(HARD_REGNO_MODE_OK): Allow BLKmode.
tege [Sun, 6 Sep 1992 21:10:16 +0000 (21:10 +0000)]
(HARD_REGNO_MODE_OK): Allow BLKmode.

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

31 years ago(cmpstrsi): Rewrite expander to handle operands correctly.
jrv [Sun, 6 Sep 1992 10:36:53 +0000 (10:36 +0000)]
(cmpstrsi): Rewrite expander to handle operands correctly.

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

31 years ago(try_combine): Make change missing from last modification to splitting
kenner [Sun, 6 Sep 1992 02:55:22 +0000 (02:55 +0000)]
(try_combine): Make change missing from last modification to splitting
code.

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

31 years ago(before functions): Remove xmalloc decl.
tege [Sat, 5 Sep 1992 22:51:40 +0000 (22:51 +0000)]
(before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc.

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

31 years ago(storehi): Use match_operand for operand 0.
tege [Sat, 5 Sep 1992 20:36:46 +0000 (20:36 +0000)]
(storehi): Use match_operand for operand 0.
Use gen_lowpart to change mode of operand 0.
(storeinthi): Use match_operand for operand 0.
Change output code to reassign operand 0.
(truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns.

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

31 years ago(ASM_OUTPUT_OPCODE): Defined.
rms [Sat, 5 Sep 1992 06:40:27 +0000 (06:40 +0000)]
(ASM_OUTPUT_OPCODE): Defined.

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

31 years ago(mulsi3_big): Use low half of result.
rms [Sat, 5 Sep 1992 03:22:36 +0000 (03:22 +0000)]
(mulsi3_big): Use low half of result.
Use offset 1 in subregs in actual fmlow insn.
(fmlow pattern): Split this into alternatives for big and little end.

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

31 years agoComment change for meaning of TREE_CONSTANT_OVERFLOW.
rms [Sat, 5 Sep 1992 02:03:04 +0000 (02:03 +0000)]
Comment change for meaning of TREE_CONSTANT_OVERFLOW.

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

31 years ago(left_shift_overflows, same_sign, overflow_sum_sign): New macros.
rms [Sat, 5 Sep 1992 02:02:17 +0000 (02:02 +0000)]
(left_shift_overflows, same_sign, overflow_sum_sign): New macros.
(add_double, div_and_round_double, lshift_double, mul_double):
(neg_double, const_binop, fold): Check for signed integer overflow.
Propagate overflow flags from operands to result.
(const_binop, fold_convert): Use pedwarn for overflow warnings.
Say `constant expression', not `constant folding', for user's sake.

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

31 years ago(constant_expression_warning): Check INTEGER_CST for TREE_CONSTANT_OVERFLOW.
rms [Sat, 5 Sep 1992 02:01:30 +0000 (02:01 +0000)]
(constant_expression_warning): Check INTEGER_CST for TREE_CONSTANT_OVERFLOW.

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

31 years ago(output_move_double): Use %R to store at auto-incr/decr
tege [Fri, 4 Sep 1992 21:27:17 +0000 (21:27 +0000)]
(output_move_double): Use %R to store at auto-incr/decr
addr.  Split incr and decr cases for store.

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

31 years ago(install): Add semicolon to make an empty command.
rms [Fri, 4 Sep 1992 04:40:25 +0000 (04:40 +0000)]
(install): Add semicolon to make an empty command.

(SYSTEM_HEADER_DIR): New variable.
(xlimits.h): New target, broken out from install-limits-h.
Look in SYSTEM_HEADER_DIR for system's limits.h.
(start.encap): Dep on xlimits.h.
(install-limits-h): Install xlimits.h already made.

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

31 years ago(setup_save_areas): Don't look at WORDS_BIG_ENDIAN.
rms [Thu, 3 Sep 1992 23:25:40 +0000 (23:25 +0000)]
(setup_save_areas): Don't look at WORDS_BIG_ENDIAN.

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

31 years ago(IDENTIFIER_LIMBO_VALUE): New macro.
rms [Thu, 3 Sep 1992 22:13:44 +0000 (22:13 +0000)]
(IDENTIFIER_LIMBO_VALUE): New macro.
(struct lang_identifier): New field limbo_value.

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

31 years agoproperly close comment.
meissner [Thu, 3 Sep 1992 18:28:12 +0000 (18:28 +0000)]
properly close comment.

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

31 years agoIf we find a link pointing to ., make a similar
rms [Thu, 3 Sep 1992 08:55:41 +0000 (08:55 +0000)]
If we find a link pointing to ., make a similar
link to ., not a link to an absolute name.
(stdio.h): Change stdio.h to use stdarg.h to get va_list.

When link points to a dir $dirname outside $INPUT,
copy that dir into $LIB/root$dirname.  Translate the link itself
into a link to that new dir.  Make a file DONE in each treetop dir
so no treetop is scanned twice.  Improve progress messages.

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

31 years ago(process_command): Correct for spaz by patch, installing last change.
rms [Thu, 3 Sep 1992 08:40:32 +0000 (08:40 +0000)]
(process_command): Correct for spaz by patch, installing last change.

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

31 years ago(SYSTEM_HEADER_DIR): Overridden.
rms [Thu, 3 Sep 1992 07:23:31 +0000 (07:23 +0000)]
(SYSTEM_HEADER_DIR): Overridden.

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

31 years ago(main): Use new loop var J to avoid conflict with I.
rms [Thu, 3 Sep 1992 07:15:21 +0000 (07:15 +0000)]
(main): Use new loop var J to avoid conflict with I.

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

31 years ago(insert_save_restore): Correct test for
rms [Thu, 3 Sep 1992 07:13:23 +0000 (07:13 +0000)]
(insert_save_restore): Correct test for
determining whether multiple registers can be saved.

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

31 years agoComment syntax fix.
rms [Thu, 3 Sep 1992 06:47:05 +0000 (06:47 +0000)]
Comment syntax fix.

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

31 years ago(casesi): Use match_dup for second mention of operand 4.
tege [Thu, 3 Sep 1992 05:49:58 +0000 (05:49 +0000)]
(casesi): Use match_dup for second mention of operand 4.

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

31 years ago(default_compilers): Add missing comma between strings, so
rms [Wed, 2 Sep 1992 23:19:20 +0000 (23:19 +0000)]
(default_compilers): Add missing comma between strings, so
that traditional compilers can compile gcc.c.
(main): Don't pass strcpy or strlen a NULL pointer if some of the
spec strings in default_compilers are NULL.
(validate_all_switches): Don't dereference a NULL pointer if some of
the spec strings in defalut_compilers are NULL.

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

31 years ago * caller-save.c (init_caller_save): If we were unable to
law [Wed, 2 Sep 1992 23:08:44 +0000 (23:08 +0000)]
* caller-save.c (init_caller_save): If we were unable to
find a simple insn which meets all its constraints to save
and restore with a single insn in a mode, then set
regno_save_mode to VOIDmode to insure that this mode is never
used to caller-save the current register.

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

31 years ago(find_reloads): If have any earlyclobbers, don't let any
rms [Wed, 2 Sep 1992 21:21:19 +0000 (21:21 +0000)]
(find_reloads): If have any earlyclobbers, don't let any
reloads overlap with them.  Make everything RELOAD_OTHER.

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

31 years ago(default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
brendan [Wed, 2 Sep 1992 20:10:54 +0000 (20:10 +0000)]
(default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
(process_command): Allow +e[012] to be passed down into cc1plus.

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

31 years ago(SImode ldd peepholes): Add `f' to constraints.
wilson [Wed, 2 Sep 1992 18:25:15 +0000 (18:25 +0000)]
(SImode ldd peepholes): Add `f' to constraints.

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

31 years ago(handle_pragma_token): Delete.
wilson [Wed, 2 Sep 1992 17:45:35 +0000 (17:45 +0000)]
(handle_pragma_token): Delete.

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

31 years ago(HANDLE_PRAGMA): Delete.
wilson [Wed, 2 Sep 1992 17:45:11 +0000 (17:45 +0000)]
(HANDLE_PRAGMA): Delete.

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

31 years agoDrop \v in last change.
wood [Wed, 2 Sep 1992 16:38:37 +0000 (16:38 +0000)]
Drop \v in last change.

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

31 years agoChange the location of the Sun bundled C compiler (for backup defaults).
wilson [Wed, 2 Sep 1992 16:34:08 +0000 (16:34 +0000)]
Change the location of the Sun bundled C compiler (for backup defaults).

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

31 years ago(MOVE_MAX): Express in bytes not bits.
wood [Wed, 2 Sep 1992 16:10:04 +0000 (16:10 +0000)]
(MOVE_MAX): Express in bytes not bits.

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

31 years ago(output_ascii): Output known escape characters and don't
wood [Wed, 2 Sep 1992 16:09:16 +0000 (16:09 +0000)]
(output_ascii): Output known escape characters and don't
terminate the constant if an octal escape is used.

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

31 years ago(make_compound_operation, case ASHIFTRT): Add new code to
kenner [Wed, 2 Sep 1992 10:37:38 +0000 (10:37 +0000)]
(make_compound_operation, case ASHIFTRT): Add new code to
handle (ashiftrt (neg (ashift FOO C1) C2)) just like we currently
handle (ashiftrt (OP (ashiftrt FOO C1) C2) C2).

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

31 years ago(print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
rms [Wed, 2 Sep 1992 06:59:00 +0000 (06:59 +0000)]
(print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
which overflows.  Use unsigned % to compute HASH.

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

31 years agoInitial revision
rms [Wed, 2 Sep 1992 06:19:04 +0000 (06:19 +0000)]
Initial revision

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

31 years ago(X_CFLAGS): Deleted.
rms [Wed, 2 Sep 1992 06:18:15 +0000 (06:18 +0000)]
(X_CFLAGS): Deleted.

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

31 years ago(lang_options): Add terminating zero.
rms [Wed, 2 Sep 1992 05:33:36 +0000 (05:33 +0000)]
(lang_options): Add terminating zero.

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

31 years ago(process_init_constructor): Handle ranges.
rms [Wed, 2 Sep 1992 05:32:43 +0000 (05:32 +0000)]
(process_init_constructor): Handle ranges.

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

31 years ago(gmon.o): gmon-sol2.c is in config/.
rms [Wed, 2 Sep 1992 04:16:01 +0000 (04:16 +0000)]
(gmon.o): gmon-sol2.c is in config/.

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

31 years ago(handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.
rms [Wed, 2 Sep 1992 04:14:27 +0000 (04:14 +0000)]
(handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.

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

31 years agoChanged some decls.
rms [Wed, 2 Sep 1992 02:04:32 +0000 (02:04 +0000)]
Changed some decls.

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

31 years agoChanged the format of various sections to conform with GNU standard.
rms [Wed, 2 Sep 1992 01:59:40 +0000 (01:59 +0000)]
Changed the format of various sections to conform with GNU standard.
Deleted dependencies on some header files.
Replaced the use of the functions from memory.h with funtions like bzero.
Changed the include format.

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

31 years ago(CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake,
moore [Tue, 1 Sep 1992 21:27:47 +0000 (21:27 +0000)]
(CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake,
        -mpa-risc-1-0, -mpa-risc-1-1.
        (ASM_DECLARE_FUNCTION_NAME): Emit argument descriptors for all
        general registers if current_function_varargs.

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

31 years ago(current_block): Decl deleted.
rms [Tue, 1 Sep 1992 20:32:43 +0000 (20:32 +0000)]
(current_block):  Decl deleted.
(set_block):  Declared.

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

31 years ago(emit_insns_after): Update last_insn if nec.
rms [Tue, 1 Sep 1992 20:31:58 +0000 (20:31 +0000)]
(emit_insns_after): Update last_insn if nec.

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

31 years ago(current_block): Function deleted.
rms [Tue, 1 Sep 1992 20:30:57 +0000 (20:30 +0000)]
(current_block):  Function deleted.
(set_block):  New function.
(poplevel): If using a previously created block,
don't insert it into the parent level.

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

31 years ago(expand_fixup): Create a BLOCK node (via pushlevel/poplevel)
rms [Tue, 1 Sep 1992 20:29:40 +0000 (20:29 +0000)]
(expand_fixup):  Create a BLOCK node (via pushlevel/poplevel)
to represent an artificial scope containing all of the fixup code.
Also emit NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END for that block.
(fixup_gotos):  Declaration of NEWBLOCK deleted.
Call `set_block' to use the BLOCK made in expand_fixup.
Deleted code to insert NEWBLOCK into block hierarchy.

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