Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(436)

Unified Diff: gcc/tree-optimize.c

Issue 6195099: [google][4.7]Port function reordering via linker plugin from google/gcc-4_6 branch Base URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7/
Patch Set: Created 13 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/testsuite/lib/target-supports-dg.exp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/tree-optimize.c
===================================================================
--- gcc/tree-optimize.c (revision 187620)
+++ gcc/tree-optimize.c (working copy)
@@ -48,11 +48,17 @@ along with GCC; see the file COPYING3. If not see
#include "regset.h" /* FIXME: For reg_obstack. */
#include "params.h"
+/* Decides if the cgraph callee edges are being cleaned up for the
+ last time. */
+bool cgraph_callee_edges_final_cleanup = false;
+
/* Gate: execute, or not, all of the non-trivial optimizations. */
static bool
gate_all_optimizations (void)
{
+ /* The cgraph callee edges can be cleaned up for the last time. */
+ cgraph_callee_edges_final_cleanup = true;
return (optimize >= 1
/* Don't bother doing anything if the program has errors.
We have to pass down the queue if we already went into SSA */
« no previous file with comments | « gcc/testsuite/lib/target-supports-dg.exp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b