On 10/06/2015 01:40 AM, Mikhail Maltsev wrote:

-#ifdef ENABLE_CHECKING
+#if CHECKING_P
        /* Check that the addresses are consecutive.  */
        e = XEXP (SET_DEST (e), 0);
        if (GET_CODE (e) == PLUS)
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index a131053..e53fe6d 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -3811,8 +3811,7 @@ hwloop_optimize (hwloop_info loop)
        edge e;
        edge_iterator ei;

-#ifdef ENABLE_CHECKING
-      if (loop->head != loop->incoming_dest)
+      if (CHECKING_P && loop->head != loop->incoming_dest)
        {

This stuff also seems inconsistent. Why use CHECKING_P instead of flag_checking? Why use #if sometimes and if in other cases?


Bernd

Reply via email to