Jim Wilson [Thu, 3 Apr 1997 20:34:07 +0000 (12:34 -0800)]
(move_deaths): Handle partial REG_DEAD note for
multi-reg hard register.
From-SVN: r13836
Jim Wilson [Thu, 3 Apr 1997 20:26:33 +0000 (12:26 -0800)]
(expand_function_start): Emit queue after expanding
each dynamic parameter type.
From-SVN: r13835
Jim Wilson [Thu, 3 Apr 1997 20:18:13 +0000 (12:18 -0800)]
(mips_move_2words): Add SIGN_EXTEND support for SYMBOL_REF,
LABEL_REF, and CONST operands.
From-SVN: r13834
Jim Wilson [Thu, 3 Apr 1997 20:04:23 +0000 (12:04 -0800)]
Delete comment referring to README.DWARF.
From-SVN: r13833
Michael Meissner [Wed, 2 Apr 1997 22:26:01 +0000 (22:26 +0000)]
Fixes from wilson
From-SVN: r13832
Mike Stump [Wed, 2 Apr 1997 03:58:33 +0000 (03:58 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13831
Mike Stump [Wed, 2 Apr 1997 03:31:36 +0000 (03:31 +0000)]
libgcc2.c (find_exception_table): Fix to logic to deal with functions that are in their own section...
* libgcc2.c (find_exception_table): Fix to logic to deal with
functions that are in their own section, such as template
instantiations, that cause overlapping EH tables.
From-SVN: r13830
Jeff Law [Wed, 2 Apr 1997 03:07:22 +0000 (20:07 -0700)]
* Makefile.in (USER_H): Add va-mn10300.h
From-SVN: r13829
Jeff Law [Wed, 2 Apr 1997 01:34:17 +0000 (18:34 -0700)]
Initial revision
From-SVN: r13828
Jeff Law [Wed, 2 Apr 1997 01:33:45 +0000 (18:33 -0700)]
stdarg.h: Include va-mn10300.h.
* ginclude/stdarg.h: Include va-mn10300.h.
* ginclude/varargs.h: Likewise.
* ginclude/va-mn10300.h: New file.
* mn10300/mn10300.c (expand_prologue): If current_function_varargs is
nonzero, then flush d0/d1 back into the stack.
(mn10300_builtin_saveregs): New function.
(function_arg, function_arg_partial_nregs): New functions.
(initial_offset): Tweak now that the RP save area is allocated
and deallocated around each call again.
* mn10300/mn10300.h (FIRST_PARM_OFFSET): Now 4.
(FRAME_POINTER_REQUIRED): Require a frame pointer for all non-leaf
functions.
(REG_PARM_STACK_SPACE): Now 8 bytes.
(FUNCTION_ARG_REGNO_P): Update for new parameter passing conventions.
(CUMULATIVE_ARGS, INIT_CUMULATIVE_ARGS): Likewise.
(FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Likewise.
(FUNCTION_ARG_PARTIAL_NREGS): Likewise.
(TRAMPOLINE_TEMPLATE): Don't clobber d0 anymore.
(TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
(EXPAND_BUILTIN_SAVEREGS): Define.
* mn10300/mn10300.md (call, call_value patterns): Allocate and
deallocate a stack slot for the return pointer around each call.
* mn10300/mn10300.h (RTX_COSTS): Refine.
(CASE_VALUES_THRESHHOLD, NO_FUNCTION_CSE): Likewise.
* mn10300/mn10300.c (output_tst): New function.
* mn10300/mn10300.md (movdi, movdf): Improve code to load constants
into registers.
(tst insns): Use output_tst to optimize some cases. Add versions to
encourage more zero extensions instead of sign extensions of HImode
and QImode values.
(divsi3, udivsi3): Remove patterns. Replaced by...
(divmodsi4, udivmodsi4): New expanders/patterns.
(andsi3): Optimize "and" operations with certain constants.
From-SVN: r13827
Jeff Law [Tue, 1 Apr 1997 17:00:31 +0000 (10:00 -0700)]
Remove some out of date comments.
From-SVN: r13826
Joern Rennecke [Tue, 1 Apr 1997 14:13:57 +0000 (15:13 +0100)]
(ADJUST_COSTS): Define.
From-SVN: r13825
Doug Evans [Fri, 28 Mar 1997 22:43:13 +0000 (22:43 +0000)]
Initial revision
From-SVN: r13824
Doug Evans [Fri, 28 Mar 1997 22:40:07 +0000 (22:40 +0000)]
toplev.c (branch_prob_dump, [...]): New variables.
* toplev.c (branch_prob_dump, profile_arc_flag, flag_test_coverage,
flag_branch_probabilities, branch_prob_dump_file, branch_prob_time):
New variables.
(f_options): Add profile-arcs, test-coverage, and
branch-probabilities.
(compile_file): Set branch_prob_time. Pass flag_test_coverage to
init_emit_once. Handle branch_prob_dump. Call init_branch_prob.
Call end_branch_prob. Call output_func_start_profiler.
(rest_of_compilation): Handle branch_prob_dump. Call new
branch_prob pass.
(main): Set branch_prob_dump.
From-SVN: r13823
Doug Evans [Fri, 28 Mar 1997 22:39:39 +0000 (22:39 +0000)]
sched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB notes.
* sched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB
notes.
From-SVN: r13822
Doug Evans [Fri, 28 Mar 1997 22:39:20 +0000 (22:39 +0000)]
rtl.c (note_insn_name): Add NOTE_REPEATED_LINE_NUMBER.
* rtl.c (note_insn_name): Add NOTE_REPEATED_LINE_NUMBER.
(reg_note_name): Add REG_BR_PROB and REG_EXEC_COUNT.
From-SVN: r13821
Doug Evans [Fri, 28 Mar 1997 22:39:00 +0000 (22:39 +0000)]
rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
* rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
(REG_BR_PROB_BASE): Define.
(NOTE_REPEATED_LINE_NUMBER): Define.
From-SVN: r13820
Doug Evans [Fri, 28 Mar 1997 22:38:24 +0000 (22:38 +0000)]
reorg.c (mostly_true_jump): Use REG_BR_PROB notes when flag_branch_probabilities.
* reorg.c (mostly_true_jump): Use REG_BR_PROB notes when
flag_branch_probabilities.
From-SVN: r13819
Doug Evans [Fri, 28 Mar 1997 22:38:07 +0000 (22:38 +0000)]
* libgcc2.c (__bb_exit_func): Support gcov style output.
From-SVN: r13818
Doug Evans [Fri, 28 Mar 1997 22:37:37 +0000 (22:37 +0000)]
jump.c (jump_optimize, [...]): Disable some optimizations when flag_test_coverage and there is a line number...
* jump.c (jump_optimize, follow_jumps, mark_jump_label): Disable some
optimizations when flag_test_coverage and there is a line number note
in the way.
(invert_jump): Add REG_BR_PROB when flag_branch_probabililties.
From-SVN: r13817
Doug Evans [Fri, 28 Mar 1997 22:36:53 +0000 (22:36 +0000)]
integrate.c (expand_inline_function): Output NOTE_REPEATED_LINE_NUMBER after inlined call.
* integrate.c (expand_inline_function): Output
NOTE_REPEATED_LINE_NUMBER after inlined call.
From-SVN: r13816
Doug Evans [Fri, 28 Mar 1997 22:36:31 +0000 (22:36 +0000)]
function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER for last line of function.
* function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER
for last line of function.
From-SVN: r13815
Doug Evans [Fri, 28 Mar 1997 22:36:13 +0000 (22:36 +0000)]
flags.h (profile_arc_flag, [...]): Declare.
* flags.h (profile_arc_flag, flag_test_coverage,
flag_branch_probabilities): Declare.
From-SVN: r13814
Doug Evans [Fri, 28 Mar 1997 22:35:56 +0000 (22:35 +0000)]
final.c (LONG_TYPE_SIZE): Define.
* final.c (LONG_TYPE_SIZE): Define.
(count_instrumented_arcs): New variable.
(end_final, profile_after_prologue, leaf_function_p): Add support
for profile_arc_flag.
(add_bb): Only call CC_STATUS_INIT if HAVE_cc0.
From-SVN: r13813
Doug Evans [Fri, 28 Mar 1997 22:35:28 +0000 (22:35 +0000)]
* sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.
From-SVN: r13812
Doug Evans [Fri, 28 Mar 1997 22:34:53 +0000 (22:34 +0000)]
combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT REG_NOTES.
* combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT
REG_NOTES.
From-SVN: r13811
Doug Evans [Fri, 28 Mar 1997 22:34:21 +0000 (22:34 +0000)]
Makefile.in (LANGUAGES): Add gcov.
* Makefile.in (LANGUAGES): Add gcov.
(OBJS): Add profile.o.
(STAGESTUFF): Add gcov.
(profile.o, gcov.o, gcov): Add rules to build them.
(cpp.info, gcc.info, gcc.dvi): Add gcov.texi.
(install-common): Install gcov.
From-SVN: r13810
Doug Evans [Fri, 28 Mar 1997 22:32:02 +0000 (22:32 +0000)]
entered into RCS
From-SVN: r13809
Stan Cox [Thu, 27 Mar 1997 22:23:58 +0000 (22:23 +0000)]
(zero_extendhisi2+[12]): use true_regnum instead of REGN
From-SVN: r13808
Stan Cox [Thu, 27 Mar 1997 22:17:33 +0000 (22:17 +0000)]
(CPP_CPU_DEFAULT): Define if TARGET_CPU_DEFAULT is not set.
From-SVN: r13807
Paul Eggert [Wed, 26 Mar 1997 20:35:20 +0000 (20:35 +0000)]
Formerly cpp.texi.~29~
From-SVN: r13806
Ian Lance Taylor [Wed, 26 Mar 1997 17:35:01 +0000 (17:35 +0000)]
Add a CSE pass over the hard registers after reload is complete
From-SVN: r13805
Richard Kenner [Wed, 26 Mar 1997 12:34:03 +0000 (07:34 -0500)]
(__va_copy): New definition.
From-SVN: r13804
Michael Meissner [Tue, 25 Mar 1997 22:03:18 +0000 (22:03 +0000)]
Add %include, %include_noerr, %rename support to specs
From-SVN: r13803
Doug Evans [Tue, 25 Mar 1997 21:39:09 +0000 (21:39 +0000)]
* c-decl.c (grokdeclarator): Pedwarn qualified void function return type.
From-SVN: r13802
Richard Kenner [Tue, 25 Mar 1997 20:28:51 +0000 (15:28 -0500)]
(udivsi3): Fix hunk from previous patch that did not apply correctly.
From-SVN: r13801
Richard Kenner [Tue, 25 Mar 1997 20:24:20 +0000 (15:24 -0500)]
(ASM_RETURN_CASE_JUMP): Use extl to explicitly sign extend index
register on TARGET_5200.
From-SVN: r13800
Richard Kenner [Tue, 25 Mar 1997 20:20:06 +0000 (15:20 -0500)]
(tablejump): Use extl to explicitly sign extend index registern on
TARGET_5200.
From-SVN: r13799
Richard Kenner [Tue, 25 Mar 1997 19:50:42 +0000 (14:50 -0500)]
(mulsi3): Changed into define_expand.
(mulsi3): Changed into define_expand. Split insn into m68k and
coldfire specific versions with appropriate constraints.
From-SVN: r13798
Doug Evans [Tue, 25 Mar 1997 19:43:45 +0000 (19:43 +0000)]
expr.c (emit_push_insn): Delete emission of CLOBBER when doing partial push, no longer necessary.
* expr.c (emit_push_insn): Delete emission of CLOBBER
when doing partial push, no longer necessary.
From-SVN: r13797
Richard Kenner [Tue, 25 Mar 1997 19:36:28 +0000 (14:36 -0500)]
(movqi): Disable use of address registers for TARGET_5200.
From-SVN: r13796
Richard Kenner [Tue, 25 Mar 1997 19:27:59 +0000 (14:27 -0500)]
(find_dummy_reload): New parameter earlyclobber.
(find_dummy_reload): New parameter earlyclobber. If set then don't
use IN for the reload if it also appears elsewhere in the insn. All
callers changed.
From-SVN: r13795
Richard Kenner [Tue, 25 Mar 1997 19:26:08 +0000 (14:26 -0500)]
Initial revision
From-SVN: r13794
Richard Kenner [Tue, 25 Mar 1997 19:17:05 +0000 (14:17 -0500)]
(__modsi3, __umodsi3): Use mulsl instruction instead of __mulsi3
function call on the coldfire.
From-SVN: r13793
Richard Kenner [Tue, 25 Mar 1997 19:04:54 +0000 (14:04 -0500)]
Fix typo in comment.
From-SVN: r13792
Richard Kenner [Tue, 25 Mar 1997 19:01:08 +0000 (14:01 -0500)]
(bne0_di): Fix typo in last change.
From-SVN: r13791
Richard Kenner [Tue, 25 Mar 1997 18:24:02 +0000 (13:24 -0500)]
(xorsi3_5200): Correct constraints.
From-SVN: r13790
Richard Kenner [Tue, 25 Mar 1997 18:20:11 +0000 (13:20 -0500)]
(move{si,hi,qi,di}): Changed into define_expands.
(move{si,hi,qi,di}): Changed into define_expands. Split insns into
m68k and coldfire specific versions with appropriate constraints.
From-SVN: r13789
Richard Kenner [Tue, 25 Mar 1997 18:19:21 +0000 (13:19 -0500)]
(output_move_{si,hi,qi}mode): Declare.
From-SVN: r13788
Richard Kenner [Tue, 25 Mar 1997 18:18:54 +0000 (13:18 -0500)]
(output_move_{si,hi,qi}mode): New functions.
From-SVN: r13787
Richard Kenner [Tue, 25 Mar 1997 17:18:27 +0000 (12:18 -0500)]
(GCC_PASSES): Revert previous change; use cc1$(exeext).
From-SVN: r13786
Doug Evans [Mon, 24 Mar 1997 21:11:54 +0000 (21:11 +0000)]
Update copyright.
From-SVN: r13785
Doug Evans [Mon, 24 Mar 1997 21:11:18 +0000 (21:11 +0000)]
Add m32r support.
From-SVN: r13784
Michael Meissner [Mon, 24 Mar 1997 21:10:53 +0000 (21:10 +0000)]
Update rtems configuration
From-SVN: r13783
Doug Evans [Mon, 24 Mar 1997 20:53:34 +0000 (20:53 +0000)]
Formerly extend.texi.~113~
From-SVN: r13782
Doug Evans [Mon, 24 Mar 1997 20:38:28 +0000 (20:38 +0000)]
(m32r,mn10300): Add.
From-SVN: r13763
Doug Evans [Mon, 24 Mar 1997 20:15:16 +0000 (20:15 +0000)]
(USER_H): Add va-m32r.h.
From-SVN: r13762
Doug Evans [Mon, 24 Mar 1997 20:01:06 +0000 (20:01 +0000)]
Initial revision
From-SVN: r13761
Gavin Romig-Koch [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.
From-SVN: r13760
Paul Eggert [Fri, 21 Mar 1997 21:05:54 +0000 (21:05 +0000)]
Formerly cpp.texi.~28~
From-SVN: r13759
Jeff Law [Fri, 21 Mar 1997 17:24:18 +0000 (10:24 -0700)]
* mn10300/mn10300.c (print_operand): Handle 'N'.
From-SVN: r13758
Jeff Law [Fri, 21 Mar 1997 15:49:58 +0000 (08:49 -0700)]
mn10300.c (expand_epilogue): Correctly handle functions with large frames, but no callee register saves.
* mn10300/mn10300.c (expand_epilogue): Correctly handle functions
with large frames, but no callee register saves.
* mn10300/mn1300.md (movdf, movdi): Handle overlapping moves.
From-SVN: r13757
Jeff Law [Fri, 21 Mar 1997 07:55:35 +0000 (00:55 -0700)]
* pa/pa.c (compute_movstrsi_length): Handle residuals correctly.
From-SVN: r13756
Jeff Law [Thu, 20 Mar 1997 19:25:46 +0000 (12:25 -0700)]
mn10300.md (cmpsi): Handle comparing a register with itself by adding zero to the reg.
* 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.
From-SVN: r13755
Michael Meissner [Thu, 20 Mar 1997 19:02:29 +0000 (19:02 +0000)]
Patches from wilson; consider fp constants if -mrelocatable to be hard
From-SVN: r13754
Jeff Law [Thu, 20 Mar 1997 16:00:49 +0000 (09:00 -0700)]
pa.c (emit_move_sequence): Don't lose for a secondary reload to the SAR register if...
* 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.
From-SVN: r13753
Richard Kenner [Wed, 19 Mar 1997 22:19:27 +0000 (17:19 -0500)]
(do_error, do_warning): Fix memory leak.
From-SVN: r13752
Richard Kenner [Wed, 19 Mar 1997 22:15:42 +0000 (17:15 -0500)]
(output_line_directive): Do not output negative line numbers when
analyzing directives like `#line 0'.
From-SVN: r13751
Richard Kenner [Wed, 19 Mar 1997 22:10:39 +0000 (17:10 -0500)]
(ASM_OUTPUT_MI_THUNK): Define.
From-SVN: r13750
Richard Kenner [Wed, 19 Mar 1997 21:59:23 +0000 (16:59 -0500)]
(unsafe_chars): `p' is unsafe before `-' or `+', since it might generate a C9X-style hexadecimal floating-point number.
(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.
From-SVN: r13749
Richard Kenner [Wed, 19 Mar 1997 21:58:58 +0000 (16:58 -0500)]
(struct cpp_options): New member c89.
(CPP_C89): New macro.
From-SVN: r13748
Richard Kenner [Wed, 19 Mar 1997 21:58:28 +0000 (16:58 -0500)]
(c89): New decl.
(main): Set it to 1 if -lang-c89.
From-SVN: r13747
Richard Kenner [Wed, 19 Mar 1997 21:57:58 +0000 (16:57 -0500)]
(parse_number, yylex), cccp.c (rescan), cpplib.c
(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.
From-SVN: r13746
Richard Kenner [Wed, 19 Mar 1997 21:55:16 +0000 (16:55 -0500)]
Formerly cpp.texi.~27~
From-SVN: r13745
Jim Wilson [Tue, 18 Mar 1997 22:55:01 +0000 (14:55 -0800)]
(shorten_branches): Split all insns before computing insn lengths.
(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.
From-SVN: r13744
Jim Wilson [Tue, 18 Mar 1997 22:25:56 +0000 (14:25 -0800)]
(emit_group_load): Call operand_subword instead of creating
an explicit SUBREG.
From-SVN: r13743
Jim Wilson [Tue, 18 Mar 1997 22:10:38 +0000 (14:10 -0800)]
(reload_reg_free_before_p, case
RELOAD_FOR_OPERAND_ADDRESS): Conflicts with RELOAD_FOR_OPADDR_ADDR
reloads.
From-SVN: r13742
Stan Cox [Tue, 18 Mar 1997 22:04:32 +0000 (22:04 +0000)]
Support stabs and section attribute
From-SVN: r13741
Stan Cox [Tue, 18 Mar 1997 22:03:31 +0000 (22:03 +0000)]
Remove TARGET_CPU_DEFAULT reference.
From-SVN: r13740
Stan Cox [Tue, 18 Mar 1997 22:02:36 +0000 (22:02 +0000)]
(override_options) Make the default alignment 4 for 486
From-SVN: r13739
Stan Cox [Tue, 18 Mar 1997 22:01:28 +0000 (22:01 +0000)]
(STACK_BOUNDARY): Determine according to TARGET_ALIGN_DOUBLE
From-SVN: r13738
Jim Wilson [Tue, 18 Mar 1997 21:19:22 +0000 (13:19 -0800)]
(init_spec): Delete parameter. Always initialize extra_specs.
(process_command, main): Change all callers.
From-SVN: r13737
Jim Wilson [Tue, 18 Mar 1997 21:10:44 +0000 (13:10 -0800)]
(if_then_else_cond): Call copy_rtx to prevent sharing.
From-SVN: r13736
Ian Lance Taylor [Tue, 18 Mar 1997 20:00:38 +0000 (20:00 +0000)]
Update REG_EQUIV comment for assign_parms change
From-SVN: r13735
Ian Lance Taylor [Tue, 18 Mar 1997 20:00:01 +0000 (20:00 +0000)]
Add a REG_EQUIV note when a register parameter has a stack location
From-SVN: r13734
Doug Evans [Tue, 18 Mar 1997 19:30:43 +0000 (19:30 +0000)]
Initial revision
From-SVN: r13733
Doug Evans [Tue, 18 Mar 1997 19:30:01 +0000 (19:30 +0000)]
(LIB_SPEC): -lprof1 requires -lpdf for OSF4.
From-SVN: r13732
Jeff Law [Tue, 18 Mar 1997 18:38:59 +0000 (11:38 -0700)]
m68k.c (m68k_last_compare_had_fp_operands): New variable.
* 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.
From-SVN: r13731
Richard Earnshaw [Tue, 18 Mar 1997 09:28:41 +0000 (09:28 +0000)]
(movhi): Handle generation of large constants during
and after reload.
From-SVN: r13730
Richard Kenner [Mon, 17 Mar 1997 22:30:17 +0000 (17:30 -0500)]
(RETURN_POPS_ARGS): Make sure FUDECL is non-nil before we try to use it.
From-SVN: r13729
Richard Kenner [Mon, 17 Mar 1997 22:21:25 +0000 (17:21 -0500)]
(beq0_di, bne0_di, bge0_di, blt0_di): Use cmpw #0 instead of tstl when
testing address registers on the 68000.
From-SVN: r13728
Richard Kenner [Mon, 17 Mar 1997 22:13:37 +0000 (17:13 -0500)]
(layout_record...
(layout_record, PCC_BITFIELD_TYPE_MATTERS): Only add padding if a bit
field would otherwise span more units of alignment than its base type.
From-SVN: r13727
Richard Kenner [Mon, 17 Mar 1997 22:08:27 +0000 (17:08 -0500)]
(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.
From-SVN: r13726
Richard Kenner [Mon, 17 Mar 1997 22:07:46 +0000 (17:07 -0500)]
(parse_number): Invalid integer constants are errors if pedantic.
(yylex): Invalid multibyte characters are errors if pedantic.
From-SVN: r13725
Richard Kenner [Mon, 17 Mar 1997 22:03:45 +0000 (17:03 -0500)]
Fix prologues/epilogues to deal with the lack of predecrement/postincrement...
Fix prologues/epilogues to deal with the lack of
predecrement/postincrement addressing modes in the coldfire moveml
instruction.
From-SVN: r13724
Richard Kenner [Mon, 17 Mar 1997 22:00:10 +0000 (17:00 -0500)]
(__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.
From-SVN: r13723
Richard Kenner [Mon, 17 Mar 1997 21:29:33 +0000 (16:29 -0500)]
(build_{index,range}_type): Ensure expressions for min and max value
are in same obstack as type.
From-SVN: r13722
Richard Kenner [Mon, 17 Mar 1997 20:44:06 +0000 (15:44 -0500)]
[#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.
From-SVN: r13721
Richard Kenner [Mon, 17 Mar 1997 18:46:42 +0000 (13:46 -0500)]
(expr_no_commas): Do not store temporary skip_evaluation increments on yacc value stack...
(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.
From-SVN: r13720
Richard Kenner [Mon, 17 Mar 1997 12:08:47 +0000 (07:08 -0500)]
(INCLUDE_DEFAULTS): Define to something useful when cross-compiling.
From-SVN: r13719