Move rebuild_cfg to the end of build_ssa_passes
authorMartin Jambor <mjambor@suse.cz>
Fri, 2 Dec 2016 17:05:10 +0000 (18:05 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 2 Dec 2016 17:05:10 +0000 (18:05 +0100)
2016-12-02  Martin Jambor  <mjambor@suse.cz>

* passes.def: Move pass_rebuild_cgraph_edges to the end of
pass_build_ssa_passes.

From-SVN: r243199

gcc/ChangeLog
gcc/passes.def

index 29e40ae6b43ed85490a017b11aa6c71a01015ecc..47b3f849b3f960ab6ed89642afa10127b1b41971 100644 (file)
@@ -1,3 +1,8 @@
+2016-12-02  Martin Jambor  <mjambor@suse.cz>
+
+       * passes.def: Move pass_rebuild_cgraph_edges to the end of
+       pass_build_ssa_passes.
+
 2016-12-02  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/alpha/alpha.md (exception_receiver): Copy
index 1117b8b112b7461c415f3d4e3bd8792fb66e1d2a..7b12a419547ca97ad7d533af803ab3dedbc5be0d 100644 (file)
@@ -56,12 +56,12 @@ along with GCC; see the file COPYING3.  If not see
   NEXT_PASS (pass_build_ssa_passes);
   PUSH_INSERT_PASSES_WITHIN (pass_build_ssa_passes)
       NEXT_PASS (pass_fixup_cfg);
-      NEXT_PASS (pass_rebuild_cgraph_edges);
       NEXT_PASS (pass_build_ssa);
       NEXT_PASS (pass_warn_nonnull_compare);
       NEXT_PASS (pass_ubsan);
       NEXT_PASS (pass_early_warn_uninitialized);
       NEXT_PASS (pass_nothrow);
+      NEXT_PASS (pass_rebuild_cgraph_edges);
   POP_INSERT_PASSES ()
 
   NEXT_PASS (pass_chkp_instrumentation_passes);