Commit Graph

4921 Commits

Author SHA1 Message Date
Richard Stallman edbc355b88 (assemble_variable): Move debugging output calls to after section has been selected.
(assemble_variable): Move debugging output calls
to after section has been selected.  Select the section again
if the debugging output call changes the section.

From-SVN: r4934
1993-07-18 06:07:02 +00:00
Richard Stallman cadcc1c11c (dbxout_symbol_location): Call in_text_section
to decide whether to use DBX_STATIC_CONST_VAR_CODE.

From-SVN: r4933
1993-07-18 06:06:45 +00:00
Richard Stallman 081be30bbf (synth_module_prologue): Call layout_type for the array
type used for _OBJC_SELECTOR_TABLE.

From-SVN: r4932
1993-07-18 05:29:38 +00:00
Richard Stallman 46dbb914d1 (rest_of_compilation): If function is extern inline,
even if we can't inline it, don't compile it.

From-SVN: r4931
1993-07-17 04:48:10 +00:00
Richard Stallman 82e9f5e9b2 (dwarfout_init): Report failure of getpwd.
From-SVN: r4930
1993-07-17 01:34:14 +00:00
Richard Stallman 42cd476bc3 (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION)
(LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION)
(LIB_SPEC): Move outside of USE_GAS conditional.

From-SVN: r4929
1993-07-17 01:31:25 +00:00
Doug Evans f3b5834778 if [ "$os" ] --> if [ x"$os" != x"" ]
From-SVN: r4928
1993-07-16 18:24:47 +00:00
Richard Stallman a3f6caa73f (stdlib.h): Check carefully for definition of size_t.
From-SVN: r4927
1993-07-15 17:05:38 +00:00
Richard Stallman 0c16ddf700 (build_c_cast): When casting to union, if value is array
or function, do default_conversion.

From-SVN: r4926
1993-07-15 05:40:42 +00:00
Richard Stallman c8ab446488 (reload): Don't free scratch_list or scratch_block if 0.
From-SVN: r4925
1993-07-15 05:14:36 +00:00
Richard Stallman ea8fbf8a33 (CONCAT): New rtx code.
From-SVN: r4924
1993-07-15 02:21:56 +00:00
Richard Stallman fc84e8a81c (gen_lowpart_common, gen_highpart): Handle CONCAT.
(operand_subword): Likewise.
(gen_reg_rtx): For complex mode, return a CONCAT of two pseudos.

From-SVN: r4923
1993-07-15 02:20:05 +00:00
Richard Stallman 5998c7dcc3 (expand_decl): Make a CONCAT, for decls of complex type.
From-SVN: r4922
1993-07-15 02:16:57 +00:00
Richard Stallman 477008025c (dbxout_symbol_location): Subroutine broken out from dbxout_symbol.
(dbxout_symbol_location): Subroutine broken out from
dbxout_symbol.  Handle CONCAT here.
(dbxout_symbol_name): New subroutine.  Handle anonymous decls too.
(dbxout_reg_parms): Simplify using dbxout_symbol_location.
Handle CONCAT.

From-SVN: r4921
1993-07-15 02:15:41 +00:00
Richard Stallman ec4738c0ca Don't discard comment end characters on lines that look like "#endif */".
Don't discard comment end characters on lines that
look like "#endif */".  Fixes Esix 4.0.4 problem.

From-SVN: r4920
1993-07-14 23:23:58 +00:00
Richard Stallman c87e58bb18 (file): Fix size_t definition in stdlib.h as in types.h.
Also a conditional to prevent repeated definition.

From-SVN: r4919
1993-07-14 23:15:19 +00:00
Jeff Law 3f729fda85 pa.c (emit_move_sequence): Use cint_ok_for_move instead of checking each condition ourselves.
* pa.c (emit_move_sequence): Use cint_ok_for_move instead of
	checking each condition ourselves.

From-SVN: r4918
1993-07-14 10:28:04 -06:00
Jeff Law 879d206e01 pa-utahmach.h (CPP_PREDEFINES): Do not define HPUX_SOURCE, hp700, or HP700.
* pa-utahmach.h (CPP_PREDEFINES): Do not define HPUX_SOURCE, hp700,
	or HP700.

From-SVN: r4917
1993-07-14 10:26:07 -06:00
Jeff Law f854c12c08 pa.md (uncond_branch): New type attribute.
* pa.md (uncond_branch): New type attribute.  Explicitly disallow
	uncond_branch in most delay slots.
	(in_call_delay attribute): New test for delay slot of call insns.
	Allow uncond_branches in the delay slot if TARGET_JUMP_IN_DELAY.
	(define_delay for calls, millicode calls, branches, returns, etc):
	Broken up into two define delays.  One for calls and millicode
	calls, a second for branches, returns, etc.
	(millicode insns): Pass the current insn down to
	output_{mul,div,mod}_insn.
	(jump insn): Use "uncond_branch" type attribute.  Length of this
	insn varies if it is in the delay slot of a call.
	(call_internal_symref): Use output_call.
	(call_value_internal_symref): Likewise.
	(call_internal_reg): Use %r syntax instead of just register numbers.
	(call_value_internal_reg): Likewise.

From-SVN: r4916
1993-07-14 10:23:19 -06:00
Jeff Law 2c4ff308b9 pa.c (output_call): New function to output a function call or millicode call...
* pa.c (output_call): New function to output a function call or
	millicode call, possibly with a jump in the delay slot.
	(output_mul_insn): Accept additional argument, use output_call.
	(output_div_insn): Likewise.
	(output_mod_insn): Likewise.
	(jump_in_call_delay): New function to determine if the given
	JUMP_INSN is in the delay slot of a call or millicode call.

From-SVN: r4915
1993-07-14 10:22:49 -06:00
Jeff Law 0a1daad47e pa.h (TARGET_JUMP_IN_DELAY): New target flag to allow/disallow jump instructions in call delay slots.
* pa.h (TARGET_JUMP_IN_DELAY): New target flag to allow/disallow
	jump instructions in call delay slots.
	(TARGET_SWITCHES): Add -mjump-in-delay and -mno-jump-in-delay.
	Provide -mno alternatives for most options.
	(output_call): Declare.

From-SVN: r4914
1993-07-14 10:22:23 -06:00
Jim Blandy c7e1200faf * config.sub: Add case for Bull dpx/2.
From-SVN: r4913
1993-07-14 04:52:50 +00:00
Jim Meyering 42dcdbe212 *** empty log message ***
From-SVN: r4912
1993-07-13 16:37:01 +00:00
Richard Stallman 7a87bc5714 (ffssi2, ffshi2): Assume bsf produces garbage if input is 0.
(ffssi2, ffshi2): Assume bsf produces
garbage if input is 0.  Use jumps to load output in that case.

From-SVN: r4911
1993-07-13 07:34:25 +00:00
Paul Eggert da3c61151d (convert_for_assignment): Use `convert_and_check',
not `convert', for converting arithmetic types, since
`convert_and_check' no longer reports an error
where it should just warn.

From-SVN: r4910
1993-07-12 21:10:27 +00:00
Paul Eggert 90c939d4ee (unsigned_conversion_warning): Just use `warning',
not `pedwarn'; these diagnostics are not required by Standard C.

From-SVN: r4909
1993-07-12 21:10:27 +00:00
Richard Stallman c5a3d53f11 (INITIALIZE_TRAMPOLINE): Add code to do an rei to clear the insn cache.
From-SVN: r4908
1993-07-12 20:45:25 +00:00
Richard Stallman 3ac7348b66 (output_move_double): Fix typos in Jun 28 change.
Only set highest_first if first reg
of dest overlaps memory src address.  Otherwise, if addreg1 set and
is same as second reg of dest, suppress trailing decrement.

From-SVN: r4907
1993-07-11 22:52:46 +00:00
Richard Stallman 4bbbc5d906 (convert_arguments): Don't warn about sign change for an INTEGER_CST inside NOP_EXPR, if value not fits new type.
(convert_arguments): Don't warn about sign change
for an INTEGER_CST inside NOP_EXPR, if value not fits new type.
Delete the code to check for VAL having enumeration type.

From-SVN: r4906
1993-07-11 22:44:54 +00:00
Richard Stallman f0a5c7b7d3 Finish up previous change.
From-SVN: r4905
1993-07-11 22:31:19 +00:00
Richard Stallman cb4107092f (output_move_double): Do the low reg first,
when only the high reg has an overlap.

From-SVN: r4904
1993-07-11 22:22:44 +00:00
Jeff Law 8e318904de jump.c (jump_optimize): Correctly identify branches to the end of a function so that they may be turned...
* jump.c (jump_optimize): Correctly identify branches to the end
	of a function so that they may be turned into RETURN insns.

From-SVN: r4903
1993-07-10 17:48:56 -06:00
Richard Stallman 0d8c1ccd98 (main): Allocate COLLECT_NAME string with xmalloc.
From-SVN: r4902
1993-07-10 21:38:19 +00:00
Richard Stallman 328d079707 (HARD_REG_ELT_TYPE): New unsigned type to avoid signed arithmetic overflow.
(HARD_REG_ELT_TYPE): New unsigned type to
avoid signed arithmetic overflow.
(HARD_REG_SET): Define as HARD_REG_ELT_TYPE, or array thereof.
(HARD_CONST): Always cast to HARD_REG_ELT_TYPE.
(*_HARD_REG_*): Use unsigned HARD_CONST and HARD_REG_ELT_TYPE
types instead of assuming HOST_WIDE_INT.

From-SVN: r4901
1993-07-10 19:26:27 +00:00
Richard Stallman 344080e610 (REGSET_ELT_TYPE): Make unsigned to avoid signed arithmetic overflow.
From-SVN: r4900
1993-07-10 19:25:58 +00:00
Richard Stallman 0fa2faf052 Check for symlinks being available in /tmp.
From-SVN: r4899
1993-07-10 19:06:09 +00:00
Richard Stallman c270f7968a (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): New definitions.
From-SVN: r4898
1993-07-10 06:01:35 +00:00
Jeff Law 2be154deb4 pa.md (dbra and movb patterns): Fix constraints so that FP registers are never preferred.
* pa.md (dbra and movb patterns): Fix constraints so that FP
	registers are never preferred.

From-SVN: r4897
1993-07-09 18:39:51 -06:00
Jeff Law 1400469c00 Fix typos in last change.
From-SVN: r4896
1993-07-09 17:36:57 -06:00
Richard Stallman c21953c3b9 (clipper_builtin_saveregs): Changes to go with va-clipper.h changes.
From-SVN: r4895
1993-07-09 22:20:36 +00:00
Richard Stallman 9e91edcefb Make var/stdargs compatible with apogee's acc.
(__gnuc_va_list): Replace __va_f and __va_r with __va_reg.
(__va_list, _SYS_INT_STDARG_H): New defines.
(va_arg): Corresponding changes.

From-SVN: r4894
1993-07-09 22:19:58 +00:00
Brendan Kehoe d412ec4c71 Cygnus<->FSF merge.
From-SVN: r4893
1993-07-09 17:27:52 -04:00
Doug Evans fb93c62365 Make `solaris' reflect the most recent major release.
From-SVN: r4892
1993-07-09 20:44:12 +00:00
Jeff Law 4c2164b713 pa.md (default length define_attr): Lengths are in bytes now.
* pa.md (default length define_attr): Lengths are in bytes now.
        (asm_attributes): Likewise.
        (delay slot attributes): Deal with lengths in bytes.
        (explicit length computations): Compute length in bytes.

From-SVN: r4891
1993-07-09 14:29:50 -06:00
Jeff Law a1b36964f8 pa.c (compute_movstrsi_length): Return length in bytes.
* pa.c (compute_movstrsi_length): Return length in bytes.
        (pa_adjust_insn_length): Return adjustment in bytes.
        (output_cbranch): Handle lengths as bytes.
        (output_bb, output_dbra, output_movb): Likewise.

From-SVN: r4890
1993-07-09 14:29:36 -06:00
Jeff Law 2af5b845e6 * pa.h (CASE_VECTOR_MODE): Change to DImode.
From-SVN: r4889
1993-07-09 14:29:17 -06:00
Jeff Law b1a275e1e0 pa.c (pa_adjust_insn_length): dbra and movb insns which have their output in a FP register do not need adjustment.
* pa.c (pa_adjust_insn_length): dbra and movb insns which have
        their output in a FP register do not need adjustment.
        (output_cbranch, output_bb): Handle conditional jump to the
        following instruction.
        (output_dbra): New function extracted from dbra pattern.
        (output_movb): New function.
        (eq_neq_comparison_operator): New function.
        (movb_comparison_operator): New function.

From-SVN: r4888
1993-07-09 14:22:50 -06:00
Jeff Law 98b2d88783 pa.md (dbra pattern): Use output_dbra.
* pa.md (dbra pattern): Use output_dbra.
        (dbra pattern #2): New pattern.  Also use output_dbra.
        (movb, inverted movb): New patterns.

From-SVN: r4887
1993-07-09 14:22:15 -06:00
Jeff Law 6bd5174eb2 * pa.h (output_dbra, output_movb): Declare.
From-SVN: r4886
1993-07-09 14:21:56 -06:00
Richard Stallman 9b40e174b2 (ASM_OUTPUT_OPCODE): Don't add .w suffix to jump insns.
From-SVN: r4885
1993-07-09 06:59:48 +00:00