Commit Graph

2215 Commits

Author SHA1 Message Date
Richard Stallman
21d12b804d (simplify_binary_operation): For DIV by 0, do nothing.
From-SVN: r2066
1992-09-07 05:32:35 +00:00
Jeff Law
2040c37b07 pa.c (output_function_prologue): Undo Aug.
* 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.

From-SVN: r2065
1992-09-06 18:42:04 -06:00
Jeff Law
29662692f4 pa.md (indirect_jump): Annul the next instruction if the delay slot could not be filled instead of...
* 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.

From-SVN: r2064
1992-09-06 18:41:25 -06:00
Torbjorn Granlund
d17ce9af86 (MOVE_MAX): Define as 4.
From-SVN: r2063
1992-09-06 21:37:08 +00:00
Torbjorn Granlund
a9a55844f9 (hard_regno_mode_ok): Don't abort if unknown mode,
return 0 instead.  Declare argument MODE as `enum machine_mode'.

From-SVN: r2062
1992-09-06 21:23:36 +00:00
Torbjorn Granlund
d7e2c9328f (HARD_REGNO_MODE_OK): Allow BLKmode.
From-SVN: r2061
1992-09-06 21:10:16 +00:00
James Van Artsdalen
783cdf659a (cmpstrsi): Rewrite expander to handle operands correctly.
From-SVN: r2060
1992-09-06 10:36:53 +00:00
Richard Kenner
8888fada84 (try_combine): Make change missing from last modification to splitting
code.

From-SVN: r2059
1992-09-05 22:55:22 -04:00
Torbjorn Granlund
838928c2fc (before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc.

From-SVN: r2058
1992-09-05 22:51:40 +00:00
Torbjorn Granlund
3a7a271921 (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.

From-SVN: r2057
1992-09-05 20:36:46 +00:00
Richard Stallman
b18a7b614f (ASM_OUTPUT_OPCODE): Defined.
From-SVN: r2056
1992-09-05 06:40:27 +00:00
Richard Stallman
8f0cc7f0c0 (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.

From-SVN: r2055
1992-09-05 03:22:36 +00:00
Richard Stallman
dac45ea36e Comment change for meaning of TREE_CONSTANT_OVERFLOW.
From-SVN: r2054
1992-09-05 02:03:04 +00:00
Richard Stallman
fe3e8e402b (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.

From-SVN: r2053
1992-09-05 02:02:17 +00:00
Richard Stallman
9e9bd45dd9 (constant_expression_warning): Check INTEGER_CST for TREE_CONSTANT_OVERFLOW.
From-SVN: r2052
1992-09-05 02:01:30 +00:00
Torbjorn Granlund
9682683d88 (output_move_double): Use %R to store at auto-incr/decr addr.
(output_move_double): Use %R to store at auto-incr/decr
addr.  Split incr and decr cases for store.

From-SVN: r2051
1992-09-04 21:27:17 +00:00
Richard Stallman
1402d22caa (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.

From-SVN: r2050
1992-09-04 04:40:25 +00:00
Richard Stallman
39fa348549 (setup_save_areas): Don't look at WORDS_BIG_ENDIAN.
From-SVN: r2049
1992-09-03 23:25:40 +00:00
Richard Stallman
f2a02c3a1d (IDENTIFIER_LIMBO_VALUE): New macro.
(struct lang_identifier): New field limbo_value.

From-SVN: r2048
1992-09-03 22:13:44 +00:00
Michael Meissner
207f537628 properly close comment.
From-SVN: r2047
1992-09-03 18:28:12 +00:00
Richard Stallman
1ac7d389a5 If we find a link pointing to ., make a similar link to ., not a link to an absolute name.
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.

From-SVN: r2046
1992-09-03 08:55:41 +00:00
Richard Stallman
cc6fc442d8 (process_command): Correct for spaz by patch, installing last change.
From-SVN: r2045
1992-09-03 08:40:32 +00:00
Richard Stallman
86543c6e28 (SYSTEM_HEADER_DIR): Overridden.
From-SVN: r2044
1992-09-03 07:23:31 +00:00
Richard Stallman
058d85217a (main): Use new loop var J to avoid conflict with I.
From-SVN: r2043
1992-09-03 07:15:21 +00:00
Richard Stallman
9233f8ce48 (insert_save_restore): Correct test for
determining whether multiple registers can be saved.

From-SVN: r2042
1992-09-03 07:13:23 +00:00
Richard Stallman
960e4c1cea Comment syntax fix.
From-SVN: r2041
1992-09-03 06:47:05 +00:00
Torbjorn Granlund
90989852ca (casesi): Use match_dup for second mention of operand 4.
From-SVN: r2040
1992-09-03 05:49:58 +00:00
Richard Stallman
20eec2c268 (default_compilers): Add missing comma between strings, so that traditional compilers can compile gcc.c.
(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.

From-SVN: r2039
1992-09-02 23:19:20 +00:00
Jeff Law
c515799cd1 caller-save.c (init_caller_save): If we were unable to find a simple insn which meets all its constraints to save...
* 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.

From-SVN: r2038
1992-09-02 17:08:44 -06:00
Richard Stallman
c07c29b98c (find_reloads): If have any earlyclobbers, don't let any reloads overlap with them.
(find_reloads): If have any earlyclobbers, don't let any
reloads overlap with them.  Make everything RELOAD_OTHER.

From-SVN: r2037
1992-09-02 21:21:19 +00:00
Brendan Kehoe
301a5c0b57 (default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
(process_command): Allow +e[012] to be passed down into cc1plus.

From-SVN: r2036
1992-09-02 16:10:54 -04:00
Jim Wilson
82b5625880 (SImode ldd peepholes): Add `f' to constraints.
From-SVN: r2035
1992-09-02 11:25:15 -07:00
Jim Wilson
1e59a3f81a (handle_pragma_token): Delete.
From-SVN: r2034
1992-09-02 10:45:35 -07:00
Jim Wilson
743ff6783a (HANDLE_PRAGMA): Delete.
From-SVN: r2033
1992-09-02 10:45:11 -07:00
Tom Wood
80d0abe9ad Drop \v in last change.
From-SVN: r2032
1992-09-02 16:38:37 +00:00
Jim Wilson
f36e573d24 Change the location of the Sun bundled C compiler (for backup defaults).
From-SVN: r2031
1992-09-02 09:34:08 -07:00
Tom Wood
883a42e5ad (MOVE_MAX): Express in bytes not bits.
From-SVN: r2030
1992-09-02 16:10:04 +00:00
Tom Wood
ef9429af77 (output_ascii): Output known escape characters and don't
terminate the constant if an octal escape is used.

From-SVN: r2029
1992-09-02 16:09:16 +00:00
Richard Kenner
d0dcc580cf (make_compound_operation...
(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).

From-SVN: r2028
1992-09-02 06:37:38 -04:00
Richard Stallman
11f6a29c9f (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
which overflows.  Use unsigned % to compute HASH.

From-SVN: r2027
1992-09-02 06:59:00 +00:00
Richard Stallman
54ca1d13e7 Initial revision
From-SVN: r2026
1992-09-02 06:19:04 +00:00
Richard Stallman
671b910797 (X_CFLAGS): Deleted.
From-SVN: r2025
1992-09-02 06:18:15 +00:00
Richard Stallman
b99933c766 (lang_options): Add terminating zero.
From-SVN: r2024
1992-09-02 05:33:36 +00:00
Richard Stallman
4f77a31b9e (process_init_constructor): Handle ranges.
From-SVN: r2023
1992-09-02 05:32:43 +00:00
Richard Stallman
d2e909818b (gmon.o): gmon-sol2.c is in config/.
From-SVN: r2022
1992-09-02 04:16:01 +00:00
Richard Stallman
61a43ca3ef (handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.
From-SVN: r2021
1992-09-02 04:14:27 +00:00
Richard Stallman
6072a4f54a Changed some decls.
From-SVN: r2020
1992-09-02 02:04:32 +00:00
Richard Stallman
f847fb392d 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.

From-SVN: r2019
1992-09-02 01:59:40 +00:00
Timothy Moore
4fc473c177 (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.

From-SVN: r2018
1992-09-01 21:27:47 +00:00
Richard Stallman
69b78d8d12 (current_block): Decl deleted.
(set_block):  Declared.

From-SVN: r2017
1992-09-01 20:32:43 +00:00