]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
predict.c (PRED_MUDFLAP): Remove.
authorJeff Law <law@redhat.com>
Sat, 26 Oct 2013 10:24:19 +0000 (04:24 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 26 Oct 2013 10:24:19 +0000 (04:24 -0600)
* predict.c (PRED_MUDFLAP): Remove.
* targhooks.c (build_va_arg_indirect_ref): Remove mudflap support.

From-SVN: r204091

gcc/ChangeLog
gcc/predict.def
gcc/targhooks.c

index 2e90a39a067bf098900ed943aa8eb55303951fbb..3e5205f54a49d854ad32d0ce503acdefb2095dd6 100644 (file)
@@ -1,5 +1,8 @@
 2013-10-26  Jeff Law  <law@redhat.com>
 
+       * predict.c (PRED_MUDFLAP): Remove.
+       * targhooks.c (build_va_arg_indirect_ref): Remove mudflap support.
+
        * Makefile.in (C_COMMON_OBJS): Remove tree-mudflap.
        (OBJS): Remove tree-nomudflap.o
        (GTFILES): Remove tree-mudflap.c
index f8dba66e8718a7c1a409249306a56c230b11f085..2ce135c0ce0c4d0528ca16ccff7eafa97296c61a 100644 (file)
@@ -117,9 +117,6 @@ DEF_PREDICTOR (PRED_NEGATIVE_RETURN, "negative return", HITRATE (96), 0)
 /* Branch ending with return; is probably not taken */
 DEF_PREDICTOR (PRED_NULL_RETURN, "null return", HITRATE (90), 0)
 
-/* Branches to a mudflap bounds check are extremely unlikely.  */
-DEF_PREDICTOR (PRED_MUDFLAP, "mudflap check", PROB_VERY_LIKELY, 0)
-
 /* Branches to compare induction variable to a loop bound is
    extremely likely.  */
 DEF_PREDICTOR (PRED_LOOP_IV_COMPARE_GUESS, "guess loop iv compare",
index bee404d52f7f907dbb93c105e6c22d7031005f65..fd0d0d4367c2b766222b0db79fab91a41e0a7a74 100644 (file)
@@ -72,7 +72,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "tree-ssanames.h"
 #include "tree-ssa-alias.h"
 #include "insn-codes.h"
-#include "tree-mudflap.h"
 
 
 bool
@@ -1576,10 +1575,6 @@ tree
 build_va_arg_indirect_ref (tree addr)
 {
   addr = build_simple_mem_ref_loc (EXPR_LOCATION (addr), addr);
-
-  if (flag_mudflap) /* Don't instrument va_arg INDIRECT_REF.  */
-    mf_mark (addr);
-
   return addr;
 }