OSDN Git Service

PR rtl-optimization/33822
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2007 20:48:08 +0000 (20:48 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2007 20:48:08 +0000 (20:48 +0000)
commiteeb0ae2330c278624a09d903512153cef5cab34d
treee242c9c5a82d38692b13f502a139a829581391e2
parent81eefa9ded72b0aabdf50930ab1eb6c51cf565f0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/rtl.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/out-of-bounds-1.c [new file with mode: 0644]
gcc/var-tracking.c