* passes.def: Move -Wrestrict pass after copy propagation.

From-SVN: r270662
This commit is contained in:
Jeff Law 2019-04-29 14:21:57 -06:00 committed by Jeff Law
parent 856f73d137
commit 7fb1d0214e
2 changed files with 5 additions and 1 deletions

View 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

View 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);