diff options
author | Jeff Law <law@redhat.com> | 2019-04-29 14:21:57 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-04-29 14:21:57 -0600 |
commit | 7fb1d0214e4654bbecd212c7f0c2254398b46b13 (patch) | |
tree | 1c25d36cfbd7c87f251f1964b5756a04b48c7e94 | |
parent | 856f73d1373aa768fdb37266a552dee4f8d98a5f (diff) | |
download | gcc-7fb1d0214e4654bbecd212c7f0c2254398b46b13.zip gcc-7fb1d0214e4654bbecd212c7f0c2254398b46b13.tar.gz gcc-7fb1d0214e4654bbecd212c7f0c2254398b46b13.tar.bz2 |
* passes.def: Move -Wrestrict pass after copy propagation.
From-SVN: r270662
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/passes.def | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eafd4de..4a0d547 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/passes.def b/gcc/passes.def index bc147c4..99640d5 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); |