summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-03 08:32:44 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-03 08:32:44 +0000
commit26551efd84bcc25b8288f75f1fbf7f342b2027be (patch)
tree496bc496eee9a78d25dbd92f9522052a7ea8d224 /gcc/rtlanal.c
parent6d50e3566ab104bbca99e7122781c2b273215fd8 (diff)
downloadgcc-26551efd84bcc25b8288f75f1fbf7f342b2027be.tar.gz
* rtlanal.c (find_first_parameter_load): Stop if we
reach a CODE_LABEL at BOUNDARY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 9762f9eaa55..0502b85cf79 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -2851,12 +2851,16 @@ find_first_parameter_load (call_insn, boundary)
if (GET_CODE (before) == CALL_INSN)
break;
- /* Our caller needs eighter ensure, that we will find all sets
+ /* Our caller needs either ensure that we will find all sets
(in case code has not been optimized yet), or take care
for possible labels in a way by setting boundary to preceeding
CODE_LABEL. */
- if (GET_CODE (before) == CODE_LABEL && before != boundary)
- abort ();
+ if (GET_CODE (before) == CODE_LABEL)
+ {
+ if (before != boundary)
+ abort ();
+ break;
+ }
note_stores (PATTERN (before), parms_set, &parm);
}