Replace ENABLE_CHECKING with CHECKING_P in dwarf2out
authorMartin Liska <mliska@suse.cz>
Fri, 26 Feb 2016 10:46:48 +0000 (11:46 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 26 Feb 2016 10:46:48 +0000 (10:46 +0000)
* dwarf2out.c (new_loc_descr): Replace ENABLE_CHECKING with
CHECKING_P.
(resolve_args_picking_1): Likewise.
* dwarf2out.h (struct GTY): Likewise.

From-SVN: r233737

gcc/ChangeLog
gcc/dwarf2out.c
gcc/dwarf2out.h

index 1801e13a9ae75c777bcecf262c0f8ba21d8741ce..e341801527b586e28bba5ff69d3ce4f92a05cb16 100644 (file)
@@ -1,3 +1,10 @@
+2016-02-26  Martin Liska  <mliska@suse.cz>
+
+       * dwarf2out.c (new_loc_descr): Replace ENABLE_CHECKING with
+       CHECKING_P.
+       (resolve_args_picking_1): Likewise.
+       * dwarf2out.h (struct GTY): Likewise.
+
 2016-02-26  Martin Liska  <mliska@suse.cz>
 
        * hsa-gen.c (generate_hsa): Replace ENABLE_CHECKING macro
index 97e192b9d4d2d5cf8e178504ed8c887f59230359..a8c21d809ce5a6779656b55390cde8b676c196d9 100644 (file)
@@ -1325,7 +1325,7 @@ new_loc_descr (enum dwarf_location_atom op, unsigned HOST_WIDE_INT oprnd1,
   dw_loc_descr_ref descr = ggc_cleared_alloc<dw_loc_descr_node> ();
 
   descr->dw_loc_opc = op;
-#if ENABLE_CHECKING
+#if CHECKING_P
   descr->dw_loc_frame_offset = -1;
 #endif
   descr->dw_loc_oprnd1.val_class = dw_val_class_unsigned_const;
@@ -15369,14 +15369,14 @@ resolve_args_picking_1 (dw_loc_descr_ref loc, unsigned initial_frame_offset,
       /* If we already met this node, there is nothing to compute anymore.  */
       if (visited.add (l))
        {
-#if ENABLE_CHECKING
+#if CHECKING_P
          /* Make sure that the stack size is consistent wherever the execution
             flow comes from.  */
          gcc_assert ((unsigned) l->dw_loc_frame_offset == frame_offset_);
 #endif
          break;
        }
-#if ENABLE_CHECKING
+#if CHECKING_P
       l->dw_loc_frame_offset = frame_offset_;
 #endif
 
index a96ac380e8a356d16b78122f33ae7cd8645f3a2e..91b3d6bd8c9a91cf211a3f8ff755962e284b28dc 100644 (file)
@@ -239,7 +239,7 @@ struct GTY((chain_next ("%h.dw_loc_next"))) dw_loc_descr_node {
      frame offset.  */
   unsigned int frame_offset_rel : 1;
   int dw_loc_addr;
-#if ENABLE_CHECKING
+#if CHECKING_P
   /* When translating a function into a DWARF procedure, contains the frame
      offset *before* evaluating this operation.  It is -1 when not yet
      initialized.  */