aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-10-05 17:17:12 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2011-10-05 17:17:12 +0000
commit17a3dae3c23664d4e264003af90061a9dae7b97c (patch)
treebf15a490848a030f770578ffa1d4dc056d9ceebd /gcc/function.c
parent878a917448a256186ebaa54451696455185a7f55 (diff)
downloadgcc-17a3dae3c23664d4e264003af90061a9dae7b97c.zip
gcc-17a3dae3c23664d4e264003af90061a9dae7b97c.tar.gz
gcc-17a3dae3c23664d4e264003af90061a9dae7b97c.tar.bz2
re PR bootstrap/50621 (Bootstrap failure)
PR bootstrap/50621 * config/i386/i386.c (ix86_add_cfa_restore_note): Omit notes only if the function was not shrink-wrapped. (ix86_expand_epilogue): Ensure queued cfa_adjust notes are attached to an insn. * function.c (thread_prologue_and_epilogue_insns): Make sure the shrink_wrapped flag is set even if there is no dump file. From-SVN: r179560
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 863f09d..2c0b897 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5741,10 +5741,11 @@ thread_prologue_and_epilogue_insns (void)
if (dump_file)
fprintf (dump_file, "Shrink-wrapping aborted due to clobber.\n");
}
- else if (dump_file && entry_edge != orig_entry_edge)
+ else if (entry_edge != orig_entry_edge)
{
crtl->shrink_wrapped = true;
- fprintf (dump_file, "Performing shrink-wrapping.\n");
+ if (dump_file)
+ fprintf (dump_file, "Performing shrink-wrapping.\n");
}
fail_shrinkwrap: