From: Jeff Law Date: Mon, 29 Apr 2019 20:21:57 +0000 (-0600) Subject: * passes.def: Move -Wrestrict pass after copy propagation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fb1d0214e4654bbecd212c7f0c2254398b46b13;p=gcc.git * passes.def: Move -Wrestrict pass after copy propagation. From-SVN: r270662 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eafd4debbd0..4a0d547709b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-04-29 Jeff Law + + * passes.def: Move -Wrestrict pass after copy propagation. + 2019-04-29 Maya Rashish * config.gcc (default_gnu_indirect_function): Default to yes 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);