diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2007-11-07 21:48:08 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-11-07 20:48:08 +0000 |
commit | 8c6c36a3c9583d2e804edd181c75e076a4f38b3e (patch) | |
tree | e242c9c5a82d38692b13f502a139a829581391e2 /gcc/rtl.h | |
parent | 83eb8eb789ffa18d8fe0aad243adaa753f532385 (diff) | |
download | gcc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |