Richard Stallman [Sun, 21 Nov 1993 10:12:08 +0000 (10:12 +0000)]
(write_rbrac): Make added declarations conditional
on __cplusplus and nothing else.
From-SVN: r6129
Richard Stallman [Sun, 21 Nov 1993 10:11:51 +0000 (10:11 +0000)]
(stdio.h): Reenable adding protos for v*printf.
From-SVN: r6128
Richard Stallman [Sun, 21 Nov 1993 09:24:43 +0000 (09:24 +0000)]
(authdes_create): Delete arg info.
We can't count on having struct sockaddr defined.
From-SVN: r6127
Richard Stallman [Sun, 21 Nov 1993 06:54:47 +0000 (06:54 +0000)]
(math.h): When deleting inline sqrt and abs,
be flexible about arg name and function body.
From-SVN: r6126
Richard Stallman [Sun, 21 Nov 1993 06:01:04 +0000 (06:01 +0000)]
(stmp-fixproto): Never run fixproto twice.
From-SVN: r6125
Jim Wilson [Sat, 20 Nov 1993 21:51:04 +0000 (13:51 -0800)]
(warn_if_unused_value): Handle arbitrary number of casts
before a modify.
From-SVN: r6124
Richard Kenner [Sat, 20 Nov 1993 21:38:20 +0000 (16:38 -0500)]
(perform_divsi3, perform_modsi3): Add '&' in constraint for DX;
explicitly copy arg arg1 to cx.
From-SVN: r6123
Richard Stallman [Sat, 20 Nov 1993 09:21:06 +0000 (09:21 +0000)]
(expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen,
strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call.
From-SVN: r6122
Richard Stallman [Sat, 20 Nov 1993 07:26:48 +0000 (07:26 +0000)]
(write_rbrac): Treat rewinddir like memmove.
From-SVN: r6121
Richard Kenner [Fri, 19 Nov 1993 23:51:07 +0000 (18:51 -0500)]
Remove declarations for malloc and realloc.
From-SVN: r6120
Richard Kenner [Fri, 19 Nov 1993 23:48:17 +0000 (18:48 -0500)]
(store_field): Convert EXP to MODE before calling store_bit_field.
From-SVN: r6119
Richard Kenner [Fri, 19 Nov 1993 23:36:25 +0000 (18:36 -0500)]
(expand_complex_abs): Replace some erroneous uses of MODE with
SUBMODE.
From-SVN: r6118
Richard Kenner [Fri, 19 Nov 1993 23:24:20 +0000 (18:24 -0500)]
(force_to_mode): Don't allow sign-extension of constants when we are
narrowing things in an IOR or XOR.
From-SVN: r6117
Jim Wilson [Fri, 19 Nov 1993 21:42:23 +0000 (13:42 -0800)]
(output_function_profiler): When TARGET_MINIMAL_TOC,
emit .long instead of .tc.
From-SVN: r6116
Richard Stallman [Fri, 19 Nov 1993 21:07:39 +0000 (21:07 +0000)]
(movsf+1,2,movdf+1,2): Make 'f' preferred register class.
From-SVN: r6115
Richard Stallman [Fri, 19 Nov 1993 21:07:14 +0000 (21:07 +0000)]
(HARD_REGNO_MODE_OK): Allow any mode in general regs.
Float regs may only hold SFmode and DFmode.
(FUNCTION_ARG): Only MODE_INT and MODE_FLOAT with size <= 8 are
passed in registers.
(FUNCTION_ARG_ADVANCE): Update accordingly.
(FUNCTION_ARG_PARTIAL_NREG): Undefine.
From-SVN: r6114
Richard Stallman [Fri, 19 Nov 1993 20:19:29 +0000 (20:19 +0000)]
When compute DOTS, convert /./ to / to avoid
accidentally converting it to /../.
From-SVN: r6113
Richard Stallman [Thu, 18 Nov 1993 08:08:17 +0000 (08:08 +0000)]
Include "tconfig.h" before "runtime.h".
From-SVN: r6112
Richard Kenner [Thu, 18 Nov 1993 00:15:24 +0000 (19:15 -0500)]
(math.h): Add missing quoting of `*' when fixing prototype of `sqr'.
From-SVN: r6111
Richard Stallman [Tue, 16 Nov 1993 13:40:41 +0000 (13:40 +0000)]
(push_init_level): When aligning next struct field,
make sure there's another field left.
From-SVN: r6110
Richard Kenner [Tue, 16 Nov 1993 12:15:44 +0000 (07:15 -0500)]
(movdi): Use 'Q' instead of 'm' for FP.
From-SVN: r6109
Richard Kenner [Tue, 16 Nov 1993 12:15:18 +0000 (07:15 -0500)]
(EXTRA_CONSTRAINT): New macro.
(SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Disallow unaligned into float regs.
From-SVN: r6108
Richard Stallman [Tue, 16 Nov 1993 10:34:26 +0000 (10:34 +0000)]
(diff): Don't compare bi-parser.c
From-SVN: r6107
Richard Stallman [Tue, 16 Nov 1993 10:22:29 +0000 (10:22 +0000)]
(sdbout_symbol): If non-static var has static-style RTL,
don't output anything for it.
From-SVN: r6106
Richard Stallman [Tue, 16 Nov 1993 07:20:33 +0000 (07:20 +0000)]
(force_to_mode): Don't do right-shift in a narrower mode.
From-SVN: r6105
Richard Stallman [Tue, 16 Nov 1993 06:23:53 +0000 (06:23 +0000)]
(NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined.
From-SVN: r6104
Richard Stallman [Tue, 16 Nov 1993 03:11:01 +0000 (03:11 +0000)]
Undo previous change.
From-SVN: r6103
Richard Stallman [Tue, 16 Nov 1993 03:10:14 +0000 (03:10 +0000)]
(stmp-fixproto): Don't depend on xsys-protos.h.
From-SVN: r6102
Richard Stallman [Mon, 15 Nov 1993 10:30:16 +0000 (10:30 +0000)]
(REAL_VALUE_TO_DECIMAL): Defined.
From-SVN: r6101
Richard Stallman [Mon, 15 Nov 1993 10:26:25 +0000 (10:26 +0000)]
(RETURN_IN_MEMORY): Define.
From-SVN: r6100
Richard Stallman [Mon, 15 Nov 1993 07:20:32 +0000 (07:20 +0000)]
(push_init_level, really_start_incremental_init):
Skip any nameless bitfields at start of record.
(process_init_element): Skip any nameless bitfields after the field
just processed.
From-SVN: r6099
Richard Stallman [Mon, 15 Nov 1993 05:40:19 +0000 (05:40 +0000)]
(assign_parms): Clear STACK_PARM when we have a
pass-by-pointer parm that we load into a pseudo.
From-SVN: r6098
Richard Kenner [Mon, 15 Nov 1993 04:18:24 +0000 (23:18 -0500)]
(find_basic_blocks): When starting new basic block for a CALL_INSN in the presence of nonlocal labels...
(find_basic_blocks): When starting new basic block for a CALL_INSN in
the presence of nonlocal labels, don't get confused with following
CLOBBER.
(flow_analysis): Use same logic as find_basic_block to see when the
insn after a CALL_INSN starts a new basic block.
From-SVN: r6097
Richard Stallman [Mon, 15 Nov 1993 02:42:39 +0000 (02:42 +0000)]
(expand_expr): For TRUTH_AND_EXPR...
(expand_expr): For TRUTH_AND_EXPR, TRUTH_OR_EXPR
and TRUTH_XOR_EXPR, if result mode doesn't match operands,
don't use subtarget.
(store_expr): Convert constants to proper mode in two places.
From-SVN: r6096
Richard Stallman [Mon, 15 Nov 1993 02:14:32 +0000 (02:14 +0000)]
(getmntent): Delete the arg decls
because BSD 4.4 and Sunos disagree on them.
From-SVN: r6095
Richard Stallman [Mon, 15 Nov 1993 02:13:58 +0000 (02:13 +0000)]
(SECONDARY_INPUT_RELOAD_CLASS):
Moving any kind of integer cst to float reg needs intermediate.
From-SVN: r6094
Richard Stallman [Mon, 15 Nov 1993 02:08:56 +0000 (02:08 +0000)]
Test __bsdi__ like __BSD_NET2__.
From-SVN: r6093
Richard Stallman [Mon, 15 Nov 1993 01:55:03 +0000 (01:55 +0000)]
(store_split_bit_field): Properly load a constant VALUE
into a WORD_MODE pseudo.
From-SVN: r6092
Richard Stallman [Mon, 15 Nov 1993 01:40:04 +0000 (01:40 +0000)]
(expand_end_bindings): Use emit_move_insn instead of gen_move_insn in case...
(expand_end_bindings): Use emit_move_insn instead of
gen_move_insn in case nonlocal_goto_handler_slot is not a valid memref.
From-SVN: r6091
Richard Stallman [Mon, 15 Nov 1993 00:25:53 +0000 (00:25 +0000)]
(twoval_comparison_p): Do nothing for SAVE_EXPR, at least for now.
From-SVN: r6090
Richard Stallman [Mon, 15 Nov 1993 00:20:51 +0000 (00:20 +0000)]
(push_reload): Allow RELOAD_FOR_INPUT with a secondary
reload the same class as the input if the modes differ.
From-SVN: r6089
Richard Stallman [Sun, 14 Nov 1993 22:25:54 +0000 (22:25 +0000)]
(convert_for_assignment): Fix typo (codel => coder).
From-SVN: r6088
Richard Kenner [Sun, 14 Nov 1993 17:44:56 +0000 (12:44 -0500)]
(HAVE_VPRINTF): New macro.
From-SVN: r6087
Richard Kenner [Sun, 14 Nov 1993 17:44:15 +0000 (12:44 -0500)]
(HAVE_VPRINTF): Delete from here.
From-SVN: r6086
Richard Stallman [Sun, 14 Nov 1993 04:20:18 +0000 (04:20 +0000)]
(function_arg, function_arg_advance):
In default case, handle complex modes much like BLKmode.
(function_arg_partial_nregs): Likewise.
From-SVN: r6085
Richard Kenner [Sun, 14 Nov 1993 03:57:17 +0000 (22:57 -0500)]
(CPP_SPEC): Always define __LANGUAGE_C__ unless assembler.
(CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. Define
__cplusplus for C++.
From-SVN: r6084
Richard Kenner [Sun, 14 Nov 1993 03:31:36 +0000 (22:31 -0500)]
(movsf, movdf): Add 'G' to constraint for operand 1 when operand 0 is
a register and support it in alternative 0.
From-SVN: r6083
Richard Stallman [Sun, 14 Nov 1993 01:19:38 +0000 (01:19 +0000)]
(movsi): Handle moves to fp reg.
Handle const_double as operand 1.
From-SVN: r6082
Richard Stallman [Sat, 13 Nov 1993 23:28:04 +0000 (23:28 +0000)]
(diff): Fix typo in name gcc.??s.
From-SVN: r6081
Richard Stallman [Sat, 13 Nov 1993 22:08:16 +0000 (22:08 +0000)]
(dbxout_type_field): Skip fields with variable
position and/or size instead of crashing on them.
From-SVN: r6080
Richard Stallman [Sat, 13 Nov 1993 09:00:21 +0000 (09:00 +0000)]
Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal error.
From-SVN: r6079
Richard Stallman [Sat, 13 Nov 1993 08:59:22 +0000 (08:59 +0000)]
Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal error.
(main): Flush stdout and and check for errors prior to termination;
end with call to exit rather than return from main, as with gen*.c.
From-SVN: r6078
Richard Stallman [Sat, 13 Nov 1993 00:21:17 +0000 (00:21 +0000)]
(FUNCTION_ARG_BOUNDARY): Fix return value for 64bit
pass by value structures.
From-SVN: r6077
Richard Stallman [Fri, 12 Nov 1993 23:42:09 +0000 (23:42 +0000)]
(write_rbrac): Handle v*printf like memmove.
From-SVN: r6076
Richard Kenner [Fri, 12 Nov 1993 15:24:51 +0000 (10:24 -0500)]
(comparison): Don't emit invalid optimization for (set (reg) (comparison)) and...
(comparison): Don't emit invalid optimization
for (set (reg) (comparison)) and (set (reg) (neg (comparison)))
when comparison is LT.
From-SVN: r6075
Richard Kenner [Fri, 12 Nov 1993 13:53:40 +0000 (08:53 -0500)]
(pattern_really_clobbers_lr): Setting a subreg of a mem is valid and safe.
From-SVN: r6074
Richard Kenner [Fri, 12 Nov 1993 13:38:11 +0000 (08:38 -0500)]
Initial revision
From-SVN: r6073
Richard Stallman [Thu, 11 Nov 1993 15:53:02 +0000 (15:53 +0000)]
(fancy_abort): New function.
From-SVN: r6072
Richard Stallman [Thu, 11 Nov 1993 15:50:52 +0000 (15:50 +0000)]
(fancy_abort): Defined.
(write_rbrac): When adding proto for memmove,
put it inside #ifndef memmove.
From-SVN: r6071
Richard Stallman [Thu, 11 Nov 1993 15:43:41 +0000 (15:43 +0000)]
(mark_addressable): Handle REALPART_EXPR and IMAGPART_EXPR.
From-SVN: r6070
Richard Stallman [Thu, 11 Nov 1993 13:24:59 +0000 (13:24 +0000)]
(dbxout_parms): Fix previous change.
From-SVN: r6069
Richard Stallman [Thu, 11 Nov 1993 11:01:01 +0000 (11:01 +0000)]
(rel_source_subdir): Prune out redundant /subdir/../ to prevent recursion.
From-SVN: r6068
Richard Stallman [Thu, 11 Nov 1993 08:20:12 +0000 (08:20 +0000)]
Copy files needed for other files at the very end.
From-SVN: r6067
Richard Stallman [Thu, 11 Nov 1993 05:12:47 +0000 (05:12 +0000)]
(global_const_equiv_map_size): Declared.
From-SVN: r6066
Richard Stallman [Thu, 11 Nov 1993 05:01:22 +0000 (05:01 +0000)]
(dbxout_symbol): If it's C++, don't check the
DECL_SOURCE_LINE of a typedef.
From-SVN: r6065
Richard Stallman [Thu, 11 Nov 1993 03:30:32 +0000 (03:30 +0000)]
(ASM_OUTPUT_ASCII): Declare i.
From-SVN: r6064
Richard Kenner [Thu, 11 Nov 1993 02:34:55 +0000 (21:34 -0500)]
(subst_prev_insn): New variable.
(try_combine): Set it.
(get_last_value): Use subst_prev_insn if set instead of looking for the first
insn before SUBST_LOW_CUID.
From-SVN: r6063
Jim Wilson [Thu, 11 Nov 1993 00:47:19 +0000 (16:47 -0800)]
(unroll_loop): Set global_const_equiv_map_size.
From-SVN: r6062
Richard Kenner [Thu, 11 Nov 1993 00:31:34 +0000 (19:31 -0500)]
(global_const_equiv_map_size): New variable.
(expand_inline_function): Set it.
(expand_inline_function, copy_rtx_and_substitute, try_constants):
Never access const_equiv_map without checking for out-of-range.
(mark_stores): Likewise.
From-SVN: r6061
Richard Kenner [Wed, 10 Nov 1993 23:55:07 +0000 (18:55 -0500)]
(reload patterns for mla instruction): New.
From-SVN: r6060
Richard Kenner [Wed, 10 Nov 1993 23:49:56 +0000 (18:49 -0500)]
(smaxdi3): Was incorrectly called maxdi3.
From-SVN: r6059
Richard Kenner [Wed, 10 Nov 1993 23:44:41 +0000 (18:44 -0500)]
(LINK_SPEC): Don't pass -btextro if -r.
From-SVN: r6058
Jim Wilson [Wed, 10 Nov 1993 23:17:28 +0000 (15:17 -0800)]
(dbxout_parms): For parms passed via invisible
reference, accept any reg except FP, SP, and AP.
From-SVN: r6057
Richard Kenner [Wed, 10 Nov 1993 23:04:10 +0000 (18:04 -0500)]
Initial revision
From-SVN: r6056
Richard Kenner [Wed, 10 Nov 1993 22:52:16 +0000 (17:52 -0500)]
(sqrtdf2): Fix typo in extra condition.
(plus/eq pattern): Fix typo: "addze" was "adddze".
From-SVN: r6055
Richard Stallman [Wed, 10 Nov 1993 21:31:41 +0000 (21:31 +0000)]
(expand_expr): Use a smaller alignment when reading from a field
with a variable offset.
From-SVN: r6054
Richard Stallman [Wed, 10 Nov 1993 21:28:27 +0000 (21:28 +0000)]
(expand_divmod): If rem_flag, always force op0 to a register.
From-SVN: r6053
Richard Kenner [Wed, 10 Nov 1993 20:27:54 +0000 (15:27 -0500)]
Add blank line in comment.
From-SVN: r6052
Richard Stallman [Wed, 10 Nov 1993 19:41:37 +0000 (19:41 +0000)]
(expand_assignment): Use a smaller alignment when storing
into a field with a variable offset.
From-SVN: r6051
Richard Stallman [Wed, 10 Nov 1993 06:29:05 +0000 (06:29 +0000)]
(math.h): Delete inline definitions for sqr.
From-SVN: r6050
Richard Stallman [Wed, 10 Nov 1993 04:41:46 +0000 (04:41 +0000)]
(adddi3): Use DImode not SImode in force_reg call.
From-SVN: r6049
Richard Stallman [Wed, 10 Nov 1993 04:39:00 +0000 (04:39 +0000)]
(PIC_OFFSET_TABLE_MASK): New macro.
(function_epilogue): When -mabicalls, ignore
PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31.
From-SVN: r6048
Richard Stallman [Wed, 10 Nov 1993 00:39:17 +0000 (00:39 +0000)]
(reload) [SMALL_REGISTER_CLASSES]: Try, at least,
to avoid 2-groups whose second register is explicitly used.
From-SVN: r6047
Jim Wilson [Wed, 10 Nov 1993 00:08:15 +0000 (16:08 -0800)]
(strength_reduce): Accept VOIDmode initial values.
From-SVN: r6046
Richard Stallman [Tue, 9 Nov 1993 23:53:36 +0000 (23:53 +0000)]
(loop on $required): When a file is copied
because another file needs it, scan it for what files it needs.
From-SVN: r6045
Richard Stallman [Tue, 9 Nov 1993 20:18:35 +0000 (20:18 +0000)]
(negscc): Add mode for NEG.
From-SVN: r6044
John Hassey [Tue, 9 Nov 1993 17:55:51 +0000 (17:55 +0000)]
("cmpsf" & "cmpdf"): Undo inadvertent change included with CCEVENmode change.
From-SVN: r6043
Richard Stallman [Tue, 9 Nov 1993 05:01:21 +0000 (05:01 +0000)]
(SIZE_TYPE): #undef it.
From-SVN: r6042
Richard Stallman [Tue, 9 Nov 1993 00:03:33 +0000 (00:03 +0000)]
(ASM_FILE_START): Emit filename directive.
From-SVN: r6041
Richard Stallman [Mon, 8 Nov 1993 22:57:28 +0000 (22:57 +0000)]
(sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol for __vtbl_ptr_type.
From-SVN: r6040
Richard Stallman [Mon, 8 Nov 1993 21:51:20 +0000 (21:51 +0000)]
(build_binary_op): Warn for ordered compare of ptr with 0
only if pedantic in both cases.
From-SVN: r6039
Richard Stallman [Mon, 8 Nov 1993 07:56:19 +0000 (07:56 +0000)]
(output_line_command): Handle NO_IMPLICIT_EXTERN_C here.
(main): Not here.
From-SVN: r6038
Richard Stallman [Mon, 8 Nov 1993 03:09:05 +0000 (03:09 +0000)]
(scan_decls): After seeing an extern variable declaration...
(scan_decls): After seeing an extern variable
declaration, goto new_statement to read a new token, rather
than going to handle_statement (which uses the current token).
From-SVN: r6037
Richard Stallman [Sun, 7 Nov 1993 10:16:11 +0000 (10:16 +0000)]
(__MAIN_NAME): Define as " main(" rather
rather than " main (" to reflect current cc1plus.
From-SVN: r6036
Richard Stallman [Sun, 7 Nov 1993 05:32:37 +0000 (05:32 +0000)]
Add __GNUC_MINOR__=5 to CPP_PREDEFINES.
From-SVN: r6035
Richard Stallman [Sun, 7 Nov 1993 05:25:36 +0000 (05:25 +0000)]
(mostlyclean): Delete fixhdr.ready here.
(clean): Not here.
From-SVN: r6034
Richard Stallman [Sun, 7 Nov 1993 04:34:39 +0000 (04:34 +0000)]
Fix whitespace in previous change.
From-SVN: r6033
Richard Stallman [Sun, 7 Nov 1993 04:31:48 +0000 (04:31 +0000)]
Handle CCEVENmode as a new mode.
Handle CCEVENmode as a new mode. Logical operations
on CCmode registers now results in CCEVENmode.
Add patterns for jumps and ext's for CCEVENmode.
(cmpsf, cmpdf): Use reg 65 and clobber reg 64.
From-SVN: r6032
Richard Stallman [Sun, 7 Nov 1993 04:28:35 +0000 (04:28 +0000)]
(EXTRA_CC_MODES, EXTRA_CC_NAMES, SELECT_CC_MODE):
New macros to define CCEVENmode.
From-SVN: r6031
Richard Stallman [Sun, 7 Nov 1993 04:28:00 +0000 (04:28 +0000)]
(partial_ccmode_register_operand, even_relop)
(partial_ccmode_register_operand, even_relop)
(odd_relop): New functions, for support of CCEVENmode.
(print_operand, new case '!'): Revert following condition.
From-SVN: r6030