From: Richard Henderson Date: Fri, 3 Aug 2001 08:32:44 +0000 (-0700) Subject: rtlanal.c (find_first_parameter_load): Stop if we reach a CODE_LABEL at BOUNDARY. X-Git-Tag: prereleases/libstdc++-3.0.95~2890 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbc1a16393aea0bee2af3a8783546ee5653f3e13;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b20204dd16bb..a9efa52b45b5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-03 Richard Henderson + + * rtlanal.c (find_first_parameter_load): Stop if we + reach a CODE_LABEL at BOUNDARY. + 2001-08-03 Richard Henderson * config/alpha/alpha.md (force_movdi): New insn. diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 9762f9eaa55e..0502b85cf798 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); }