summaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2019-04-29 14:21:57 -0600
committerJeff Law <law@gcc.gnu.org>2019-04-29 14:21:57 -0600
commit7fb1d0214e4654bbecd212c7f0c2254398b46b13 (patch)
tree1c25d36cfbd7c87f251f1964b5756a04b48c7e94 /gcc/passes.def
parent856f73d1373aa768fdb37266a552dee4f8d98a5f (diff)
* passes.def: Move -Wrestrict pass after copy propagation.
From-SVN: r270662
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index bc147c4444d..99640d50091 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -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);