aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
AgeCommit message (Collapse)AuthorFilesLines
1996-03-05(expand_expr, case *_DECL): If we make a non-local reference from a function ↵Jason Merrill1-3/+5
with DECL_NO_STATIC_CHAIN set, abort. (expand_expr, case *_DECL): If we make a non-local reference from a function with DECL_NO_STATIC_CHAIN set, abort. (expand_expr, case ADDR_EXPR): We don't need a trampoline for a function with DECL_NO_STATIC_CHAIN set. From-SVN: r11461
1996-03-04(bc_expand_function_start): Likewise.Richard Kenner1-1/+1
From-SVN: r11412
1996-01-15({,round_}trampoline_address): TRAMPOLINE_ALIGNMENT is in bits, notRichard Kenner1-4/+5
bytes. From-SVN: r10993
1995-12-31(assign_temp): Add extra arg, DONT_PROMOTE.Richard Kenner1-6/+7
Don't return (const_int 0) for VOIDmode. From-SVN: r10923
1995-12-31(instantiate_decls): Check DECL_SAVED_INSNS to see if obstack changeRichard Kenner1-1/+1
is needed. From-SVN: r10915
1995-12-30(assign_temp): Fix formatting.Richard Kenner1-5/+8
From-SVN: r10905
1995-12-29function.c (assign_temp): New function.Per Bothner1-0/+40
* function.c (assign_temp): New function. Can handle Chill-style variable-sized array with static maximum size. From-SVN: r10899
1995-12-29* function.c (assign_parms): Fix thinko for struct value arg.Per Bothner1-1/+1
From-SVN: r10897
1995-12-27(assign_parms): Set REGNO_POINTER_ALIGN for parms that are pointers.Richard Kenner1-1/+3
From-SVN: r10868
1995-12-18(fixup_var_refs_1): Fix error in last change (when mode of VAR is notRichard Kenner1-0/+2
the same as PROMOTED_MODE). From-SVN: r10795
1995-12-16(fixup_var_refs_1): Fix two incorrect calls to single_set.Richard Kenner1-2/+2
From-SVN: r10776
1995-12-15(init_temp_slots): New function.Richard Kenner1-4/+13
(init_function_start): Code moved to new function and called here. From-SVN: r10733
1995-12-14function.c (identify_blocks): Start with a chain of BLOCKs to match the rest ↵Mike Stump1-28/+41
of the backend (dbxout.c)... * function.c (identify_blocks): Start with a chain of BLOCKs to match the rest of the backend (dbxout.c), instead of just one BLOCK. (reorder_blocks): Ditto. (all_blocks): Ditto. * stmt.c (find_loop_tree_blocks): Pass the toplevel list of blocks, not just the first subblock. Fixes unroll1.C. From-SVN: r10712
1995-11-26(fixup_var_refs_1): Make pseudo for DEST in PROMOTED_MODE unless in aRichard Kenner1-5/+6
SUBREG. From-SVN: r10608
1995-11-12(put_reg_into_stack): New arg volatile_p.Richard Kenner1-14/+19
(put_var_into_stack): Call with new arg. From-SVN: r10579
1995-10-26(assign_parms): Don't trust the callee to copy a TREE_ADDRESSABLERichard Kenner1-1/+2
type. From-SVN: r10527
1995-10-20(init_function_start): Don't call init_insn_lengths here.Richard Kenner1-3/+0
From-SVN: r10483
1995-10-03(assign_stack_temp): Adjust full_size field of temp_slot whenRichard Kenner1-0/+1
splitting an unused slot. From-SVN: r10422
1995-09-12(put_var_into_stack): For CONCAT case, order of placement depends onRichard Kenner1-1/+1
FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD. From-SVN: r10344
1995-08-28Fix spelling errors.Richard Kenner1-1/+1
From-SVN: r10289
1995-07-28(assign_stack_temp): When split a slot, set base_offset and full_size in the ↵Richard Kenner1-0/+4
newly created slot. (assign_stack_temp): When split a slot, set base_offset and full_size in the newly created slot. (combine_temp_slots): Update full_size when slots are combined. From-SVN: r10185
1995-07-14(struct temp_slot): New fields base_offset, full_size.Richard Kenner1-7/+21
(assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size. Set new fields base_offset and full_size. (combine_temp_slots): Use new fields base_offset and full_size instead of slot and size. From-SVN: r10136
1995-07-14(current_function_stdarg): New global variable.Richard Kenner1-1/+11
(push_function_context_to): Save it. (pop_function_context_from): Restore it. (assign_parms): Set it. (init_function_start): Clear it. From-SVN: r10123
1995-07-10(setjmp_args_warning): Remove bogus arg.Richard Kenner1-2/+1
From-SVN: r10109
1995-06-15(assign_parms): Do all conversions in CONVERSION_INSNS.Richard Kenner1-1/+2
From-SVN: r9992
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-06-14(assign_parms): Use convert_to_mode instead of gen_lowpart whenRichard Kenner1-1/+1
converting incoming parm. From-SVN: r9941
1995-06-11(assign_parms): Handle promotions of both passed and nominal modes ↵Richard Kenner1-33/+51
separately and insert needed conversions. (assign_parms): Handle promotions of both passed and nominal modes separately and insert needed conversions. (promoted_input_arg): Return 0 if nominal and passed modes differ. From-SVN: r9922
1995-06-08(assign_parms): Don't call promote_mode on arg unlessRichard Kenner1-0/+3
PROMOTE_FUNCTION_ARGS defined. From-SVN: r9904
1995-05-16Fix typos in comments.Richard Kenner1-6/+6
From-SVN: r9712
1995-05-07(expand_function_end): Don't warn about unusedJason Merrill1-1/+2
anonymous or artificial parms. From-SVN: r9585
1995-04-26(expand_function_end): Warn about unused parms if both -Wunused and -W.Richard Kenner1-6/+4
From-SVN: r9489
1995-04-25(assign_parms): If STACK_REGS is defined...Richard Kenner1-0/+11
(assign_parms): If STACK_REGS is defined, generate USE insns before the function body, thus showing which registers are filled with parameters. From-SVN: r9461
1995-04-20Use TREE_ADDRESSABLE rather than | TYPE_NEEDS_CONSTRUCTING to decide whether ↵Jason Merrill1-1/+1
a... Use TREE_ADDRESSABLE rather than | TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be | passed by invisible reference. From-SVN: r9420
1995-04-17(instantiate_decls): Use temporary allocation ifJim Wilson1-2/+2
DECL_DEFER_OUTPUT is set. From-SVN: r9394
1995-03-27(preserve_temp_slots): Clear ADDR_TAKEN on item that we areRichard Kenner1-0/+1
preserving. From-SVN: r9236
1995-03-18(pop_function_context): Fix error in last change; reference old valueRichard Kenner1-3/+3
of current_function_decl before we modify it. From-SVN: r9202
1995-03-15Handle compilation of nested functions from another scope.Jason Merrill1-10/+12
From-SVN: r9185
1995-03-01Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.Per Bothner1-10/+4
From-SVN: r9106
1995-02-28function.c (lookup_static_chain): Check for a static chain using ↵Per Bothner1-4/+10
FUNCTION_NEEDS_STATIC_CHAIN. * function.c (lookup_static_chain): Check for a static chain using FUNCTION_NEEDS_STATIC_CHAIN. (init_function_start): Set current_function_needs_context depending on FUNCTION_NEEDS_STATIC_CHAIN rather than decl_function_context. From-SVN: r9096
1995-02-21(assign_parms): Added arg to RETURN_POPS_ARGS.Richard Kenner1-1/+1
From-SVN: r9011
1995-01-20(delete_handlers): When clear LABEL_PRESERVE_P,Jim Wilson1-1/+19
also remove label from nonlocal_label list. From-SVN: r8782
1995-01-13(optimize_bit_field): Don't remove a SUBREG that changes mode class.Richard Kenner1-2/+4
From-SVN: r8744
1994-12-29calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return value from ↵Jeff Law1-0/+1
assign_stack_temp. * calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return 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. From-SVN: r8708
1994-12-13(instantiate_virtual_regs_1, case PLUS): If offset isDoug Evans1-12/+21
zero, make sure register replacement is still validated. From-SVN: r8649
1994-12-12(locate_and_pad_parm): Don't call pad_below for BLKmode parms in regs.Doug Evans1-1/+4
From-SVN: r8645
1994-12-07(locate_and_pad_parm): Do padding before roundingDoug Evans1-4/+5
so pad_below knows how much is needed. From-SVN: r8622
1994-11-16Check target endianness at run time, not compile timeIan Lance Taylor1-31/+22
From-SVN: r8470
1994-11-16(init_function_start): UseJason Merrill1-1/+1
POINTER_TYPE_P rather than checking the type against POINTER_TYPE (to include references). From-SVN: r8458
1994-11-15(assign_stack_temp): Compute size of slot afterDoug Evans1-1/+11
assign_stack_local has accounted for alignment. From-SVN: r8438