summaryrefslogtreecommitdiffstats
path: root/gcc/calls.c
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9959 138bc75d-0d04-0410-961f-82ee72b054a4
* (prepare_call_address): Only call use_reg on static_chain_rtx if it iskenner1995-05-311-1/+2
| | | | | | | a REG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9851 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos in comments.kenner1995-05-161-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9711 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Improve -Winline warnings.merrill1995-05-081-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9589 138bc75d-0d04-0410-961f-82ee72b054a4
* Use TREE_ADDRESSABLE rather thanmerrill1995-04-201-1/+5
| | | | | | | | | 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
* (expand_call): Call preserve_temp_slots on temps made for BLKmode argskenner1995-04-151-2/+5
| | | | | | | returned in registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9390 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call, store_one_arg): Don't set KEEP in calls tokenner1995-03-281-3/+3
| | | | | | | assign_stack_temp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9235 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix formatting.kenner1995-02-231-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9046 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_call_1): Added function declaration node argument passed tokenner1995-02-211-9/+20
| | | | | | | RETURN_POPS_ARGS; also effects calls to emit_call_1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8997 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Add missing paren in wilson's change on 11 Feb 95.roland1995-02-131-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8914 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): When setting n_named_args, depend on newwilson1995-02-111-9/+15
| | | | | | | macro STRICT_ARGUMENT_NAMING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8911 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): When emitting queue for each arg, callkenner1995-01-281-7/+10
| | | | | | | | protect_from_queue; put in initial_value so EXPR_LIST in is_const case won't have QUEUED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8835 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on returnlaw1994-12-301-0/+5
| | | | | | | | | | | | | value from assign_stack_temp. (store_one_arg): Likewise. * expr.c (save_noncopied_parts): Likewise. (expand_expr): Likewise. * function.c (assign_parms): Likewise. * integrate.c (expand_inline_function): Likewise. * stmt.c (expand_decl): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8708 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Only inline if DECL_INLINE; don't callkenner1994-12-211-2/+2
| | | | | | | function_cannot_inline_p here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8681 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Handle returning BLKmode values inlaw1994-11-291-0/+51
| | | | | | | registers. Do not try to promote BLKmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8574 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Do not set is_integrable if thelaw1994-11-291-1/+2
| | | | | | | function is not inlineable according to function_cannot_inline_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8572 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): If IS_CONST and VALREG == 0, end our sequence and emitkenner1994-11-141-2/+11
| | | | | | | the insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8431 138bc75d-0d04-0410-961f-82ee72b054a4
* (store_one_arg): Preserve any temp slots whose address may have beenkenner1994-11-051-1/+4
| | | | | | | taken. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8394 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call, emit_library_call, emit_library_call_value):bothner1994-10-171-64/+71
| | | | | | | | Allways adjust current_function_outgoing_args_size, even #ifndef ACCUMULATE_OUTGOING_ARGS. (Useful for stack overflow checking.) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8290 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,wilson1994-09-291-1/+1
| | | | | | | pass address through force_operand before using it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8169 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_call_1): Fix typo in last change.kenner1994-09-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8119 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_call_1): Properly add a CLOBBER for sp tokenner1994-09-211-1/+2
| | | | | | | CALL_INSN_FUNCTION_USAGE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8116 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Check for variable-sized return value in proper place.kenner1994-08-241-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7974 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): If parm is transparent union, use type of first field.kenner1994-08-191-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7949 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Ensure we call force_operand on structure_value_addr.kenner1994-08-111-7/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7885 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com)merrill1994-07-131-0/+1
| | | | | | | | | | | * tree.h (TYPE_NEEDS_CONSTRUCTING): New macro. (tree_type): Add needs_constructing_flag. * function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by invisible reference. * calls.c (expand_call): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7758 138bc75d-0d04-0410-961f-82ee72b054a4
* Cast pointer operands to bzero, bcopy, and bcmp to (char *).kenner1994-06-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7472 138bc75d-0d04-0410-961f-82ee72b054a4
* Update comments.kenner1994-06-021-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7420 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (use_reg): Fix recording of USE information.dje1994-05-271-2/+5
| | | | | | | | | | | (use_regs): Likewise. Delete argument `reg'. All callers changed. * expr.h (use_regs): Update prototype. * calls.c (expand_call): Update call to use_regs. Call use_reg if parm is wholly in registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7378 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Only destroy temps here, if -fshort-tempsmrs1994-05-191-6/+10
| | | | | | | is given. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7341 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Only destroy temporaries at the endmrs1994-05-131-3/+6
| | | | | | | | | | | | | | | | | of function calls, if flag_short_temps is set. * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs. * expr.c (expand_expr): Improve handling of temporaries inside COND_EXPRs, cures call to sorry. * expr.c (defer_cleanups_to): New routine to handle the deferral of cleanups. * flags.h (flag_short_temps): New flag, to allow better control over the lifetime of temporaries. * toplev.c (flag_short_temps, lang_options): Ditto. * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over the lifetime of temporaries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7289 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_call_1): Put new function usage data at end of any data alreadykenner1994-05-111-2/+14
| | | | | | | there. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7273 138bc75d-0d04-0410-961f-82ee72b054a4
* (prepare_call_address, emit_call_1, expand_call): Change from USE and CLOBBERkenner1994-05-061-56/+28
| | | | | | | | insns to using CALL_INSN_FUNCTION_USAGE. (emit_library_call{,_value}): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7239 138bc75d-0d04-0410-961f-82ee72b054a4
* Use new macro AGGREGATE_TYPE_P.bothner1994-04-261-24/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7160 138bc75d-0d04-0410-961f-82ee72b054a4
* (calls_function_1): A language-specific code must be assumed to call akenner1994-04-211-9/+19
| | | | | | | | function and also call alloca. Check for inlined functions that call alloca. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7133 138bc75d-0d04-0410-961f-82ee72b054a4
* (prepare_call_address): New arg REG_PARM_SEEN.kenner1994-04-181-6/+22
| | | | | | | | All callers changed. (expand_call): Pre-load args if small reg classes and reg parms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7073 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Use promote_mode.kenner1994-04-181-26/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7067 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call, emit_library_call{,_value}, store_one_arg): Usekenner1994-04-111-9/+11
| | | | | | | convert_modes instead of convert_to_mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7026 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_library_call_value): Move is_const set after ifdef.wilson1994-04-081-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6995 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_library_call_value): New variable is_const. Clearwilson1994-04-061-1/+6
| | | | | | | it for functions that return an aggregate in memory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6991 138bc75d-0d04-0410-961f-82ee72b054a4
* (emit_library_call): Move the invocation of prepare_call_address before thekenner1994-04-061-6/+6
| | | | | | | | assignments of the function arguments. (emit_library_call_value): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6978 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): If PCC_STATIC_STRUCT_RETURN defined, markwilson1994-04-041-1/+9
| | | | | | | function as addressable same time as we clear is_integrable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6964 138bc75d-0d04-0410-961f-82ee72b054a4
* Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.kenner1994-03-301-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6922 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Don't require both -W and -Winline to say that call can't bekenner1994-03-251-4/+7
| | | | | | | | inlined. Warn if inlining is tried but fails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6905 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Undo Feb 27 change. Set nregs to -1 forwilson1994-03-171-17/+12
| | | | | | | normal case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6805 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): For pcc_struct_value case, setwilson1994-03-081-0/+6
| | | | | | | MEM_IN_STRUCT_P correctly on target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6713 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Set nregs to -1 for BLKmode parameter,wilson1994-02-271-5/+11
| | | | | | | then before move_block_to_reg call set it to the type size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6660 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Initialize OLD_PENDING_ADJ.kenner1994-02-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6640 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Functions may be const or volatile from their type.kenner1994-02-231-8/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6611 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): When preserving subexpressions, don't put expensivekenner1994-02-121-1/+13
| | | | | | | arguments directly into hard registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6543 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud