aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-03 01:32:44 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-03 01:32:44 -0700
commitdbc1a16393aea0bee2af3a8783546ee5653f3e13 (patch)
tree496bc496eee9a78d25dbd92f9522052a7ea8d224 /gcc
parent54aaa4ea8d6157dd66ba01ed1d015b439d775378 (diff)
downloadgcc-dbc1a16393aea0bee2af3a8783546ee5653f3e13.zip
gcc-dbc1a16393aea0bee2af3a8783546ee5653f3e13.tar.gz
gcc-dbc1a16393aea0bee2af3a8783546ee5653f3e13.tar.bz2
rtlanal.c (find_first_parameter_load): Stop if we reach a CODE_LABEL at BOUNDARY.
* rtlanal.c (find_first_parameter_load): Stop if we reach a CODE_LABEL at BOUNDARY. From-SVN: r44595
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/rtlanal.c10
2 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b20204d..a9efa52 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-08-03 Richard Henderson <rth@redhat.com>
+ * rtlanal.c (find_first_parameter_load): Stop if we
+ reach a CODE_LABEL at BOUNDARY.
+
+2001-08-03 Richard Henderson <rth@redhat.com>
+
* config/alpha/alpha.md (force_movdi): New insn.
* config/alpha/alpha.c (alpha_expand_prologue): Use it.
Tweek FRP marking of VMS prologue insns.
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 9762f9e..0502b85 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);
}