diff options
author | Martin Sebor <msebor@redhat.com> | 2022-02-03 14:51:46 -0700 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2022-02-03 14:53:15 -0700 |
commit | 5a668ec0339c28b0725ded1e80d3276edb76b8b3 (patch) | |
tree | 7ee136b35ee265aad633987eab251924b330a8ad /gcc/passes.def | |
parent | 599122fa690d55e5e14d74f4d514b2d8b6a98505 (diff) | |
download | gcc-5a668ec0339c28b0725ded1e80d3276edb76b8b3.zip gcc-5a668ec0339c28b0725ded1e80d3276edb76b8b3.tar.gz gcc-5a668ec0339c28b0725ded1e80d3276edb76b8b3.tar.bz2 |
Adjust warn_access pass placement [PR104260].
Resolves:
PR middle-end/104260 - Misplaced waccess3 pass
gcc/ChangeLog:
PR middle-end/104260
* passes.def (pass_warn_access): Adjust pass placement.
Diffstat (limited to 'gcc/passes.def')
-rw-r--r-- | gcc/passes.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/passes.def b/gcc/passes.def index 3e75de4..f771818 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -60,10 +60,10 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_warn_printf); NEXT_PASS (pass_warn_nonnull_compare); NEXT_PASS (pass_early_warn_uninitialized); + NEXT_PASS (pass_warn_access, /*early=*/true); NEXT_PASS (pass_ubsan); NEXT_PASS (pass_nothrow); NEXT_PASS (pass_rebuild_cgraph_edges); - NEXT_PASS (pass_warn_access, /*early=*/true); POP_INSERT_PASSES () NEXT_PASS (pass_local_optimization_passes); @@ -428,9 +428,9 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_gimple_isel); NEXT_PASS (pass_harden_conditional_branches); NEXT_PASS (pass_harden_compares); + NEXT_PASS (pass_warn_access, /*early=*/false); NEXT_PASS (pass_cleanup_cfg_post_optimizing); NEXT_PASS (pass_warn_function_noreturn); - NEXT_PASS (pass_warn_access, /*early=*/false); NEXT_PASS (pass_expand); |