gcc.git
27 years agoFixes from wilson
Michael Meissner [Wed, 2 Apr 1997 22:26:01 +0000 (22:26 +0000)]
Fixes from wilson

From-SVN: r13832

27 years ago90th Cygnus<->FSF quick merge
Mike Stump [Wed, 2 Apr 1997 03:58:33 +0000 (03:58 +0000)]
90th Cygnus<->FSF quick merge

From-SVN: r13831

27 years agolibgcc2.c (find_exception_table): Fix to logic to deal with functions that are in...
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

27 years ago* Makefile.in (USER_H): Add va-mn10300.h
Jeff Law [Wed, 2 Apr 1997 03:07:22 +0000 (20:07 -0700)]
* Makefile.in (USER_H): Add va-mn10300.h

From-SVN: r13829

27 years agoInitial revision
Jeff Law [Wed, 2 Apr 1997 01:34:17 +0000 (18:34 -0700)]
Initial revision

From-SVN: r13828

27 years agostdarg.h: Include va-mn10300.h.
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

27 years agoRemove some out of date comments.
Jeff Law [Tue, 1 Apr 1997 17:00:31 +0000 (10:00 -0700)]
Remove some out of date comments.

From-SVN: r13826

27 years ago(ADJUST_COSTS): Define.
Joern Rennecke [Tue, 1 Apr 1997 14:13:57 +0000 (15:13 +0100)]
(ADJUST_COSTS): Define.

From-SVN: r13825

27 years agoInitial revision
Doug Evans [Fri, 28 Mar 1997 22:43:13 +0000 (22:43 +0000)]
Initial revision

From-SVN: r13824

27 years agotoplev.c (branch_prob_dump, [...]): New variables.
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

27 years agosched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB notes.
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

27 years agortl.c (note_insn_name): Add NOTE_REPEATED_LINE_NUMBER.
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

27 years agortl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
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

27 years agoreorg.c (mostly_true_jump): Use REG_BR_PROB notes when flag_branch_probabilities.
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

27 years ago* libgcc2.c (__bb_exit_func): Support gcov style output.
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

27 years agojump.c (jump_optimize, [...]): Disable some optimizations when flag_test_coverage...
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

27 years agointegrate.c (expand_inline_function): Output NOTE_REPEATED_LINE_NUMBER after inlined...
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

27 years agofunction.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER for last line...
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

27 years agoflags.h (profile_arc_flag, [...]): Declare.
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

27 years agofinal.c (LONG_TYPE_SIZE): Define.
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

27 years ago* sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.
Doug Evans [Fri, 28 Mar 1997 22:35:28 +0000 (22:35 +0000)]
* sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.

From-SVN: r13812

27 years agocombine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT REG_NOTES.
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

27 years agoMakefile.in (LANGUAGES): Add gcov.
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

27 years agoentered into RCS
Doug Evans [Fri, 28 Mar 1997 22:32:02 +0000 (22:32 +0000)]
entered into RCS

From-SVN: r13809

27 years ago(zero_extendhisi2+[12]): use true_regnum instead of REGN
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

27 years ago(CPP_CPU_DEFAULT): Define if TARGET_CPU_DEFAULT is not set.
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

27 years agoFormerly cpp.texi.~29~
Paul Eggert [Wed, 26 Mar 1997 20:35:20 +0000 (20:35 +0000)]
Formerly cpp.texi.~29~

From-SVN: r13806

27 years agoAdd a CSE pass over the hard registers after reload is complete
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

27 years ago(__va_copy): New definition.
Richard Kenner [Wed, 26 Mar 1997 12:34:03 +0000 (07:34 -0500)]
(__va_copy): New definition.

From-SVN: r13804

27 years agoAdd %include, %include_noerr, %rename support to specs
Michael Meissner [Tue, 25 Mar 1997 22:03:18 +0000 (22:03 +0000)]
Add %include, %include_noerr, %rename support to specs

From-SVN: r13803

27 years ago* c-decl.c (grokdeclarator): Pedwarn qualified void function return type.
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

27 years ago(udivsi3): Fix hunk from previous patch that did not apply correctly.
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

27 years ago(ASM_RETURN_CASE_JUMP): Use extl to explicitly sign extend index
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

27 years ago(tablejump): Use extl to explicitly sign extend index registern on
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

27 years ago(mulsi3): Changed into define_expand.
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

27 years agoexpr.c (emit_push_insn): Delete emission of CLOBBER when doing partial push, no longe...
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

27 years ago(movqi): Disable use of address registers for TARGET_5200.
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

27 years ago(find_dummy_reload): New parameter earlyclobber.
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

27 years agoInitial revision
Richard Kenner [Tue, 25 Mar 1997 19:26:08 +0000 (14:26 -0500)]
Initial revision

From-SVN: r13794

27 years ago(__modsi3, __umodsi3): Use mulsl instruction instead of __mulsi3
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

27 years agoFix typo in comment.
Richard Kenner [Tue, 25 Mar 1997 19:04:54 +0000 (14:04 -0500)]
Fix typo in comment.

From-SVN: r13792

27 years ago(bne0_di): Fix typo in last change.
Richard Kenner [Tue, 25 Mar 1997 19:01:08 +0000 (14:01 -0500)]
(bne0_di): Fix typo in last change.

From-SVN: r13791

27 years ago(xorsi3_5200): Correct constraints.
Richard Kenner [Tue, 25 Mar 1997 18:24:02 +0000 (13:24 -0500)]
(xorsi3_5200): Correct constraints.

From-SVN: r13790

27 years ago(move{si,hi,qi,di}): Changed into define_expands.
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

27 years ago(output_move_{si,hi,qi}mode): Declare.
Richard Kenner [Tue, 25 Mar 1997 18:19:21 +0000 (13:19 -0500)]
(output_move_{si,hi,qi}mode): Declare.

From-SVN: r13788

27 years ago(output_move_{si,hi,qi}mode): New functions.
Richard Kenner [Tue, 25 Mar 1997 18:18:54 +0000 (13:18 -0500)]
(output_move_{si,hi,qi}mode): New functions.

From-SVN: r13787

27 years ago(GCC_PASSES): Revert previous change; use cc1$(exeext).
Richard Kenner [Tue, 25 Mar 1997 17:18:27 +0000 (12:18 -0500)]
(GCC_PASSES): Revert previous change; use cc1$(exeext).

From-SVN: r13786

27 years agoUpdate copyright.
Doug Evans [Mon, 24 Mar 1997 21:11:54 +0000 (21:11 +0000)]
Update copyright.

From-SVN: r13785

27 years agoAdd m32r support.
Doug Evans [Mon, 24 Mar 1997 21:11:18 +0000 (21:11 +0000)]
Add m32r support.

From-SVN: r13784

27 years agoUpdate rtems configuration
Michael Meissner [Mon, 24 Mar 1997 21:10:53 +0000 (21:10 +0000)]
Update rtems configuration

From-SVN: r13783

27 years agoFormerly extend.texi.~113~
Doug Evans [Mon, 24 Mar 1997 20:53:34 +0000 (20:53 +0000)]
Formerly extend.texi.~113~

From-SVN: r13782

27 years ago(m32r,mn10300): Add.
Doug Evans [Mon, 24 Mar 1997 20:38:28 +0000 (20:38 +0000)]
(m32r,mn10300): Add.

From-SVN: r13763

27 years ago(USER_H): Add va-m32r.h.
Doug Evans [Mon, 24 Mar 1997 20:15:16 +0000 (20:15 +0000)]
(USER_H): Add va-m32r.h.

From-SVN: r13762

27 years agoInitial revision
Doug Evans [Mon, 24 Mar 1997 20:01:06 +0000 (20:01 +0000)]
Initial revision

From-SVN: r13761

27 years ago(va_arg): For little endian, eabi, objects
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

27 years agoFormerly cpp.texi.~28~
Paul Eggert [Fri, 21 Mar 1997 21:05:54 +0000 (21:05 +0000)]
Formerly cpp.texi.~28~

From-SVN: r13759

27 years ago* mn10300/mn10300.c (print_operand): Handle 'N'.
Jeff Law [Fri, 21 Mar 1997 17:24:18 +0000 (10:24 -0700)]
* mn10300/mn10300.c (print_operand): Handle 'N'.

From-SVN: r13758

27 years agomn10300.c (expand_epilogue): Correctly handle functions with large frames, but no...
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

27 years ago* pa/pa.c (compute_movstrsi_length): Handle residuals correctly.
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

27 years agomn10300.md (cmpsi): Handle comparing a register with itself by adding zero to the...
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

27 years agoPatches from wilson; consider fp constants if -mrelocatable to be hard
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

27 years agopa.c (emit_move_sequence): Don't lose for a secondary reload to the SAR register...
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

27 years ago(do_error, do_warning): Fix memory leak.
Richard Kenner [Wed, 19 Mar 1997 22:19:27 +0000 (17:19 -0500)]
(do_error, do_warning): Fix memory leak.

From-SVN: r13752

27 years ago(output_line_directive): Do not output negative line numbers when
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

27 years ago(ASM_OUTPUT_MI_THUNK): Define.
Richard Kenner [Wed, 19 Mar 1997 22:10:39 +0000 (17:10 -0500)]
(ASM_OUTPUT_MI_THUNK): Define.

From-SVN: r13750

27 years ago(unsafe_chars): `p' is unsafe before `-' or `+', since it might generate a C9X-style...
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

27 years ago(struct cpp_options): New member c89.
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

27 years ago(c89): New decl.
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

27 years ago(parse_number, yylex), cccp.c (rescan), cpplib.c
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

27 years agoFormerly cpp.texi.~27~
Richard Kenner [Wed, 19 Mar 1997 21:55:16 +0000 (16:55 -0500)]
Formerly cpp.texi.~27~

From-SVN: r13745

27 years ago(shorten_branches): Split all insns before computing insn lengths.
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

27 years ago(emit_group_load): Call operand_subword instead of creating
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

27 years ago(reload_reg_free_before_p, case
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

27 years agoSupport stabs and section attribute
Stan Cox [Tue, 18 Mar 1997 22:04:32 +0000 (22:04 +0000)]
Support stabs and section attribute

From-SVN: r13741

27 years agoRemove TARGET_CPU_DEFAULT reference.
Stan Cox [Tue, 18 Mar 1997 22:03:31 +0000 (22:03 +0000)]
Remove TARGET_CPU_DEFAULT reference.

From-SVN: r13740

27 years ago(override_options) Make the default alignment 4 for 486
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

27 years ago(STACK_BOUNDARY): Determine according to TARGET_ALIGN_DOUBLE
Stan Cox [Tue, 18 Mar 1997 22:01:28 +0000 (22:01 +0000)]
(STACK_BOUNDARY): Determine according to TARGET_ALIGN_DOUBLE

From-SVN: r13738

27 years ago(init_spec): Delete parameter. Always initialize extra_specs.
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

27 years ago(if_then_else_cond): Call copy_rtx to prevent sharing.
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

27 years agoUpdate REG_EQUIV comment for assign_parms change
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

27 years agoAdd a REG_EQUIV note when a register parameter has a stack location
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

27 years agoInitial revision
Doug Evans [Tue, 18 Mar 1997 19:30:43 +0000 (19:30 +0000)]
Initial revision

From-SVN: r13733

27 years ago(LIB_SPEC): -lprof1 requires -lpdf for OSF4.
Doug Evans [Tue, 18 Mar 1997 19:30:01 +0000 (19:30 +0000)]
(LIB_SPEC): -lprof1 requires -lpdf for OSF4.

From-SVN: r13732

27 years agom68k.c (m68k_last_compare_had_fp_operands): New variable.
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

27 years ago(movhi): Handle generation of large constants during
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

27 years ago(RETURN_POPS_ARGS): Make sure FUDECL is non-nil before we try to use it.
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

27 years ago(beq0_di, bne0_di, bge0_di, blt0_di): Use cmpw #0 instead of tstl when
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

27 years ago(layout_record...
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

27 years ago(parse_number): Invalid integer constants are errors if pedantic.
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

27 years ago(parse_number): Invalid integer constants are errors if pedantic.
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

27 years agoFix prologues/epilogues to deal with the lack of predecrement/postincrement...
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

27 years ago(__objc_block_return): Remove function.
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

27 years ago(build_{index,range}_type): Ensure expressions for min and max value
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

27 years ago[#if VMS] (O_RDONLY, O_WRONLY): Delete (redundant).
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

27 years ago(expr_no_commas): Do not store temporary skip_evaluation increments on yacc value...
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

27 years ago(INCLUDE_DEFAULTS): Define to something useful when cross-compiling.
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

27 years ago(expand_expr, case PLACEHOLDER_EXPR): Refine which object is picked.
Richard Kenner [Mon, 17 Mar 1997 00:54:36 +0000 (19:54 -0500)]
(expand_expr, case PLACEHOLDER_EXPR): Refine which object is picked.

From-SVN: r13718

27 years agoloop.c (strength_reduce): Adjust BENEFIT appropriately if an autoincrement memory...
Jeff Law [Sun, 16 Mar 1997 22:50:56 +0000 (15:50 -0700)]
loop.c (strength_reduce): Adjust BENEFIT appropriately if an autoincrement memory reference will...

        * loop.c (strength_reduce): Adjust BENEFIT appropriately if an
        autoincrement memory reference will eliminate add insns.

From-SVN: r13717

27 years agoCorrect include path.
Richard Kenner [Sun, 16 Mar 1997 13:41:08 +0000 (08:41 -0500)]
Correct include path.

From-SVN: r13716

27 years ago(__objc_block_return): New function.
Richard Kenner [Sun, 16 Mar 1997 13:40:47 +0000 (08:40 -0500)]
(__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.

From-SVN: r13715