aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-02-19 19:30:31 +0100
committerMartin Liska <marxin@gcc.gnu.org>2018-02-19 18:30:31 +0000
commit14cf3c00ea507103ebdae0cef392cce51a4f785b (patch)
tree16e85bfdbdaac4a5577c366e0e7f28ce173ea907
parent6a5aca53278dd43bea2618126f282125c5ca3e02 (diff)
downloadgcc-14cf3c00ea507103ebdae0cef392cce51a4f785b.zip
gcc-14cf3c00ea507103ebdae0cef392cce51a4f785b.tar.gz
gcc-14cf3c00ea507103ebdae0cef392cce51a4f785b.tar.bz2
Put pass_sancov_O0 before pass_lower_switch with -O0 (PR sanitizer/82183).
2018-02-19 Martin Liska <mliska@suse.cz> PR sanitizer/82183 * passes.def: Put pass_sancov_O0 before pass_lower_switch with -O0. From-SVN: r257817
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/passes.def2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7a37db7..209ea14 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,9 @@
2018-02-19 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/82183
+ * passes.def: Put pass_sancov_O0 before pass_lower_switch with -O0.
+
+2018-02-19 Martin Liska <mliska@suse.cz>
Richard Sandiford <richard.sandiford@linaro.org>
PR tree-optimization/82491
diff --git a/gcc/passes.def b/gcc/passes.def
index 9802f08..3ebcfc3 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);