summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9e07263)
DWARF2_DEBUGGING_INFO.
(address_of_int_loc_descriptor): Likewise.
PR debug/41411
* dwarf2out.c (mem_loc_descriptor): Handle HIGH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152059
138bc75d-0d04-0410-961f-
82ee72b054a4
-2009-09-23 Uros Bizjak <ubizjak@gmail.com>
+2009-09-23 Jakub Jelinek <jakub@redhat.com>
+ Jan Hubicka <jh@suse.cz>
+
+ * dwarf2out.c (loc_list_plus_const): Only define if
+ DWARF2_DEBUGGING_INFO.
+ (address_of_int_loc_descriptor): Likewise.
+
+ PR debug/41411
+ * dwarf2out.c (mem_loc_descriptor): Handle HIGH.
+
+2009-09-23 Uros Bizjak <ubizjak@gmail.com>
PR c/39779
* c-typeck.c (build_binary_op) <short_shift>: Check that integer
PR c/39779
* c-typeck.c (build_binary_op) <short_shift>: Check that integer
+#ifdef DWARF2_DEBUGGING_INFO
/* Add a constant OFFSET to a location list. */
static void
/* Add a constant OFFSET to a location list. */
static void
for (d = list_head; d != NULL; d = d->dw_loc_next)
loc_descr_plus_const (&d->expr, offset);
}
for (d = list_head; d != NULL; d = d->dw_loc_next)
loc_descr_plus_const (&d->expr, offset);
}
/* Return the size of a location descriptor. */
/* Return the size of a location descriptor. */
return new_loc_descr (op, i, 0);
}
return new_loc_descr (op, i, 0);
}
+#ifdef DWARF2_DEBUGGING_INFO
/* Return loc description representing "address" of integer value.
This can appear only as toplevel expression. */
/* Return loc description representing "address" of integer value.
This can appear only as toplevel expression. */
loc_result->dw_loc_oprnd2.v.val_int = i;
return loc_result;
}
loc_result->dw_loc_oprnd2.v.val_int = i;
return loc_result;
}
-#endif
-
-#ifdef DWARF2_DEBUGGING_INFO
/* Return a location descriptor that designates a base+offset location. */
/* Return a location descriptor that designates a base+offset location. */
case PARITY:
case ASM_OPERANDS:
case UNSPEC:
case PARITY:
case ASM_OPERANDS:
case UNSPEC:
/* If delegitimize_address couldn't do anything with the UNSPEC, we
can't express it in the debug info. This can happen e.g. with some
TLS UNSPECs. */
/* If delegitimize_address couldn't do anything with the UNSPEC, we
can't express it in the debug info. This can happen e.g. with some
TLS UNSPECs. */