platform/upstream/linaro-gcc.git
29 years ago(expand_return): When returning BLKmode structure, use
wilson [Thu, 27 Apr 1995 22:50:50 +0000 (22:50 +0000)]
(expand_return): When returning BLKmode structure, use
operand_subword instead of doing arithmetic on the register number.
Also, for structures smaller than word_mode, copy it into a word_mode
temporary and then subreg it.

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

29 years agoDelete two define_peepholes which print `bad peephole'.
wilson [Thu, 27 Apr 1995 22:46:53 +0000 (22:46 +0000)]
Delete two define_peepholes which print `bad peephole'.

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

29 years ago(shorten_branches): For non-optimizing compiles, break after first pass.
tege [Thu, 27 Apr 1995 20:18:13 +0000 (20:18 +0000)]
(shorten_branches): For non-optimizing compiles, break after first pass.

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

29 years ago(rest_of_compilation): Call shorten_branches even when !optimize.
tege [Thu, 27 Apr 1995 20:17:35 +0000 (20:17 +0000)]
(rest_of_compilation): Call shorten_branches even when !optimize.

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

29 years agoUpdate comments.
kenner [Thu, 27 Apr 1995 18:40:02 +0000 (18:40 +0000)]
Update comments.

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

29 years agoSupport for pre-BFD versions of Linux ld.
meissner [Thu, 27 Apr 1995 18:35:38 +0000 (18:35 +0000)]
Support for pre-BFD versions of Linux ld.

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

29 years ago(do_include): Fix minor memory leak.
kenner [Thu, 27 Apr 1995 18:31:14 +0000 (18:31 +0000)]
(do_include): Fix minor memory leak.

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

29 years ago(struct argdata): Remove unused `comments' member.
kenner [Thu, 27 Apr 1995 18:28:46 +0000 (18:28 +0000)]
(struct argdata): Remove unused `comments' member.
(macarg): Don't set `comments' member.

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

29 years agoSupport for pre-BFD versions of Linux ld.
meissner [Thu, 27 Apr 1995 18:27:28 +0000 (18:27 +0000)]
Support for pre-BFD versions of Linux ld.

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

29 years agoDon't include <sys/stat.h> twice.
kenner [Thu, 27 Apr 1995 15:43:23 +0000 (15:43 +0000)]
Don't include  <sys/stat.h> twice.
(cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} for token_buffer
to U_CHAR* instead of char*.

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

29 years agoDon't include <sys/stat.h> twice.
kenner [Thu, 27 Apr 1995 15:42:46 +0000 (15:42 +0000)]
Don't include <sys/stat.h> twice.

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

29 years ago(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.
kenner [Thu, 27 Apr 1995 13:22:29 +0000 (13:22 +0000)]
(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.

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

29 years ago(valid_machine_attribute): Update last change.
kenner [Thu, 27 Apr 1995 12:56:36 +0000 (12:56 +0000)]
(valid_machine_attribute): Update last change.

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

29 years agoInitial revision
kenner [Thu, 27 Apr 1995 12:05:51 +0000 (12:05 +0000)]
Initial revision

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

29 years ago(collect_expansion): Assume leading white space already removed.
kenner [Thu, 27 Apr 1995 11:08:53 +0000 (11:08 +0000)]
(collect_expansion): Assume leading white space already removed.
Don't allocate unnecessary space for expansion.

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

29 years ago(deps_output): Don't generate overly long output lines.
kenner [Thu, 27 Apr 1995 11:03:46 +0000 (11:03 +0000)]
(deps_output): Don't generate overly long output lines.
Do not invoke self recursively with spacer == 0; this simplifies the code a
bit.

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

29 years ago(OBJC_VERSION): Version 7.
kenner [Wed, 26 Apr 1995 23:18:37 +0000 (23:18 +0000)]
(OBJC_VERSION): Version 7.
(build_objc_string_object): Build a full declaration if not using the next
runtime.
(objc_add_static_instance): New function.
(init_module_descriptor): Add reference to static instances table.
(build_module_descriptor): Add field for static instances table.
(get_objc_string_decl): New function.
(generate_static_references): New function.
(finish_objc): Call generate_static_references if needed.

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

29 years ago(finish_decl_top_level): New function.
kenner [Wed, 26 Apr 1995 23:17:42 +0000 (23:17 +0000)]
(finish_decl_top_level): New function.

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

29 years ago(finish_decl_top): New declaration.
kenner [Wed, 26 Apr 1995 23:17:07 +0000 (23:17 +0000)]
(finish_decl_top): New declaration.

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

29 years agoChanged Class * to Class in order to match NEXTSTEP and OpenStep
kenner [Wed, 26 Apr 1995 23:16:05 +0000 (23:16 +0000)]
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.

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

29 years ago(OBJC_O): Added bare-bones implementation of NXConstantString.
kenner [Wed, 26 Apr 1995 23:08:38 +0000 (23:08 +0000)]
(OBJC_O): Added bare-bones implementation of NXConstantString.

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

29 years agoInitial revision
kenner [Wed, 26 Apr 1995 23:08:15 +0000 (23:08 +0000)]
Initial revision

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

29 years agoChanged Class * to Class in order to match NEXTSTEP and OpenStep
kenner [Wed, 26 Apr 1995 23:07:00 +0000 (23:07 +0000)]
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(OBJC_VERSION): Version 7.
(objc_init_statics): New function.
(__objc_exec_class): Invoke objc_init_statics if needed.

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

29 years agoChanged Class * to Class in order to match NEXTSTEP and OpenStep
kenner [Wed, 26 Apr 1995 23:05:45 +0000 (23:05 +0000)]
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(objc_static_instances): New struct to record static instances of a certain
class.
(objc_module): New tag STATICS to point to the table of objc_statics_instances.

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

29 years ago(ashrsi2_31): Don't use dead_or_set_p after reload.
kenner [Wed, 26 Apr 1995 22:19:38 +0000 (22:19 +0000)]
(ashrsi2_31): Don't use dead_or_set_p after reload.

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

29 years agoRemove bad peepholes that improperly use dead_or_set_p.
kenner [Wed, 26 Apr 1995 22:16:50 +0000 (22:16 +0000)]
Remove bad peepholes that improperly use dead_or_set_p.

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

29 years agoTreat _MACHINE_ANSI_H_ like _ANSI_H_.
kenner [Wed, 26 Apr 1995 22:04:28 +0000 (22:04 +0000)]
Treat _MACHINE_ANSI_H_ like _ANSI_H_.

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

29 years ago(expand_function_end): Warn about unused parms if both -Wunused and -W.
kenner [Wed, 26 Apr 1995 21:56:19 +0000 (21:56 +0000)]
(expand_function_end): Warn about unused parms if both -Wunused and -W.

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

29 years ago(print_node): Print TYPE_PACKED.
kenner [Wed, 26 Apr 1995 21:25:21 +0000 (21:25 +0000)]
(print_node): Print TYPE_PACKED.

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

29 years agoUpdate number of shift/reduce conflicts.
kenner [Wed, 26 Apr 1995 21:24:51 +0000 (21:24 +0000)]
Update number of shift/reduce conflicts.
(structsp): Pass attribute arg to finish_struct.
Support attributes on enums and pass to finish_enum.

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

29 years ago(finish_struct): Add ATTRIBUTES argument, call decl_attributes and set
kenner [Wed, 26 Apr 1995 21:24:01 +0000 (21:24 +0000)]
(finish_struct): Add ATTRIBUTES argument, call decl_attributes and set
DECL_PACKED from TYPE_PACKED.
(finish_enum): Add ATTRIBUTES argument, call decl_attributes, and make enum
narrow if TYPE_PACKED.

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

29 years ago(init_attributes): Don't require decl for A_PACKED.
kenner [Wed, 26 Apr 1995 21:23:10 +0000 (21:23 +0000)]
(init_attributes): Don't require decl for A_PACKED.
(decl_attributes, case A_PACKED): Set TYPE_PACKED for type.

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

29 years ago(finish_enum, finish_struct): Add ATTRIBUTES argument.
kenner [Wed, 26 Apr 1995 21:22:41 +0000 (21:22 +0000)]
(finish_enum, finish_struct): Add ATTRIBUTES argument.

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

29 years ago(TYPE_PARSE_INFO): Delete unused field.
kenner [Wed, 26 Apr 1995 21:22:19 +0000 (21:22 +0000)]
(TYPE_PARSE_INFO): Delete unused field.
(TYPE_PACKED): Add new macro.
(struct tree_type): Delete unused field `parse_info'.
Add new field `packed_flag'.

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

29 years agoSupport Linux elf and a.out systems; Add parisc support
meissner [Wed, 26 Apr 1995 20:45:43 +0000 (20:45 +0000)]
Support Linux elf and a.out systems; Add parisc support

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

29 years ago(NEGTF2_LIBCALL): Define.
wilson [Wed, 26 Apr 1995 19:16:21 +0000 (19:16 +0000)]
(NEGTF2_LIBCALL): Define.
(INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros.

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

29 years ago(init_optabs): Delete all uses of undocumented TImode and
wilson [Wed, 26 Apr 1995 19:13:00 +0000 (19:13 +0000)]
(init_optabs): Delete all uses of undocumented TImode and
TFmode *_LIBCALL macros.

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

29 years ago(simplify_rtx, case TRUNCATE): Add. Use force_to_mode.
wilson [Wed, 26 Apr 1995 18:08:54 +0000 (18:08 +0000)]
(simplify_rtx, case TRUNCATE): Add.  Use force_to_mode.
(force_to_mode, case AND): Allow some simplifications when GET_MODE (x)
has more bits than HOST_BITS_PER_WIDE_INT.

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

29 years ago(truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND
wilson [Wed, 26 Apr 1995 18:06:52 +0000 (18:06 +0000)]
(truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND
of a TRUNCATE.

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

29 years ago(memop): Deleted.
dje [Wed, 26 Apr 1995 17:01:05 +0000 (17:01 +0000)]
(memop): Deleted.
(splittable_symbolic_memory_operand): New function.
(splittable_immediate_memory_operand): New function.

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

29 years ago(memop define_splits): Rewrite to not use memop.
dje [Wed, 26 Apr 1995 16:59:55 +0000 (16:59 +0000)]
(memop define_splits): Rewrite to not use memop.
Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits.

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

29 years ago(expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a string
kenner [Wed, 26 Apr 1995 16:29:48 +0000 (16:29 +0000)]
(expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a string
constant is a constant.

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

29 years ago(init_decl_processing): Don't give builtin__constant_p an argument
kenner [Wed, 26 Apr 1995 16:28:49 +0000 (16:28 +0000)]
(init_decl_processing): Don't give builtin__constant_p an argument
type.

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

29 years ago(CRAY*Y-MP:*:*:*): New entry.
kenner [Wed, 26 Apr 1995 14:27:47 +0000 (14:27 +0000)]
(CRAY*Y-MP:*:*:*): New entry.

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

29 years ago(output_init_element): Constructor is not simple if a bitfield is
kenner [Wed, 26 Apr 1995 12:35:12 +0000 (12:35 +0000)]
(output_init_element): Constructor is not simple if a bitfield is
being assigned a non-integer.

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

29 years ago(push_init_level): Update constructor_depth when we push spelling
kenner [Wed, 26 Apr 1995 12:04:28 +0000 (12:04 +0000)]
(push_init_level): Update constructor_depth when we push spelling
level.

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

29 years ago(alpha_builtin_saveregs): Refine last change to work for both stdarg
kenner [Wed, 26 Apr 1995 02:48:27 +0000 (02:48 +0000)]
(alpha_builtin_saveregs): Refine last change to work for both stdarg
and varargs.

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

29 years ago * pa.c (emit_move_sequence): Handle function label arithmetic for
law [Tue, 25 Apr 1995 23:49:45 +0000 (23:49 +0000)]
* pa.c (emit_move_sequence): Handle function label arithmetic for
PIC code generation too.

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

29 years ago(struct move_by_pieces): Add to_struct and from_struct fields.
wilson [Tue, 25 Apr 1995 23:36:38 +0000 (23:36 +0000)]
(struct move_by_pieces): Add to_struct and from_struct fields.
(move_by_pieces): Set to_struct and from_struct fields.
(move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1.
(expand_builtin, case BUILT_IN_MEMCPY): New variable type.
Set MEM_IN_STRUCT_P of src_mem and dest_mem.

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

29 years ago(clean): Delete libgcc1-asm.a.
wilson [Tue, 25 Apr 1995 23:21:32 +0000 (23:21 +0000)]
(clean): Delete libgcc1-asm.a.

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

29 years ago(CPP_SPEC): Define.
wilson [Tue, 25 Apr 1995 23:18:01 +0000 (23:18 +0000)]
(CPP_SPEC): Define.

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

29 years ago(pushdecl): Don't test DECL_EXTERNAL when deciding whether
wilson [Tue, 25 Apr 1995 23:11:10 +0000 (23:11 +0000)]
(pushdecl): Don't test DECL_EXTERNAL when deciding whether
to register a duplicate decl in the current block.

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

29 years ago(untyped_call): Make it return a complex double.
kenner [Tue, 25 Apr 1995 23:10:10 +0000 (23:10 +0000)]
(untyped_call): Make it return a complex double.

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

29 years ago(gen_highpart): Add comment about broken implementation.
kenner [Tue, 25 Apr 1995 23:09:34 +0000 (23:09 +0000)]
(gen_highpart): Add comment about broken implementation.

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

29 years ago(expand_builtin_apply_args): If STACK_REGS is defined, generate USE
kenner [Tue, 25 Apr 1995 23:09:01 +0000 (23:09 +0000)]
(expand_builtin_apply_args): If STACK_REGS is defined, generate USE
insns before the function body, thus showing which registers are
filled with parameters.
Reverse order of saving registers, more compact code for i387.
(expand_builtin_apply): Likewise.

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

29 years ago(assign_parms): If STACK_REGS is defined, generate USE insns before
kenner [Tue, 25 Apr 1995 23:08:04 +0000 (23:08 +0000)]
(assign_parms): If STACK_REGS is defined, generate USE insns before
the function body, thus showing which registers are filled with
parameters.

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

29 years agoAdd copyright for 1995.
kenner [Tue, 25 Apr 1995 23:07:43 +0000 (23:07 +0000)]
Add copyright for 1995.

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

29 years ago(current_function_returns_real): Deleted (unused).
kenner [Tue, 25 Apr 1995 23:06:57 +0000 (23:06 +0000)]
(current_function_returns_real): Deleted (unused).
(FP_mode_reg): Trimmed to a smaller size, less overhead.
(FP_MODE_REG): New macro over which FP_mode_reg will be accessed.
(mark_regs_pat, straighten_stack): New functions.
(reg_to_stack): Amend initialisation of FP_mode_reg.
Mark FP registers mentioned in USE insns before NOTE_INSN_FUNCTION_BEG.
(get_true_reg): Eliminate FP subreg accesses in favour of the actual FP
register in use.
(record_reg_life_pat): Make it work on SUBREGs as well.  Make use of the new
mark_regs_pat function.  Handle USE insns if called unnested.
(record_reg_life): Don't check for QImode again, we know that it is there.
Process CALL_INSNs like all other insns, they might `use' some FP argument
registers if register passing.
(stack_result_p): Changed in stack_result and returning an rtx.
(stack_reg_life_analysis): Take a new stackentry state argument.
Use stack_result and the rtx to mark using mark_regs_pat.  This ensures that
types that need multiple FP registers are handled correctly
Delete the no_live_regs shortcut to save space.
Use stackentry state to determine filled registers.
(replace_reg): Accept COMPLEX_FLOAT as well.
(move_for_stack_reg): Optimise away some pointer dereferencing.
(subst_stack_regs): Make sure the stack is in the right order and of the right
size for register passing.
(goto_block_pat): Make sure the stack is in the right order to return possible
multi-register values from the function.
(convert_regs): Fix comment about CALL_INSN, it's no longer valid.
Make sure the stack is of the right size and in the right order to return
possible multi-register values from the function.

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

29 years ago(attrib): Permit null-length argument list to attributes.
kenner [Tue, 25 Apr 1995 22:57:39 +0000 (22:57 +0000)]
(attrib): Permit null-length argument list to attributes.

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

29 years ago(attribute_in_list): New declaration.
kenner [Tue, 25 Apr 1995 22:52:37 +0000 (22:52 +0000)]
(attribute_in_list): New declaration.

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

29 years ago(valid_machine_attribute): Use new function attribute_in_list, makes
kenner [Tue, 25 Apr 1995 22:52:18 +0000 (22:52 +0000)]
(valid_machine_attribute): Use new function attribute_in_list, makes
sure type_attribute_variants are reused even when attributes have
parameters.
Assign any new type to TREE_TYPE (decl).
(attribute_in_list): New function.
(attribute_list_contained): Use it.

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

29 years ago(main): Pass INIT_ENVIRONMENT to putenv.
wilson [Tue, 25 Apr 1995 22:39:42 +0000 (22:39 +0000)]
(main): Pass INIT_ENVIRONMENT to putenv.

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

29 years ago(chain_member_purpose): Make similar to chain_member_value.
kenner [Tue, 25 Apr 1995 22:39:11 +0000 (22:39 +0000)]
(chain_member_purpose): Make similar to chain_member_value.

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

29 years ago(INIT_ENVIRONMENT): Define as string not putenv call.
wilson [Tue, 25 Apr 1995 22:38:15 +0000 (22:38 +0000)]
(INIT_ENVIRONMENT): Define as string not putenv call.

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

29 years ago(expand_return): When returning BLKmode structure in
wilson [Tue, 25 Apr 1995 22:25:28 +0000 (22:25 +0000)]
(expand_return): When returning BLKmode structure in
registers, copy it to a psuedo-reg instead of to hard registers.

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

29 years agoMake-lang.in.
kenner [Tue, 25 Apr 1995 22:08:27 +0000 (22:08 +0000)]
Make-lang.in.

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

29 years agoChange "realclean" to "maintainer-clean".
kenner [Tue, 25 Apr 1995 22:07:11 +0000 (22:07 +0000)]
Change "realclean" to "maintainer-clean".

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

29 years agoRemoved __NetBSD__ from conditional.
kenner [Tue, 25 Apr 1995 21:47:34 +0000 (21:47 +0000)]
Removed __NetBSD__ from conditional.
Declare strerror if HAVE_STRERROR is defined; otherwise declare
sys_errlist and sys_nerr.
(my_strerror): New function.
(errno): Don't define if already defined as a macro.

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

29 years ago(current_file_function_operand): Return false if profiling.
kenner [Tue, 25 Apr 1995 21:43:07 +0000 (21:43 +0000)]
(current_file_function_operand): Return false if profiling.

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

29 years ago(convert_move): Don't access a hard reg in an invalid mode when doing
kenner [Tue, 25 Apr 1995 21:05:37 +0000 (21:05 +0000)]
(convert_move): Don't access a hard reg in an invalid mode when doing
a truncation.

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

29 years ago(CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000.
kenner [Tue, 25 Apr 1995 20:36:31 +0000 (20:36 +0000)]
(CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000.

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

29 years ago(add_operand): Test for exactly the constants allowed by the
kenner [Tue, 25 Apr 1995 20:36:05 +0000 (20:36 +0000)]
(add_operand): Test for exactly the constants allowed by the
constraints.

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

29 years ago(start_decl): New args for attributes; call decl_attributes.
kenner [Tue, 25 Apr 1995 20:06:42 +0000 (20:06 +0000)]
(start_decl): New args for attributes; call decl_attributes.

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

29 years ago(start_decl): Two new tree parameters.
kenner [Tue, 25 Apr 1995 20:06:19 +0000 (20:06 +0000)]
(start_decl): Two new tree parameters.

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

29 years ago(initdcl, notype_initdcl): Pass attributes to start_decl; delete call
kenner [Tue, 25 Apr 1995 20:06:00 +0000 (20:06 +0000)]
(initdcl, notype_initdcl): Pass attributes to start_decl; delete call
to decl_attributes.

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

29 years agoDo not allow DFs to use 2 register addressing if -msoft-float
meissner [Tue, 25 Apr 1995 19:46:08 +0000 (19:46 +0000)]
Do not allow DFs to use 2 register addressing if -msoft-float

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

29 years ago(divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some
kenner [Tue, 25 Apr 1995 19:45:30 +0000 (19:45 +0000)]
(divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some
surrounding trash.
(divmodhi4, udivmodhi4): Added these insns.

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

29 years ago(duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES if it is not
kenner [Tue, 25 Apr 1995 17:30:35 +0000 (17:30 +0000)]
(duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES if it is not
set.

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

29 years agoInitial revision
kenner [Tue, 25 Apr 1995 16:42:00 +0000 (16:42 +0000)]
Initial revision

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

29 years ago(alpha_builtin_saveregs): Add to incoming args addr if less than 6
kenner [Tue, 25 Apr 1995 14:12:34 +0000 (14:12 +0000)]
(alpha_builtin_saveregs): Add to incoming args addr if less than 6
named args, not less than or equal to.

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

29 years ago(fatal, error): Make first arg const to avoid warning.
kenner [Mon, 24 Apr 1995 23:44:34 +0000 (23:44 +0000)]
(fatal, error): Make first arg const to avoid warning.

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

29 years ago(expand_end_bindings): Write a BARRIER after call to abort in nonlocal
kenner [Mon, 24 Apr 1995 23:22:18 +0000 (23:22 +0000)]
(expand_end_bindings): Write a BARRIER after call to abort in nonlocal
handler.

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

29 years ago(expand_decl_init): Call preserve_temp_slots to keep around any temp
kenner [Mon, 24 Apr 1995 19:25:06 +0000 (19:25 +0000)]
(expand_decl_init): Call preserve_temp_slots to keep around any temp
whose address was taken.

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

29 years ago67th Cygnus<->FSF merge
mrs [Mon, 24 Apr 1995 17:27:46 +0000 (17:27 +0000)]
67th Cygnus<->FSF merge

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

29 years ago(call_internal_reg): Fix typos in length calculation.
tege [Fri, 21 Apr 1995 23:39:23 +0000 (23:39 +0000)]
(call_internal_reg): Fix typos in length calculation.
(call_value_internal_reg): Likewise.

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

29 years ago(STANDARD_INCLUDE_DIR): New macro.
roland [Fri, 21 Apr 1995 17:18:23 +0000 (17:18 +0000)]
(STANDARD_INCLUDE_DIR): New macro.

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

29 years ago(STANDARD_INCLUDE_DIR): Macro moved to generic gnu.h.
roland [Fri, 21 Apr 1995 17:17:09 +0000 (17:17 +0000)]
(STANDARD_INCLUDE_DIR): Macro moved to generic gnu.h.

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

29 years ago(default_compilers): Pass -I to gnat1.
kenner [Fri, 21 Apr 1995 12:23:45 +0000 (12:23 +0000)]
(default_compilers): Pass -I to gnat1.

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

29 years ago(lang_options): Add -I for GNAT.
kenner [Fri, 21 Apr 1995 12:22:39 +0000 (12:22 +0000)]
(lang_options): Add -I for GNAT.

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

29 years ago(integer_all_onesp): Test to size of mode, not TYPE_PRECISION.
kenner [Fri, 21 Apr 1995 12:11:06 +0000 (12:11 +0000)]
(integer_all_onesp): Test to size of mode, not TYPE_PRECISION.

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

29 years ago(main): Turn on -fforce-mem for -O2.
kenner [Fri, 21 Apr 1995 12:08:07 +0000 (12:08 +0000)]
(main): Turn on -fforce-mem for -O2.

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

29 years ago([lr]rotate_double): Replace; old versions were bogus.
kenner [Fri, 21 Apr 1995 12:03:23 +0000 (12:03 +0000)]
([lr]rotate_double): Replace; old versions were bogus.
(fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer.
(fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR.
(fold, case RROTATE_EXPR): Sometimes commute logical op with rotate.
Delete pair of counteracting shifts.

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

29 years ago(simplify_logical, case AND): If still an AND, get new values for op0
kenner [Fri, 21 Apr 1995 11:57:42 +0000 (11:57 +0000)]
(simplify_logical, case AND): If still an AND, get new values for op0
and op1.

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

29 years agoCompletely rewritten.
wilson [Fri, 21 Apr 1995 01:19:27 +0000 (01:19 +0000)]
Completely rewritten.

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

29 years ago(FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT,
wilson [Fri, 21 Apr 1995 01:19:03 +0000 (01:19 +0000)]
(FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT,
TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete.
(TARGET_SWITCHES): Delete -mclen3 and -mclen0 options.
(TARGET_DEFAULT): Is zero.
(OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi.
(SPECIAL_REG): New macro.
(HARD_REGNO_MODE_OK): Allow any mode in any general register.
(GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case.
(MOVE_RATIO): Define to 2 when TARGET_SMALLCODE.
(max_si, max_hi, max_count_si, max_count_hi): Delete.

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

29 years agoDelete spurious constraints from all define_expands.
wilson [Fri, 21 Apr 1995 01:18:26 +0000 (01:18 +0000)]
Delete spurious constraints from all define_expands.
(rotlsi3_1): Set T reg instead of clobbering it.
(ashrsi3): Use expand_ashiftrt instead of gen_shifty_op.
(movsi_i, movhi_i, movsf_i): Add conditions to reject patterns
needing a reload.
(movdi-2, movdf_k): Correct conditions to reject patterns needing
a reload.
([inverse_]branch_{true,false}): Pass operands to output_branch.
(jump): Delete unnecessary braces.
(call, call_value): Don't use expand_acall.  Force operand0 into
a register.

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

29 years agoUse TREE_ADDRESSABLE rather than
merrill [Thu, 20 Apr 1995 22:26:30 +0000 (22:26 +0000)]
Use TREE_ADDRESSABLE rather than
|        TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be
|        passed by invisible reference.

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

29 years ago(TARGET_SWITCHES): Fix typo.
tege [Wed, 19 Apr 1995 21:49:24 +0000 (21:49 +0000)]
(TARGET_SWITCHES): Fix typo.

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

29 years ago66th Cygnus<->FSF merge
mrs [Wed, 19 Apr 1995 17:08:54 +0000 (17:08 +0000)]
66th Cygnus<->FSF merge

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

29 years ago(get_set_constructor_bytes): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN.
bothner [Wed, 19 Apr 1995 01:09:38 +0000 (01:09 +0000)]
(get_set_constructor_bytes):  Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN.

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