aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-02-26 11:46:48 +0100
committerMartin Liska <marxin@gcc.gnu.org>2016-02-26 10:46:48 +0000
commit7c8fb356acf905ed551cf4d75aca60cc105af88a (patch)
tree331a7c50da45ce23e45fb24348d042cceb9eed1b /gcc/dwarf2out.c
parentac400631d2ce4917bc7ab2eb42115100275c8716 (diff)
downloadgcc-7c8fb356acf905ed551cf4d75aca60cc105af88a.zip
gcc-7c8fb356acf905ed551cf4d75aca60cc105af88a.tar.gz
gcc-7c8fb356acf905ed551cf4d75aca60cc105af88a.tar.bz2
Replace ENABLE_CHECKING with CHECKING_P in dwarf2out
* dwarf2out.c (new_loc_descr): Replace ENABLE_CHECKING with CHECKING_P. (resolve_args_picking_1): Likewise. * dwarf2out.h (struct GTY): Likewise. From-SVN: r233737
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 97e192b..a8c21d8 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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