OSDN Git Service
dje [Mon, 24 Mar 1997 20:15:16 +0000 (20:15 +0000)]
(USER_H): Add va-m32r.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13762
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 24 Mar 1997 20:01:06 +0000 (20:01 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13761
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Mon, 24 Mar 1997 19:22:33 +0000 (19:22 +0000)]
(va_arg): For little endian, eabi, objects
less than __va_reg_size are passed in registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13760
138bc75d-0d04-0410-961f-
82ee72b054a4
eggert [Fri, 21 Mar 1997 21:05:54 +0000 (21:05 +0000)]
Formerly cpp.texi.~28~
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13759
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Mar 1997 17:24:18 +0000 (17:24 +0000)]
* mn10300/mn10300.c (print_operand): Handle 'N'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13758
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Mar 1997 15:49:58 +0000 (15:49 +0000)]
* mn10300/mn10300.c (expand_epilogue): Correctly handle functions
with large frames, but no callee register saves.
* mn10300/mn1300.md (movdf, movdi): Handle overlapping moves.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13757
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Mar 1997 07:55:35 +0000 (07:55 +0000)]
* pa/pa.c (compute_movstrsi_length): Handle residuals correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13756
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Mar 1997 19:25:46 +0000 (19:25 +0000)]
* mn10300/mn10300.md (cmpsi): Handle comparing a register with
itself by adding zero to the reg. Z bit for such an insn is
inverted.
* mn10300/mn10300.c (notice_update_cc): Handle CC_INVERT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13755
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 20 Mar 1997 19:02:29 +0000 (19:02 +0000)]
Patches from wilson; consider fp constants if -mrelocatable to be hard
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13754
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Mar 1997 16:00:49 +0000 (16:00 +0000)]
* pa/pa.c (emit_move_sequence): Don't lose for a secondary reload
to the SAR register if the input is a MEM with an offset that won't
fit in 14bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13753
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 22:19:27 +0000 (22:19 +0000)]
(do_error, do_warning): Fix memory leak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13752
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 22:15:42 +0000 (22:15 +0000)]
(output_line_directive): Do not output negative line numbers when
analyzing directives like `#line 0'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13751
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 22:10:39 +0000 (22:10 +0000)]
(ASM_OUTPUT_MI_THUNK): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13750
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 21:59:23 +0000 (21:59 +0000)]
(unsafe_chars): `p' is unsafe before `-' or `+', since it
might generate a C9X-style hexadecimal floating-point number.
(cpp_handle_options): Set c89 option to 1 if -lang-c89.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13749
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 21:58:58 +0000 (21:58 +0000)]
(struct cpp_options): New member c89.
(CPP_C89): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13748
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 21:58:28 +0000 (21:58 +0000)]
(c89): New decl.
(main): Set it to 1 if -lang-c89.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13747
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 21:57:58 +0000 (21:57 +0000)]
(parse_number, yylex), cccp.c (rescan), cpplib.c
(cpp_get_token): Unless -lang-c89 is specified, allow C9X-style
hexadecimal floating-point numbers as preprocessor numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13746
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Mar 1997 21:55:16 +0000 (21:55 +0000)]
Formerly cpp.texi.~27~
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13745
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 18 Mar 1997 22:55:01 +0000 (22:55 +0000)]
(shorten_branches): Split all insns before computing insn
lengths.
(final_scan_insn, case default): If HAVE_ATTR_length defined, call
abort for any insn that has a '#' output template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13744
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 18 Mar 1997 22:25:56 +0000 (22:25 +0000)]
(emit_group_load): Call operand_subword instead of creating
an explicit SUBREG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13743
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 18 Mar 1997 22:10:38 +0000 (22:10 +0000)]
(reload_reg_free_before_p, case
RELOAD_FOR_OPERAND_ADDRESS): Conflicts with RELOAD_FOR_OPADDR_ADDR
reloads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13742
138bc75d-0d04-0410-961f-
82ee72b054a4
coxs [Tue, 18 Mar 1997 22:04:32 +0000 (22:04 +0000)]
Support stabs and section attribute
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13741
138bc75d-0d04-0410-961f-
82ee72b054a4
coxs [Tue, 18 Mar 1997 22:03:31 +0000 (22:03 +0000)]
Remove TARGET_CPU_DEFAULT reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13740
138bc75d-0d04-0410-961f-
82ee72b054a4
coxs [Tue, 18 Mar 1997 22:02:36 +0000 (22:02 +0000)]
(override_options) Make the default alignment 4 for 486
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13739
138bc75d-0d04-0410-961f-
82ee72b054a4
coxs [Tue, 18 Mar 1997 22:01:28 +0000 (22:01 +0000)]
(STACK_BOUNDARY): Determine according to TARGET_ALIGN_DOUBLE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13738
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 18 Mar 1997 21:19:22 +0000 (21:19 +0000)]
(init_spec): Delete parameter. Always initialize extra_specs.
(process_command, main): Change all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13737
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 18 Mar 1997 21:10:44 +0000 (21:10 +0000)]
(if_then_else_cond): Call copy_rtx to prevent sharing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13736
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 18 Mar 1997 20:00:38 +0000 (20:00 +0000)]
Update REG_EQUIV comment for assign_parms change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13735
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 18 Mar 1997 20:00:01 +0000 (20:00 +0000)]
Add a REG_EQUIV note when a register parameter has a stack location
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13734
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 18 Mar 1997 19:30:43 +0000 (19:30 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13733
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 18 Mar 1997 19:30:01 +0000 (19:30 +0000)]
(LIB_SPEC): -lprof1 requires -lpdf for OSF4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13732
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 18 Mar 1997 18:38:59 +0000 (18:38 +0000)]
* m68k/m68k.c (m68k_last_compare_had_fp_operands): New variable.
* m68k/m68k.h (m68k_last_compare_had_fp_operands): Declare it.
* m68k/m68k.md (tst*, cmp*): Turn all of these into
define_expand/define_insn pairs. Keep track of whether or not
the test/compare has fp operands.
(seq, sne, sgt, slt, sge, sle): Turn these into
define_expand/define_insn pairs. Make the expanders FAIL if
TARGET_68060 and the last comparison/test had fp operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13731
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Tue, 18 Mar 1997 09:28:41 +0000 (09:28 +0000)]
(movhi): Handle generation of large constants during
and after reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13730
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:30:17 +0000 (22:30 +0000)]
(RETURN_POPS_ARGS): Make sure FUDECL is non-nil before we try to use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13729
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:21:25 +0000 (22:21 +0000)]
(beq0_di, bne0_di, bge0_di, blt0_di): Use cmpw #0 instead of tstl when
testing address registers on the 68000.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13728
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:13:37 +0000 (22:13 +0000)]
(layout_record, PCC_BITFIELD_TYPE_MATTERS): Only add padding if a bit
field would otherwise span more units of alignment than its base type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13727
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:08:27 +0000 (22:08 +0000)]
(parse_number): Invalid integer constants are errors if pedantic.
(cpp_lex): Invalid multibyte characters are errors if pedantic.
(cpp_parse_escape): Character constants that do not fit are errors if pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13726
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:07:46 +0000 (22:07 +0000)]
(parse_number): Invalid integer constants are errors if pedantic.
(yylex): Invalid multibyte characters are errors if pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13725
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:03:45 +0000 (22:03 +0000)]
Fix prologues/epilogues to deal with the lack of
predecrement/postincrement addressing modes in the coldfire moveml
instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13724
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 22:00:10 +0000 (22:00 +0000)]
(__objc_block_return): Remove function.
(__objc_word_return, __objc_double_return): Remove functions.
(__objc_get_forward_imp): New function.
(__objc_init_dispatch_tables): Install zero instead of
__objc_init_install_dtable.
(__objc_init_install_dtable): No longer call the method but
allow objc_msg_lookup return it for normal execution.
(obj_msg_lookup): Differentiate between when a method isn't
implemented and when the dispatch table needs to be installed.
Return the IMP when the dispatch table is installed versus
having __objc_init_install_dtable call it.
(get_imp): Install dispatch table if needed and return IMP
from the newly installed dispatch table.
(__objc_responds_to): Install dispatch table if needed before
checking if method is implemented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13723
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 21:29:33 +0000 (21:29 +0000)]
(build_{index,range}_type): Ensure expressions for min and max value
are in same obstack as type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13722
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 20:44:06 +0000 (20:44 +0000)]
[#if VMS] (O_RDONLY, O_WRONLY): Delete (redundant).
(BSTRING): Delete (obsolete; usage occurs prior to definition).
(do_include): Handle old VAX C style includes better.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13721
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 18:46:42 +0000 (18:46 +0000)]
(expr_no_commas): Do not store temporary skip_evaluation increments on
yacc value stack; the code was buggy and occasionally wrote past the
end of the stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13720
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 12:08:47 +0000 (12:08 +0000)]
(INCLUDE_DEFAULTS): Define to something useful when cross-compiling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13719
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 17 Mar 1997 00:54:36 +0000 (00:54 +0000)]
(expand_expr, case PLACEHOLDER_EXPR): Refine which object is picked.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13718
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 16 Mar 1997 22:50:56 +0000 (22:50 +0000)]
* loop.c (strength_reduce): Adjust BENEFIT appropriately if an
autoincrement memory reference will eliminate add insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13717
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 16 Mar 1997 13:41:08 +0000 (13:41 +0000)]
Correct include path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13716
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 16 Mar 1997 13:40:47 +0000 (13:40 +0000)]
(__objc_block_return): New function.
(__objc_word_return, __objc_double_return): New functions.
(__objc_init_install_dtable): Call appropriate return function
based upon method type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13715
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 16 Mar 1997 13:40:23 +0000 (13:40 +0000)]
(untyped_call): Re-enable code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13714
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:57:55 +0000 (12:57 +0000)]
(objc_module): Eliminate statics variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13713
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:57:36 +0000 (12:57 +0000)]
(OBJC_O): Add linking.m.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13712
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:57:06 +0000 (12:57 +0000)]
(class_add_method_list): Check for the +load method when adding a
methods list to a class.
(__objc_install_methods_in_dtable): New function.
(class_add_method_list): Don't check anymore for duplicate methods.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13711
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:56:24 +0000 (12:56 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13710
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:56:13 +0000 (12:56 +0000)]
(OBJC_VERSION): Increment version.
(objc_send_load, __objc_send_load): New functions.
(__objc_send_message_in_list): New function.
(__objc_force_linking): New function.
(__objc_exec_class): Don't call _objc_load_callback here.
(__objc_exec_class): Access statics from their new place in the defs variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13709
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:53:30 +0000 (12:53 +0000)]
(OBJC_VERSION): Increment version as recent changes have made old
compiled code incompatible with current ObjC runtime.
(build_objc_symtab_template): Make sure defs in objc_symtab is a NULL
terminated array.
(init_def_list): Attach statics to end of def list.
(init_objc_symtab): Take statics list into account.
(init_module_descriptor, build_module_descriptor): Don't add statics.
(generate_static_references): Indicate that statics are used.
(finish_objc): Process statics in the beginning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13708
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:29:05 +0000 (12:29 +0000)]
(reload.o): Added expr.h to dependencies list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13707
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:28:39 +0000 (12:28 +0000)]
Include expr.h.
(find_reloads_address, find_reloads_address_1): New argument INSN.
(find_reloads_address_1): Reload inside of p{re,ost}_{in,de}c
instead of entire p{re,ost}_{in,de}c where appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13706
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:17:02 +0000 (12:17 +0000)]
Change all calls to eliminate_regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13705
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:14:27 +0000 (12:14 +0000)]
(eliminate_regs): Add STORING arg.
(eliminate_regs, case SET): Pass that we are storing to recursive call.
(eliminate_regs, case SUBREG): If storing and same number of words, use
larger mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13704
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 15 Mar 1997 12:11:34 +0000 (12:11 +0000)]
(eliminate_regs): Add STORING arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13703
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 14 Mar 1997 19:20:53 +0000 (19:20 +0000)]
Add prototypes, remove unsed cplus_match, make mystrstr static
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13702
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 14 Mar 1997 17:32:36 +0000 (17:32 +0000)]
* mn10300/mn10300.c (const_costs): Remove unused function.
* mn10300/mn10300.h (CONST_COSTS): Rework to generate better code.
* mn10300/mn10300.c (print_operand): Handle 'H' and 'L' output
modifers for high/low part of a 64bit value.
* mn10300/mn10300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Handle 'G'
(LEGITIMATE_CONSTANT_P): Allow any constant.
* mn10300/mn10300.md (movdi, movdf): Implement.
(adddi3, subdi3): New expanders and patterns.
* mn10300/mn10300.c (print_operand): Handle 'A' modifier for an
address which can't be simple register indirect.
* mn10300/mn10300.h (EXTRA_CONSTRAINT): Handle 'R' for bit ops.
* mn10300/mn10300.md: Add several patterns to test, set and clear
bitfields.
* mn10300/mn10300.c (can_use_return_insn): New function.
(expand_epilogue): Emit a RETURN insn if possible.
* mn10300/mn10300.md (return): New pattern.
* mn10300/mn10300.h (CONST_OK_FOR_LETTER_P): Handle 'N'.
* mn10300/mn10300.md (andsi3): Catch "and 255,dn" and "and 65535,dn"
which were not turned into zero_extend patterns.
* mn10300/mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Handle symbolic
constant as an index/base too.
* mn10300/mn10300.md (movsi): Allow SP to be loaded/saved with
reg+d8 addresses.
* mn10300/mn10300.md (cmpsi): Allow second operand to be a constant.
(subsi3): Likewise.
* mn10300/mn10300.md (sign extension patterns): Fix thinko when
extending from memory.
* mn10300/mn10300.md (tst peepholes): Add peepholes for test/branch
based on N bit being set/clear and the data value being tested dies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13701
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 12 Mar 1997 00:25:59 +0000 (00:25 +0000)]
* mn10300/mn10300.c (expand_prologue): Rework so that eliminating
the frame pointer produces faster/smaller code.
(expand_epilogue): Likewise.
(initial_offset): New function for argument pointer and frame pointer
elimination.
* mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Bump to 10.
(FIXED_REGISTERS): Add argument pointer register, it's a fake fixed
register.
(CALL_USED_REGISTERS, REG_ALLOC_ORDER): Corresponding changes.
(REGNO_REG_CLASS, REG_CLASS_CONTENTS): Likewise.
(REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
(reg_class, REG_CLASS_NAMES): Delete unwanted DATA_OR_SP_REGS class.
(PREFERRED_OUTPUT_RELOAD_CLASS): Define.
(FIRST_PARM_OFFSET): No longer include register save area in
computation.
(STACK_POINTER_REGNUM): Is now register 9.
(ARG_POINTER_REGNUM): Is now register 8.
(FRAME_POINTER_REQUIRED): Refine.
(ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Define.
(CAN_DEUG_WITHOUT_FP): Define.
* mn10300/mn10300.md (return_internal): Break into two patterns.
* mn10300/mn10300.h (CONST_OK_FOR_LETTER_P): Handle 'M' too.
(REGISTER_MOVE_COST): Fix errors and refine.
* mn10300/mn10300.c (notice_update_cc): SET_ZN_C0 insns leave the
overflow bit in an unuseable state. Rename CC_SET to CC_TST.
* mn10300/mn10300.md (cc attributes): "set" is gone, replaced by
"tst". Update attributes on various insns.
* mn10300/mn10300.md: Improve sign and zero extension instructions.
(ashlsi3): Improve. Handle address registers too.
(add peephole): Combine two consecutive adjustments of a register
into a single adjustment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13700
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 11 Mar 1997 22:18:56 +0000 (22:18 +0000)]
* cplus-dem.c (gnu_special): Call demangled_fund_type for other
__t* symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13699
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Mar 1997 21:10:20 +0000 (21:10 +0000)]
(simplify_rtx, case SUBREG): Fix direction of test when calling
operand_subword; use inline code intead of subreg_lowpart_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13698
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Mar 1997 21:09:55 +0000 (21:09 +0000)]
(subreg_lowpart_p): Return 0 if SUBREG_REG is VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13697
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 7 Mar 1997 16:42:33 +0000 (16:42 +0000)]
* mn10300/mn10300.c (expand_prologue): Rework to avoid unnecessary
"add" operations.
(expand_epilogue): Likewise.
* mn10300/mn10300.h (STARTING_FRAME_OFFSET): Is zero after the last
round of prologue/epilogue changes.
(FIRST_PARM_OFFSET): Is now 16 (-4 for REG_PARM_STACK_SPACE + 20 for
register save area).
(REG_PARM_STACK_SPACE): Define as 4 bytes.
(OUTGOING_REG_PARM_STACK_SPACE): Define so caller allocates it.
* mn10300/mn10300.md (call expander): Don't emit insns to adjust the
stack here anymore.
(call_value expander): Likewise.
* mn10300/mn10300.md (bCC patterns): Just use "bCC target" now that
the assembler handles relaxing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13696
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 6 Mar 1997 22:28:22 +0000 (22:28 +0000)]
Do not emit USE on a LABEL_REF
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13695
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 6 Mar 1997 21:32:43 +0000 (21:32 +0000)]
(modified_type_die): Initialize item_type to NULL.
Move equate_type_number_to_die call before use of sub_die, and move
recursive modified_type_die calls on item_type after it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13694
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 6 Mar 1997 21:28:31 +0000 (21:28 +0000)]
(root_type_1, write_modifier_bytes_1): New functions.
(root_type): Call root_type_1.
(write_modifier_bytes): Call write_modifier_bytes_1.
(output_type, case POINTER_TYPE): Set TREE_ASM_WRITTEN before
recursive call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13693
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 5 Mar 1997 19:29:31 +0000 (19:29 +0000)]
(complemented_arith_operand): Delete function.
(print_operand): Don't handle `e' for CONST_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13692
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 5 Mar 1997 19:24:16 +0000 (19:24 +0000)]
(*norsi3_const, *nordi3_const): Delete bogus patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13691
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 5 Mar 1997 19:23:15 +0000 (19:23 +0000)]
(PREDICATE_CODES): Delete complemented_arith_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13690
138bc75d-0d04-0410-961f-
82ee72b054a4
coxs [Tue, 4 Mar 1997 21:43:13 +0000 (21:43 +0000)]
Make sure FUNDECL is non-nil before we try to use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13689
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 4 Mar 1997 01:16:38 +0000 (01:16 +0000)]
__mips_single_float should have
the same effect on vararg lists as __mips_soft_float.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13688
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 3 Mar 1997 23:13:39 +0000 (23:13 +0000)]
Remove last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13687
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Mar 1997 20:12:07 +0000 (20:12 +0000)]
* combine.c (simplify_rtx): Do nothing with (truncate:mode) if
mode is a partial integer mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13686
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Mar 1997 22:41:16 +0000 (22:41 +0000)]
Add definition of __va_copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13685
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Mar 1997 18:25:40 +0000 (18:25 +0000)]
(process_init_element): Warn and truncate if upper bound of index is
out of range.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13684
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 28 Feb 1997 23:01:16 +0000 (23:01 +0000)]
Prevent compiler error
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13683
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 28 Feb 1997 21:14:42 +0000 (21:14 +0000)]
Fix uses of -mno-fp-in-toc and -mrelocatable
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13682
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 27 Feb 1997 22:56:43 +0000 (22:56 +0000)]
Fix sed expression which looks for <sys/types.h> in <pwd.h>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13681
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 27 Feb 1997 17:12:40 +0000 (17:12 +0000)]
Remove more cases of __const__ from math.h for NeXT
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13680
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 27 Feb 1997 01:54:51 +0000 (01:54 +0000)]
Set DBX_CONTIN_LENGTH
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13679
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 27 Feb 1997 00:35:52 +0000 (00:35 +0000)]
Make fprintf calls type correct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13678
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 26 Feb 1997 19:51:24 +0000 (19:51 +0000)]
Remove bogus argument to fprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13677
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Mon, 24 Feb 1997 23:29:09 +0000 (23:29 +0000)]
* fixincludes: Fix need of prototypes for C++ in rpc/xdr.h on SunOS4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13676
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 24 Feb 1997 22:41:37 +0000 (22:41 +0000)]
Define HAVE_STRERROR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13675
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sun, 23 Feb 1997 22:17:29 +0000 (22:17 +0000)]
(floatsidf2_loadaddr): Correct syntax for cau instruction.
(load_multiple, store_multiple): Call change_address
instead of creating MEM from scratch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13674
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 21 Feb 1997 20:28:30 +0000 (20:28 +0000)]
90th Cygnus<->FSF quick merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13673
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 20 Feb 1997 21:43:33 +0000 (21:43 +0000)]
(unroll_loop): Add check for naive loop that ends with
conditional branch that does not branch back to loop start.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13672
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 20 Feb 1997 21:37:59 +0000 (21:37 +0000)]
(reload): Move assign_stack_local call into main loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13671
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Feb 1997 18:44:54 +0000 (18:44 +0000)]
* pa/pa.md (zero extension patterns): Turn into a define_expand and
define_insn pair.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13670
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Feb 1997 01:14:34 +0000 (01:14 +0000)]
* pa/pa.c (emit_move_sequence): Don't copy 0.0 (double precision)
directly to memory, go through a reg if reload hasn't started.
* pa/pa.md (main movdf pattern): Don't allow 0.0 (double precision)
to be copied directly to memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13669
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Feb 1997 00:22:10 +0000 (00:22 +0000)]
* pa/pa-hpux10.h (MD_EXEC_PREFIX): Define appropriately for hpux10.
(MD_STARTFILE_PREFIX): Similarly.
* pa/pa.c (return_addr_rtx): Add some comments about cases it
doesn't handle correctly.
* pa/pa.h (ASM_OUTPUT_SECTION_NAME): Surround the section name
with '$' if not using GAS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13668
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Feb 1997 00:13:15 +0000 (00:13 +0000)]
* pa/pa-hpux10.h (MD_EXEC_PREFIX): Define appropriately for hpux10.
(MD_STARTFILE_PREFIX): Similarly.
* pa/pa.c (return_addr_rtx): Add some comments about cases it
doesn't handle correctly.
* pa/pa.h (ASM_OUTPUT_SECTION_NAME): Surround the section name
with '$' if not using GAS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13667
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 19 Feb 1997 21:42:25 +0000 (21:42 +0000)]
(schedule_insns): If there was no first scheduling pass,
split instructions after reload.
(update_flow_info): Tolerate some idiosyncrasies after reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13666
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 Feb 1997 18:18:06 +0000 (18:18 +0000)]
* combine.c (find_split_point): Don't turn a SIGN_EXTEND into
a series of shifts if either mode is a partial integer mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13665
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 19 Feb 1997 00:40:42 +0000 (00:40 +0000)]
* reload1.c (eliminate_regs, case MINUS): Canonicalize
(minus (plus reg const) reg) to (plus (minus reg reg) const).
Back out this patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13664
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 19 Feb 1997 00:39:39 +0000 (00:39 +0000)]
* reload.c (find_reloads_address): Treat (plus (minus reg reg) const)
the same as (plus (plus reg reg) const).
Back out this patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13663
138bc75d-0d04-0410-961f-
82ee72b054a4