This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Your change to jump.c breaks conditional move?
- To: law at cygnus dot com, Richard Henderson <rth at cygnus dot com>
- Subject: Re: Your change to jump.c breaks conditional move?
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 5 Jun 1998 00:21:42 -0700
- Cc: "H.J. Lu" <hjl at lucon dot org>, egcs-patches at cygnus dot com, egcs at cygnus dot com
- References: <19980604115358.A4098@dot.cygnus.com> <8021.897027765@hurl.cygnus.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Fri, Jun 05, 1998 at 12:22:45AM -0600, Jeffrey A Law wrote:
> The address could be a SYMBOL_REF, (CONST (PLUS (SYMBOL_REF) (CONST_INT)),
> LABEL_REF or even a CONST_INT.
CONST_INT? Really? I can't imagine leaving symbolics behind
before assembly. Though I agree with the other two.
> I'm also not sure checking for PLUS/MINUS is enough either since
> some PIC implementations use LO_SUM instead of PLUS to add the
> pic register to the lower bits of a symbolic address.
Yes, but if it's LO_SUM we won't get into trouble below like we
will for PLUS.
r~