aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2007-11-07 21:48:08 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-11-07 20:48:08 +0000
commit8c6c36a3c9583d2e804edd181c75e076a4f38b3e (patch)
treee242c9c5a82d38692b13f502a139a829581391e2 /gcc/rtl.h
parent83eb8eb789ffa18d8fe0aad243adaa753f532385 (diff)
downloadgcc-8c6c36a3c9583d2e804edd181c75e076a4f38b3e.zip
gcc-8c6c36a3c9583d2e804edd181c75e076a4f38b3e.tar.gz
gcc-8c6c36a3c9583d2e804edd181c75e076a4f38b3e.tar.bz2
re PR rtl-optimization/33822 (-g -O -mstrict-align causes an ICE in set_variable_part,)
PR rtl-optimization/33822 * rtl.h (REG_OFFSET): Fix comment. * var-tracking.c (INT_MEM_OFFSET): New macro. (var_mem_set): Use it. (var_mem_delete_and_set): Likewise. (var_mem_delete): Likewise. (same_variable_part_p): Likewise. (vt_get_decl_and_offset): Likewise. (offset_valid_for_tracked_p): New predicate. (count_uses): Do not track locations with invalid offsets. (add_uses): Likewise. (add_stores): Likewise. From-SVN: r129970
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 28ab8f6..ef3a97e 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1210,8 +1210,8 @@ do { \
refer to part of a DECL. */
#define REG_EXPR(RTX) (REG_ATTRS (RTX) == 0 ? 0 : REG_ATTRS (RTX)->decl)
-/* For a MEM rtx, the offset from the start of MEM_DECL, if known, as a
- RTX that is always a CONST_INT. */
+/* For a REG rtx, the offset from the start of REG_EXPR, if known, as an
+ HOST_WIDE_INT. */
#define REG_OFFSET(RTX) (REG_ATTRS (RTX) == 0 ? 0 : REG_ATTRS (RTX)->offset)
/* Copy the attributes that apply to memory locations from RHS to LHS. */