| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* calls.c (expand_call): Remove unused variables funtree,
n_regs, and tmpmode.
* dbxout.c, except.c: Include <string.h>/<strings.h>.
* explow.c: (plus_constant_for_output_wide) Removed unused
variable all_constant.
* c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
genrecog.c, global.c, integrate.c , stupid.c : Include
<stdlib.h>.
* genextract.c: (walk_rtx) Remove unused variable link.
* genrecog.c: (concat) Remove unreferenced static function.
* prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
* stmt.c: Include <stdlib.h>.
(expand_asm_operands): Remove unused variable val1.
(expand_return): Remove unused variable block.
(pushcase): Remove unused variables l and n.
(pushcaserange): Likewise.
* unroll.c (unroll_loop): Remove unused variable temp.
From-SVN: r17766
|
|
|
|
|
|
|
|
|
|
|
| |
specified.
* integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
when -Os is specified.
* toplev.c (main): Don't disable flag_inline_functions anymore when
-Os is in effect.
From-SVN: r17671
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in: Remove all bytecode support.
(OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
* emit-rtl.c: Remove all bytecode support.
* expr.c, expr.h function.c, integrate.c: Likewise.
* output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
* tree.h, varasm.c: Likewise.
* bi-*, bc-*: Delete bytecode related files.
Bytecode suppors disappears :-)
From-SVN: r17432
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
* caller-save.c, calls.c, combine.c, cse.c: Likewise.
* dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
* final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
* halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
* profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
* reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
* unroll.c, varasm.c: Likewise.
* config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
From-SVN: r17357
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* integrate.c (get_label_from_map): New function.
(expand_inline_function): Use it. Initialize the label_map to
NULL_RTX instead of gen_label_rtx.
(copy_rtx_and_substitute): Use get_label_from_map.
* integrate.h (get_label_from_map): New function.
(set_label_from_map): New macro.
* unroll.c (unroll_loop): Use them.
(copy_loop_body): Ditto.
From-SVN: r17139
|
|
|
|
|
|
|
|
|
| |
a (mem (addressof (mem ...))).
* integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL,
look inside a (mem (addressof (mem ...))).
From-SVN: r17075
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* except.c (call_get_eh_context): Don't take a parm.
Put the call at the top of the function.
(emit_eh_context): Adjust.
(get_eh_context): Replace with former use_eh_context.
(get_eh_context_once, get_saved_pc_ref): Remove.
(start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
* except.h: Adjust.
* integrate.c (expand_inline_function): Adjust.
* toplev.c (rest_of_compilation): Don't call emit_unwinder.
tidy tidy tidy
From-SVN: r17065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
Thread-safe EH support for pthreads, DCE threads and Solaris threads.
* integrate.c (expand_inline_function): If the inline fn uses eh
context, make sure that the current fn has one.
* toplev.c (rest_of_compilation): Call emit_eh_context.
* except.c (use_eh_context): New fn.
(get_eh_context_once): New fn.
(call_get_eh_context): New fn.
(emit_eh_context): New fn.
(get_eh_context): Call either get_eh_context_once or
call_get_eh_context, depending on what we have.
(get_dynamic_handler_chain): Call get_eh_context_once.
* except.h: Prototypes for fns above.
* optabs.c (get_eh_context_libfunc): Removed.
(init_optabs): Don't initialize it.
* expr.h (get_eh_context_libfunc): Removed.
* rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
* config/pa/pa.h (CPP_SPEC): Support for -threads.
* config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
* config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
New multilib for -threads.
* config/sparc/t-sol2: Added multilibs for -threads and
made -pthreads alias to it.
* config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
Added -threads and -pthreads options.
* libgcc-thr.h: New file.
* libgcc2.c: (__get_cpp_eh_context): Removed.
(struct cpp_eh_context): Removed.
(struct eh_context): Replaced cpp_eh_context with generic language
specific pointer.
(__get_eh_info): New function.
(__throw): Check eh_context::info.
(__sjthrow): Ditto.
* libgcc2.c: Include libgcc-thr.h.
(new_eh_context, __get_eh_context,
eh_pthread_initialize, eh_context_initialize, eh_context_static,
eh_context_specific, eh_context_free): New functions.
(get_eh_context, eh_context_key): New variables.
(__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
get_eh_context to get the context.
(longjmp): Move the declaration inside
#ifdef DONT_USE_BUILTIN_SETJMP.
* frame.c: Include libgcc-thr.h.
(object_mutex): Mutex to protect the object list.
(find_fde, __register_frame, __register_frame_table,
__deregister_frame): Hold the lock while accessing objects.
* except.h (get_eh_context): Declare.
* except.c (current_function_ehc): Define.
(current_function_dhc, current_function_dcc): Removed.
(get_eh_context): New function.
(get_dynamic_handler_chain): Use get_eh_context.
(get_saved_pc_ref): Ditto.
(get_dynamic_cleanup_chain): Removed references to
current_function_dcc.
(save_eh_status, restore_eh_status): Save and restore
current_function_ehc instead.
* optabs.c (get_eh_context_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_eh_context_libfunc.
* function.h (struct function): Replaced dhc and dcc with ehc.
* except.c (get_saved_pc_ref): New functions.
(eh_saved_pc_rtx, eh_saved_pc): Deleted.
(expand_internal_throw_indirect): Use get_saved_pc_ref() instead
of eh_saved_pc.
(end_eh_unwinder): Likewise.
(init_eh): Remove initialization of eh_saved_pc.
* optabs.c (get_saved_pc_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_saved_pc_libfunc.
* except.h (eh_saved_pc_rtx): Deleted.
(get_saved_pc_ref): Declared.
From Scott Snyder <snyder@d0sgif.fnal.gov>:
* libgcc2.c (__get_saved_pc): New.
(__eh_type, __eh_pc): Deleted.
(__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
(__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
this fcn.
cp/:
Thu Dec 11 20:43:33 1997 Teemu Torma <tot@trema.com>
* decl.c (ptr_ptr_type_node): Define.
(init_decl_processing): Initialize it.
* cp-tree.h: Declare it.
* exception.cc (__cp_exception_info): Use __get_eh_info.
(__cp_push_exception): Ditto.
(__cp_pop_exception): Ditto.
From Scott Snyder <snyder@d0sgif.fnal.gov>:
* except.c (expand_builtin_throw): Use get_saved_pc_ref instead of
saved_pc.
(init_exception_processing): Removed saved_pc initialization.
From-SVN: r17052
|
|
|
|
|
|
|
| |
* integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
From Kenner, fixes more ADDRESSOF problems.
From-SVN: r17027
|
|
|
|
| |
From-SVN: r16987
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* integrate.c (output_inline_function): Just unset DECL_INLINE.
Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
* dwarf2out.c (outout_call_frame_info): Ensure that the info has
proper alignment.
* libgcc2.c (__throw): Initialize HANDLER.
From-SVN: r16724
|
|
|
|
|
|
|
| |
* integrate.c (save_for_inline_copying): Add return value from
savealloc.
From-SVN: r16481
|
|
|
|
|
|
| |
* integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
From-SVN: r16330
|
|
|
|
| |
From-SVN: r16278
|
|
|
|
|
|
|
|
|
|
| |
1,4d0
< Fri Oct 24 17:49:10 1997 Jim Wilson <wilson@cygnus.com>
<
< * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
<
From-SVN: r16172
|
|
|
|
|
|
|
|
|
| |
* integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
fixes many of the inlining problems causing various suite++ and perennial
test failures, among others
From-SVN: r16171
|
|
|
|
| |
From-SVN: r15875
|
|
|
|
| |
From-SVN: r15874
|
|
|
|
|
|
|
|
| |
* integrate.c (save_for_inline_copying): Avoid undefined pointer
operations.
(expand_inline_function): Likewise.
From-SVN: r15866
|
|
|
|
|
|
|
|
|
| |
that can be used as an insertion point.
* integrate.c (expand_inline_function): Make sure there is at
least one insn that can be used as an insertion point.
From-SVN: r15738
|
|
|
|
|
|
|
|
|
| |
expanding the arguments.
* integrate.c (expand_inline_function): Move expand_start_bindings
after expanding the arguments.
From-SVN: r15499
|
|
|
|
|
|
|
|
|
|
|
| |
for real_label_map.
* integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
as initial value for real_label_map.
(copy_for_inline): Likewise.
Brought over from the FSF.
From-SVN: r15116
|
|
|
|
|
|
|
|
|
|
| |
LABEL_MAP.
* integrate.c (expand_inline_function): Use xmalloc instead of
alloca for the LABEL_MAP.
(save_for_inline_copying): Likewise.
From-SVN: r14546
|
|
|
|
|
|
|
|
|
| |
LABEL_MAP.
* integrate.c (expand_inline_function): Use xmalloc instead of
alloca for the LABEL_MAP.
From-SVN: r14545
|
|
|
|
|
|
|
| |
* integrate.c (expand_inline_function): Use the mode of FNDECL's
result rtl, not the result type itself, in setting ARRIVING_MODE.
From-SVN: r14198
|
|
|
|
| |
From-SVN: r14024
|
|
|
|
| |
From-SVN: r14002
|
|
|
|
|
|
|
|
|
|
| |
VIRTUAL_STACK_VARS_REGNUM...
* integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD
and regno == VIRTUAL_STACK_VARS_REGNUM, round size of stack slot up
before calling assign_stack_temp.
From-SVN: r13895
|
|
|
|
|
|
|
|
|
| |
inlined call.
* integrate.c (expand_inline_function): Output
NOTE_REPEATED_LINE_NUMBER after inlined call.
From-SVN: r13816
|
|
|
|
|
|
| |
same as a RETURN.
From-SVN: r13533
|
|
|
|
|
|
|
| |
(copy_for_inline, copy_rtx_and_substitute, restore_constants): Use
both modes when restoring constant pool entry for ADDRESS.
From-SVN: r13512
|
|
|
|
|
|
|
|
| |
(function_cannot_inline_p): Reject function with
PARALLEL result.
(expand_inline_function): Abort if function result not handled.
From-SVN: r13340
|
|
|
|
| |
From-SVN: r13169
|
|
|
|
|
|
| |
BITS_PER_WORD as inlined function result.
From-SVN: r12832
|
|
|
|
| |
From-SVN: r12549
|
|
|
|
| |
From-SVN: r12390
|
|
|
|
|
|
| |
getting structure_value_addr into reg.
From-SVN: r12303
|
|
|
|
|
|
| |
use TYPE_MAIN_VARIANT.
From-SVN: r11697
|
|
|
|
|
|
| |
based on regno_pointer_flag_length instead of max_reg+1.
From-SVN: r11279
|
|
|
|
|
|
| |
(save_for_inline_copying, save_for_inline_nocopy): Call it.
From-SVN: r11263
|
|
|
|
| |
From-SVN: r11208
|
|
|
|
|
|
|
|
|
|
| |
instead of using alloca...
(save_for_inline_copying): Put reg_map in function's maybepermanent
obstack instead of using alloca; set regno_reg_rtx to it; delete
recently-added copying of this later.
From-SVN: r11193
|
|
|
|
| |
From-SVN: r10976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(initialize_for_inline): Pass additional args to gen_inline_header.
(save_for_inline_copying): Make new regno_reg_rtx, regno_pointer_flag,
and regno_pointer_align arrays.
(expand_inline_function): Set alignment of reg for parm if passed by
hidden pointer.
Set regno_pointer_{flag,align} into remap table.
(copy_rtx_and_substitute): Set alignment of pointers into stack frame.
Copy pointer flag and alignment to regs that are copies of
pointer registers from the original regs.
(output_inline_function): Don't call restore_reg_data.
Restore reg_rtx_no, regno_{reg_rtx,pointer_flag,pointer_align}.
From-SVN: r10877
|
|
|
|
|
|
| |
Always set DECL_ABSTRACT_ORIGIN before calling pushdecl.
From-SVN: r10621
|
|
|
|
|
|
|
|
|
| |
integration...
(output_inline_function): Turn on flag_no_inline to avoid function
integration once we begin writing deferred output functions.
From-SVN: r10488
|
|
|
|
|
|
|
| |
(expand_inline_function): Do copy something setting the result
register if it is setting it to itself and has a REG_NOTE.
From-SVN: r10383
|
|
|
|
|
|
| |
error_mark_node the same as one of NULL_TREE.
From-SVN: r10382
|
|
|
|
| |
From-SVN: r10289
|
|
|
|
| |
From-SVN: r10270
|