platform/upstream/linaro-gcc.git
31 years agoFix typo in last change.
rms [Sun, 4 Oct 1992 23:10:06 +0000 (23:10 +0000)]
Fix typo in last change.

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

31 years ago(readescape): No warning if digits in \x are all 0's.
rms [Sun, 4 Oct 1992 04:58:30 +0000 (04:58 +0000)]
(readescape): No warning if digits in \x are all 0's.

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

31 years ago(expand_complex_abs): Add declaration.
rms [Sat, 3 Oct 1992 18:44:17 +0000 (18:44 +0000)]
(expand_complex_abs): Add declaration.

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

31 years agoAdd expand_complex_abs decl.
meissner [Sat, 3 Oct 1992 14:47:33 +0000 (14:47 +0000)]
Add expand_complex_abs decl.

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

31 years agoOn DEC OSF/1 use x-dec-osf1 for xmake-file
meissner [Sat, 3 Oct 1992 11:33:18 +0000 (11:33 +0000)]
On DEC OSF/1 use x-dec-osf1 for xmake-file

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

31 years ago*** empty log message ***
wood [Sat, 3 Oct 1992 09:03:24 +0000 (09:03 +0000)]
*** empty log message ***

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

31 years ago(gen_realpart, gen_imagpart): Declared.
rms [Sat, 3 Oct 1992 05:35:44 +0000 (05:35 +0000)]
(gen_realpart, gen_imagpart): Declared.

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

31 years ago(DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs.
rms [Sat, 3 Oct 1992 02:31:20 +0000 (02:31 +0000)]
(DBX_REGISTER_NUMBER):  Don't abort here on pseudo-regs.

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

31 years ago(output_mem_loc_descriptor, output_loc_descriptor):
rms [Sat, 3 Oct 1992 02:30:30 +0000 (02:30 +0000)]
(output_mem_loc_descriptor, output_loc_descriptor):
Catch cases of bogus DECL_RTL values involving pseudo-regs (for all
target systems) and print an annoying message if we ever see such a case.

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

31 years ago(install-common-headers): Use __eprintf as indicator for GCC's assert.h.
rms [Sat, 3 Oct 1992 02:15:20 +0000 (02:15 +0000)]
(install-common-headers): Use __eprintf as indicator for GCC's assert.h.

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

31 years ago(install-common-headers): Install assert.h separately, in includedir,
rms [Sat, 3 Oct 1992 01:09:38 +0000 (01:09 +0000)]
(install-common-headers): Install assert.h separately, in includedir,
but not if file exists and lacks the magic comment.

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

31 years agoAdd magic comment at beginning.
rms [Sat, 3 Oct 1992 01:07:56 +0000 (01:07 +0000)]
Add magic comment at beginning.

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

31 years ago(includedir): New variable.
rms [Sat, 3 Oct 1992 01:04:00 +0000 (01:04 +0000)]
(includedir): New variable.
(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir.

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

31 years ago(reload): Move test for failure to find any group
rms [Sat, 3 Oct 1992 00:38:02 +0000 (00:38 +0000)]
(reload): Move test for failure to find any group
to after the loop over i.  Also check that all the regnos fit
below FIRST_PSEUDO_REGISTER.

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

31 years ago(expand_unop): Handle complex negate and abs val.
rms [Fri, 2 Oct 1992 01:42:33 +0000 (01:42 +0000)]
(expand_unop): Handle complex negate and abs val.
(init_optabs): Set up libcalls for complex abs.
(init_complex_libcalls): New function.

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

31 years agoUndo some of the index changes, and write our own index/rindex.
meissner [Fri, 2 Oct 1992 01:07:59 +0000 (01:07 +0000)]
Undo some of the index changes, and write our own index/rindex.

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

31 years agoRISC-OS 5.0 changes.
meissner [Thu, 1 Oct 1992 21:25:34 +0000 (21:25 +0000)]
RISC-OS 5.0 changes.

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

31 years ago(emit_reload_insns): Add a case to handle
wilson [Thu, 1 Oct 1992 19:18:06 +0000 (19:18 +0000)]
(emit_reload_insns): Add a case to handle
SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code.

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

31 years ago(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
wilson [Thu, 1 Oct 1992 19:17:02 +0000 (19:17 +0000)]
(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): New macro.  Define this to handle
HImode and QImode stores from FP_REGS to memory similar to above.

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

31 years ago(declare_function_name): __FUNC__ variables
rms [Thu, 1 Oct 1992 19:01:26 +0000 (19:01 +0000)]
(declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero.

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

31 years agoExpect 56 conflicts for objc.
rms [Thu, 1 Oct 1992 17:38:39 +0000 (17:38 +0000)]
Expect 56 conflicts for objc.

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

31 years ago * pa.md (add high part and dp register): Split into two patterns,
law [Thu, 1 Oct 1992 17:06:29 +0000 (17:06 +0000)]
* pa.md (add high part and dp register): Split into two patterns,
one for normal code, one for kernels.  Kernel version only allows
"r1" as the destination register.

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

31 years ago * pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
law [Thu, 1 Oct 1992 17:05:02 +0000 (17:05 +0000)]
* pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
which will cause "addil" instructions to be emitted instead of
"ldil; add" sequences.
* pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to
avoid "ldil; add" sequences with %r27 and instead generate "addil"
sequences.  This avoids a HPUX linker bug when compiling kernels.

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

31 years ago * pa.c (emit_move_sequence): When making a reference to the data
law [Thu, 1 Oct 1992 17:03:46 +0000 (17:03 +0000)]
* pa.c (emit_move_sequence): When making a reference to the data
space before reload, emit an insn sequence which is much more
likely to create "addil" instructions rather than "ldil; add"
sequences.  Doing so greatly reduces the chance of running into a
HPUX linker bug when compiling kernels.

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

31 years agoAdd mode spec for Emacs.
rms [Thu, 1 Oct 1992 09:05:18 +0000 (09:05 +0000)]
Add mode spec for Emacs.

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

31 years ago(c-parse.y, objc-parse.y): Construct from c-parse.in.
rms [Thu, 1 Oct 1992 09:03:03 +0000 (09:03 +0000)]
(c-parse.y, objc-parse.y): Construct from c-parse.in.
(gcc.xtar): Depend on c-parse.y, objc-parse.y.
(realclean): Delete c-parse.y, objc-parse.y.

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

31 years agoInitial revision
rms [Thu, 1 Oct 1992 09:01:10 +0000 (09:01 +0000)]
Initial revision

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

31 years ago(allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
rms [Thu, 1 Oct 1992 07:55:51 +0000 (07:55 +0000)]
(allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT.

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

31 years agoIf _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.
rms [Thu, 1 Oct 1992 06:11:57 +0000 (06:11 +0000)]
If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.

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

31 years ago(NO_UNDERSCORES): Deleted.
rms [Thu, 1 Oct 1992 04:54:36 +0000 (04:54 +0000)]
(NO_UNDERSCORES): Deleted.

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

31 years ago(__eprintf): Do nothing if inhibit_eprintf is defined.
rms [Thu, 1 Oct 1992 03:34:27 +0000 (03:34 +0000)]
(__eprintf): Do nothing if inhibit_eprintf is defined.

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

31 years agoentered into RCS
rms [Wed, 30 Sep 1992 22:42:04 +0000 (22:42 +0000)]
entered into RCS

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

31 years ago(install-fixincludes): rm syslimits.h before installing.
rms [Wed, 30 Sep 1992 22:24:46 +0000 (22:24 +0000)]
(install-fixincludes): rm syslimits.h before installing.
Install it with cp.  Add an else-part to the if that installs it.

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

31 years agoDon't use system syms.h on hpux.
rms [Wed, 30 Sep 1992 21:28:24 +0000 (21:28 +0000)]
Don't use system syms.h on hpux.

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

31 years ago(orcc peephole): Don't accept FP reg for operand 0.
wilson [Wed, 30 Sep 1992 19:08:44 +0000 (19:08 +0000)]
(orcc peephole): Don't accept FP reg for operand 0.

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

31 years agoUse <...> to include va-*.h.
rms [Wed, 30 Sep 1992 05:57:35 +0000 (05:57 +0000)]
Use <...> to include va-*.h.

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

31 years ago(find_splittable_givs): recog_memoized failure return is -1 not 0.
wilson [Tue, 29 Sep 1992 22:41:28 +0000 (22:41 +0000)]
(find_splittable_givs): recog_memoized failure return is -1 not 0.

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

31 years ago(os handling): Recognize `linux' as a valid os.
roland [Tue, 29 Sep 1992 22:19:48 +0000 (22:19 +0000)]
(os handling): Recognize `linux' as a valid os.

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

31 years agoUse <...> in #include.
rms [Tue, 29 Sep 1992 21:29:17 +0000 (21:29 +0000)]
Use <...> in #include.

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

31 years agoFix comment syntax after #endif.
rms [Tue, 29 Sep 1992 20:08:08 +0000 (20:08 +0000)]
Fix comment syntax after #endif.

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

31 years ago(ENQUIRE_CFLAGS): Remove -DNO_SC.
rms [Tue, 29 Sep 1992 20:06:22 +0000 (20:06 +0000)]
(ENQUIRE_CFLAGS): Remove -DNO_SC.

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

31 years ago(expand_binop): Convert X - C to X + (-C).
kenner [Tue, 29 Sep 1992 14:14:19 +0000 (14:14 +0000)]
(expand_binop): Convert X - C to X + (-C).

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

31 years ago(copy_loop_body, JUMP_INSN case): When invert jump
wilson [Mon, 28 Sep 1992 21:25:53 +0000 (21:25 +0000)]
(copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.

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

31 years ago(find_splittable_givs): Pass mem_mode not mode to memory_address_p.
wilson [Mon, 28 Sep 1992 21:21:34 +0000 (21:21 +0000)]
(find_splittable_givs): Pass mem_mode not mode to memory_address_p.

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

31 years ago(copy_loop_body, JUMP_INSN case): When setting
wilson [Mon, 28 Sep 1992 21:18:17 +0000 (21:18 +0000)]
(copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is.  If it isn't then map the old JUMP_LABEL to find the new one.

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

31 years ago(orcc peephole): Don't allow FP regs to match pattern.
wilson [Mon, 28 Sep 1992 21:16:10 +0000 (21:16 +0000)]
(orcc peephole): Don't allow FP regs to match pattern.

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

31 years ago(va_arg, va_start): Explicitly cast to __gnuc_va_alist.
rms [Mon, 28 Sep 1992 21:16:00 +0000 (21:16 +0000)]
(va_arg, va_start): Explicitly cast to __gnuc_va_alist.

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

31 years ago(indirect_jump): Use bx instead of b*, and accept any
wilson [Mon, 28 Sep 1992 21:14:21 +0000 (21:14 +0000)]
(indirect_jump):  Use bx instead of b*, and accept any
address_operand instead of just a register operand.

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

31 years ago(i960_round_tree): Correct conversion of bits to bytes to
wilson [Mon, 28 Sep 1992 21:11:48 +0000 (21:11 +0000)]
(i960_round_tree): Correct conversion of bits to bytes to
round up to nearest byte.
(i960_round_align): Likewise.

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

31 years agoFix typo.
meissner [Mon, 28 Sep 1992 19:53:47 +0000 (19:53 +0000)]
Fix typo.

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

31 years ago(expand_binop): Use get_insns, not gen_sequence.
rms [Mon, 28 Sep 1992 16:24:36 +0000 (16:24 +0000)]
(expand_binop): Use get_insns, not gen_sequence.

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

31 years ago(build_unary_op): Address of nested fcn isn't constant.
rms [Mon, 28 Sep 1992 16:07:29 +0000 (16:07 +0000)]
(build_unary_op): Address of nested fcn isn't constant.

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

31 years ago(__builtin_new): Avoid passing 0 to malloc.
rms [Mon, 28 Sep 1992 13:43:23 +0000 (13:43 +0000)]
(__builtin_new): Avoid passing 0 to malloc.

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

31 years ago(indirect_jump): Use address_operand as predicate.
rms [Mon, 28 Sep 1992 13:38:03 +0000 (13:38 +0000)]
(indirect_jump): Use address_operand as predicate.

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

31 years ago(subsi3): Remove last change.
kenner [Mon, 28 Sep 1992 12:18:10 +0000 (12:18 +0000)]
(subsi3): Remove last change.
(allocate_stack): Go back to calling subsi3.

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

31 years ago(struct arg_data): New field unsignedp.
kenner [Sun, 27 Sep 1992 22:19:16 +0000 (22:19 +0000)]
(struct arg_data): New field unsignedp.
(expand_call): Handle PROMOTE_FUNCTION_ARGS and PROMOTE_FUNCTION_RETURN.

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

31 years ago(assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming
kenner [Sun, 27 Sep 1992 22:18:33 +0000 (22:18 +0000)]
(assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming
register should be used in a wider mode.
(expand_function_start): Likewise for return value if PROMOTE_FUNCTION_RETURN
is defined.

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

31 years ago(subsi3): Don't bother calling negate_rtx for constant; we shouldn't be
kenner [Sun, 27 Sep 1992 17:05:40 +0000 (17:05 +0000)]
(subsi3): Don't bother calling negate_rtx for constant; we shouldn't be
called with a constant.
(maskir patterns): Don't mention an operand before it is used; use operand
number 1 for operand with '0' constraint.
(allocate_stack): Use reg_or_short_operand for predicate of allocation amount;
use negate_rtx and always make a PLUS.

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

31 years ago(EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
kenner [Sun, 27 Sep 1992 17:04:57 +0000 (17:04 +0000)]
(EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
(SHIFT_COUNT_TRUNCATED): No longer define this.

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

31 years agoPrint OSF/rose for version info.
meissner [Sun, 27 Sep 1992 13:19:01 +0000 (13:19 +0000)]
Print OSF/rose for version info.

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

31 years ago(indirect_jump): Use %a0 for output, and p for constraint.
rms [Sun, 27 Sep 1992 03:31:24 +0000 (03:31 +0000)]
(indirect_jump): Use %a0 for output, and p for constraint.

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

31 years ago(eliminate_regs_in_insn): If recognition fails on modified insn,
rms [Sun, 27 Sep 1992 03:28:28 +0000 (03:28 +0000)]
(eliminate_regs_in_insn): If recognition fails on modified insn,
go ahead and modify just the same.

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

31 years ago(eliminate_regs_in_insn): Rerecognize if move insn becomes a non-move.
rms [Sat, 26 Sep 1992 22:48:08 +0000 (22:48 +0000)]
(eliminate_regs_in_insn): Rerecognize if move insn becomes a non-move.

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

31 years agoRISC-OS rev 5, DEC OSF/1 changes.
meissner [Sat, 26 Sep 1992 22:37:56 +0000 (22:37 +0000)]
RISC-OS rev 5, DEC OSF/1 changes.

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

31 years ago(comment before extendhisi2): Remove the lie.
tege [Sat, 26 Sep 1992 22:36:47 +0000 (22:36 +0000)]
(comment before extendhisi2): Remove the lie.
(zero_extendhisi2): Rewrite to work if op0 == op1.  Use
gen_lowpart in preparation code.
(extendqisi2, extendhisi2): Likewise.
(extendqihi2): Expand.
(restorehi): Rewrite for correctness, efficiency, and
clarity. Avoid generating insns involving truncate.  Generate
needed pseudos in preparation statements.
(storehi): Likewise.
(storeinthi): Likewise.
(movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according
their new definitions.  Use force_reg to put address in register.

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

31 years agoInitial revision
meissner [Sat, 26 Sep 1992 22:01:27 +0000 (22:01 +0000)]
Initial revision

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

31 years ago(location_attribute): If DECL_RTL looks like (MEM pseudo),
rms [Sat, 26 Sep 1992 20:40:25 +0000 (20:40 +0000)]
(location_attribute): If DECL_RTL looks like (MEM pseudo),
treat that variable as optimized away.

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

31 years ago(install-fixincludes): Use - when making syslimits.h; fix if-statement syntax.
rms [Sat, 26 Sep 1992 20:28:15 +0000 (20:28 +0000)]
(install-fixincludes): Use - when making syslimits.h; fix if-statement syntax.

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

31 years ago(jump_optimize): When handling dispatch table that always
rms [Sat, 26 Sep 1992 19:09:26 +0000 (19:09 +0000)]
(jump_optimize): When handling dispatch table that always
goes to the same place, verify previous insn exists.

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

31 years agoIn the targets such as $(HOST_PREFIX_1)rtl.o,
rms [Sat, 26 Sep 1992 00:16:16 +0000 (00:16 +0000)]
In the targets such as $(HOST_PREFIX_1)rtl.o,
use sed to make them include hconfig.h instead of config.h.
(distclean): Add command to delete hconfig.h.

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

31 years ago(initializer_constant_valid_p): Really use endtype.
rms [Fri, 25 Sep 1992 22:31:38 +0000 (22:31 +0000)]
(initializer_constant_valid_p): Really use endtype.

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

31 years ago(do_include): "Concatenate" multiple "strings" in #include.
rms [Fri, 25 Sep 1992 22:01:36 +0000 (22:01 +0000)]
(do_include): "Concatenate" multiple "strings" in #include.

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

31 years ago(CPP_PREDEFINES): Define __ARCHITECTURE__.
rms [Fri, 25 Sep 1992 22:01:21 +0000 (22:01 +0000)]
(CPP_PREDEFINES): Define __ARCHITECTURE__.

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

31 years ago(dbxout_symbol): For anonymous enum, output type anyway.
rms [Fri, 25 Sep 1992 06:26:22 +0000 (06:26 +0000)]
(dbxout_symbol): For anonymous enum, output type anyway.

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

31 years ago(push_function_context): Save epilogue_delay_list.
wilson [Fri, 25 Sep 1992 05:52:48 +0000 (05:52 +0000)]
(push_function_context): Save epilogue_delay_list.
(pop_function_context): Restore epilogue_delay_list.

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

31 years ago(struct function): Add epilogue_delay_list field.
wilson [Fri, 25 Sep 1992 05:52:11 +0000 (05:52 +0000)]
(struct function): Add epilogue_delay_list field.

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

31 years ago(nonlocal_goto): Force operands[0] to be a register.
wilson [Fri, 25 Sep 1992 05:49:59 +0000 (05:49 +0000)]
(nonlocal_goto): Force operands[0] to be a register.

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

31 years ago(va_arg): Add 3 more (void *) casts to avoid warnings
wilson [Fri, 25 Sep 1992 05:47:53 +0000 (05:47 +0000)]
(va_arg): Add 3 more (void *) casts to avoid warnings
with -Wcast-align.

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

31 years ago(SF_MODES): Accept all single word or smaller integer
wilson [Fri, 25 Sep 1992 05:46:02 +0000 (05:46 +0000)]
(SF_MODES): Accept all single word or smaller integer
modes not just SImode.  These are needed for fix/float conversions.

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

31 years ago(sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in
wilson [Fri, 25 Sep 1992 05:44:06 +0000 (05:44 +0000)]
(sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in
addition to sched_analyze_1.

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

31 years ago(va_start): Must access anonymous arg as offset from start of argument block.
wilson [Fri, 25 Sep 1992 05:41:51 +0000 (05:41 +0000)]
(va_start):  Must access anonymous arg as offset from start of argument block.

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

31 years ago(movdi, movti, movdf, movtf): Make store zero to memory
wilson [Fri, 25 Sep 1992 05:39:45 +0000 (05:39 +0000)]
(movdi, movti, movdf, movtf): Make store zero to memory
a separate case, only accept offsettable memory addresses, and call
adj_offsettable_operand to calculate subword addresses.

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

31 years ago(i960_output_ldconst): Pass missing xoperands argument to output_asm_insn call.
wilson [Fri, 25 Sep 1992 05:37:08 +0000 (05:37 +0000)]
(i960_output_ldconst): Pass missing xoperands argument to output_asm_insn call.

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

31 years ago(movti): Split CONST_INTs into 4 moves, and force all other constants to
wilson [Fri, 25 Sep 1992 05:33:07 +0000 (05:33 +0000)]
(movti):  Split CONST_INTs into 4 moves, and force all other constants to
memory.

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

31 years agoFix varardic functions returning structs.
meissner [Thu, 24 Sep 1992 22:11:57 +0000 (22:11 +0000)]
Fix varardic functions returning structs.

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

31 years ago(REGISTER_MOVE_COST): Fix typo. Use `||' instead of `|'.
tege [Thu, 24 Sep 1992 19:37:34 +0000 (19:37 +0000)]
(REGISTER_MOVE_COST): Fix typo.  Use `||' instead of `|'.
(REG_CLASS_FROM_LETTER): Don't handle 'r' constraints here.

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

31 years ago(clobbered_register): Delete.
tege [Thu, 24 Sep 1992 19:36:29 +0000 (19:36 +0000)]
(clobbered_register): Delete.
(srcsi_operand): Return 1 also for things matching depi_cint_operand.
(secondary_reload_class): Replace.

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

31 years ago(ldo/ldil SImode and HImode recognizers): Use "const_int_operand"
tege [Thu, 24 Sep 1992 19:33:59 +0000 (19:33 +0000)]
(ldo/ldil SImode and HImode recognizers): Use "const_int_operand"
for operand 1 and simplify final condition.  Remove `n' constraint.
(depi SImode and HImode recognizers): Remove `n' constraint.
(plus:SI ... high ... splitter): Don't overwrite input, go via
clobber operand instead.
(many patterns): Replace `in' constraint with just `i'.
(movstrsi): Don't do (clobber (match_scratch)), use explicit
pseudos instead, generated in preparation C code.  Don't call
force_not_mem for operand 2.
(movstrsi recognizer): Add `&' to operand 3
(andsi3): Fix typo.
(iorsi3): Fix typo.
(load-shift-16): New optimizer.
(load-shift optimizers): Set "type" attr.

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

31 years ago(yylex, case '"'): Initialize arg pased to readescape.
kenner [Thu, 24 Sep 1992 19:23:56 +0000 (19:23 +0000)]
(yylex, case '"'): Initialize arg pased to readescape.

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

31 years ago(lang_options): Add Objc options.
rms [Thu, 24 Sep 1992 19:17:56 +0000 (19:17 +0000)]
(lang_options): Add Objc options.

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

31 years ago(length_used): New variable.
kenner [Thu, 24 Sep 1992 11:28:09 +0000 (11:28 +0000)]
(length_used): New variable.
(walk_attr_value): Set it when we have (eq_attr "length" ...).
(write_const_num_delay_slots): Value is 1 unless LENGTH_USED is set.

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

31 years ago(mark_set_resources, case CC0): Set RES->CC if IN_SEST.
kenner [Thu, 24 Sep 1992 11:09:49 +0000 (11:09 +0000)]
(mark_set_resources, case CC0): Set RES->CC if IN_SEST.

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

31 years ago(forbidden_inc_dec_class, in_inc_dec): New variables.
kenner [Thu, 24 Sep 1992 10:30:43 +0000 (10:30 +0000)]
(forbidden_inc_dec_class, in_inc_dec): New variables.
(regclass): Don't alloca the costs twice.
Initialize forbidden_inc_dec_class.
For regs that have inc-dec, ignore forbidden classes.
(record_address_regs): Update in_inc_dec.

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

31 years agoAdd comment.
rms [Thu, 24 Sep 1992 06:58:57 +0000 (06:58 +0000)]
Add comment.

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

31 years agoInitial revision
rms [Thu, 24 Sep 1992 06:57:49 +0000 (06:57 +0000)]
Initial revision

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

31 years agoInclude syslimits.h instead of system's limits.h.
rms [Thu, 24 Sep 1992 06:57:35 +0000 (06:57 +0000)]
Include syslimits.h instead of system's limits.h.

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

31 years ago(USER_H): Add syslimits.h.
rms [Thu, 24 Sep 1992 06:57:11 +0000 (06:57 +0000)]
(USER_H): Add syslimits.h.
(install-fixincludes): If we fix system's limits.h, install that as syslimits.h

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

31 years ago(readescape): New arg ignore_ptr.
rms [Thu, 24 Sep 1992 06:53:13 +0000 (06:53 +0000)]
(readescape): New arg ignore_ptr.
(yylex): Pass new arg, handle result that comes back.

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

31 years agoComment fix.
rms [Thu, 24 Sep 1992 06:08:30 +0000 (06:08 +0000)]
Comment fix.

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

31 years ago(find_reloads_address): Properly check for constant address.
kenner [Wed, 23 Sep 1992 23:26:34 +0000 (23:26 +0000)]
(find_reloads_address): Properly check for constant address.

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