From 14cf3c00ea507103ebdae0cef392cce51a4f785b Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 19 Feb 2018 19:30:31 +0100 Subject: [PATCH] Put pass_sancov_O0 before pass_lower_switch with -O0 (PR sanitizer/82183). 2018-02-19 Martin Liska PR sanitizer/82183 * passes.def: Put pass_sancov_O0 before pass_lower_switch with -O0. From-SVN: r257817 --- gcc/ChangeLog | 5 +++++ gcc/passes.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a37db734da..209ea145b17 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-02-19 Martin Liska + + PR sanitizer/82183 + * passes.def: Put pass_sancov_O0 before pass_lower_switch with -O0. + 2018-02-19 Martin Liska Richard Sandiford diff --git a/gcc/passes.def b/gcc/passes.def index 9802f08ecfc..3ebcfc30349 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -397,8 +397,8 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_lower_vaarg); NEXT_PASS (pass_lower_vector); NEXT_PASS (pass_lower_complex_O0); - NEXT_PASS (pass_lower_switch); NEXT_PASS (pass_sancov_O0); + NEXT_PASS (pass_lower_switch); NEXT_PASS (pass_asan_O0); NEXT_PASS (pass_tsan_O0); NEXT_PASS (pass_sanopt); -- 2.30.2