]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* passes.def: Move -Wrestrict pass after copy propagation.
authorJeff Law <law@redhat.com>
Mon, 29 Apr 2019 20:21:57 +0000 (14:21 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 29 Apr 2019 20:21:57 +0000 (14:21 -0600)
From-SVN: r270662

gcc/ChangeLog
gcc/passes.def

index eafd4debbd06094752acd98a4b4881a9c2a1d4a1..4a0d547709b56822d5764d20f121e3be26afefd9 100644 (file)
@@ -1,3 +1,7 @@
+2019-04-29  Jeff Law  <law@redhat.com>
+
+       * passes.def: Move -Wrestrict pass after copy propagation.
+
 2019-04-29  Maya Rashish  <coypu@sdf.org>
 
        * config.gcc (default_gnu_indirect_function): Default to yes
index bc147c4444db8e79ded11ca5f2230becfa86d630..99640d500911b38ebc6666493856129d2fba432b 100644 (file)
@@ -315,10 +315,10 @@ along with GCC; see the file COPYING3.  If not see
       NEXT_PASS (pass_strlen);
       NEXT_PASS (pass_thread_jumps);
       NEXT_PASS (pass_vrp, false /* warn_array_bounds_p */);
-      NEXT_PASS (pass_warn_restrict);
       /* Threading can leave many const/copy propagations in the IL.
         Clean them up.  */
       NEXT_PASS (pass_copy_prop);
+      NEXT_PASS (pass_warn_restrict);
       NEXT_PASS (pass_dse);
       NEXT_PASS (pass_cd_dce);
       NEXT_PASS (pass_forwprop);