aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@imgtec.com>2015-11-24 22:09:17 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2015-11-24 22:09:17 +0000
commit0bfbc1662bc4aa9bcdc00b6a20e3cb9d23be0efe (patch)
treed775617303374cc385017da3d28ab40d68469aa1 /gcc/gcc.c
parent82ad51444ff2a9faf3e019b07c98fbae0e753a0f (diff)
downloadgcc-0bfbc1662bc4aa9bcdc00b6a20e3cb9d23be0efe.zip
gcc-0bfbc1662bc4aa9bcdc00b6a20e3cb9d23be0efe.tar.gz
gcc-0bfbc1662bc4aa9bcdc00b6a20e3cb9d23be0efe.tar.bz2
frame-header-opt.c (gate): Check for optimize > 0.
2015-11-24 Steve Ellcey <sellcey@imgtec.com> * frame-header-opt.c (gate): Check for optimize > 0. (has_inlined_assembly): New function. (needs_frame_header_p): Remove is_leaf_function check, add argument type check. (callees_functions_use_frame_header): Add is_leaf_function and has_inlined_assembly calls.. (set_callers_may_not_allocate_frame): New function. (frame_header_opt): Add is_leaf_function call, add set_callers_may_not_allocate_frame call. * config/mips/mips.c (mips_compute_frame_info): Add check to see if callee saved regs can be put in frame header. (mips_expand_prologue): Add check to see if step1 is zero, fix cfa restores when using frame header to store regs. (mips_can_use_return_insn): Check to see if registers are stored in frame header. * config/mips/mips.h (machine_function): Add callers_may_not_allocate_frame and use_frame_header_for_callee_saved_regs fields. From-SVN: r230845
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions