r236372 - in /trunk/gcc: ChangeLog function.c
segher@gcc.gnu.org
segher@gcc.gnu.org
Wed May 18 10:58:00 GMT 2016
Author: segher
Date: Wed May 18 10:58:57 2016
New Revision: 236372
URL: https://gcc.gnu.org/viewcvs?rev=236372&root=gcc&view=rev
Log:
function: Do the CLEANUP_EXPENSIVE after shrink-wrapping, not before
We should do CLEANUP_EXPENSIVE after shrink-wrapping, because shrink-
wrapping creates constructs that CLEANUP_EXPENSIVE can optimise, and
nothing runs CLEANUP_EXPENSIVE later.
* function.c (rest_of_handle_thread_prologue_and_epilogue): Call
cleanup_cfg with CLEANUP_EXPENSIVE after shrink-wrapping instead
of before. Add a comment.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
More information about the Gcc-cvs
mailing list