diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-01 03:34:33 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-01 03:34:33 +0000 |
commit | 200ad982dd4e3f375f6469d1f09ba8f3a69e352e (patch) | |
tree | cacd4747bcc70a36c7b9769325b1959095ba6db7 /gcc | |
parent | 0045e505634d3f126b624ca3c89664f380f128bf (diff) | |
download | gcc-200ad982dd4e3f375f6469d1f09ba8f3a69e352e.tar.gz |
* tree-flow-inline.h (next_readonly_imm_use): Return
NULL_USE_OPERAND_P after the end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-flow-inline.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2944d20b64d..e03adcc4af2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-03-01 Alexandre Oliva <aoliva@redhat.com> + + * tree-flow-inline.h (next_readonly_imm_use): Return + NULL_USE_OPERAND_P after the end. + 2008-03-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/35411 diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 1afbd1a8fc7..79071a90bea 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -512,7 +512,7 @@ next_readonly_imm_use (imm_use_iterator *imm) imm->imm_use = old->next; if (end_readonly_imm_use_p (imm)) - return old; + return NULL_USE_OPERAND_P; return imm->imm_use; } |