Put pass_sancov_O0 before pass_lower_switch with -O0 (PR sanitizer/82183).
authorMartin Liska <mliska@suse.cz>
Mon, 19 Feb 2018 18:30:31 +0000 (19:30 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 19 Feb 2018 18:30:31 +0000 (18:30 +0000)
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

gcc/ChangeLog
gcc/passes.def

index 7a37db7..209ea14 100644 (file)
@@ -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
index 9802f08..3ebcfc3 100644 (file)
@@ -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);