This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unrevied patches^3


On Mon, Oct 20, 2003 at 06:28:29PM +0100, Richard Sandiford wrote:
>     (set (reg x) (high (const (plus (symbol_ref "foo") (const_int 4)))))
>     (set (reg y)
> 	 (lo_sum (reg x) (const (plus (symbol_ref "foo") (const_int 4)))))

Eh?  Why would this be wrong?  Can the relocs not handle this?

And if that's an issue what you should do here is reject the
const in the predicate for the high/lo_sum.  Then combine
can't do anything.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]