------- Comment #2 from uweigand at gcc dot gnu dot org  2010-06-29 17:03 
-------
Created an attachment (id=21041)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21041&action=view)
Recognize (lo_sum (high ...) ...) in rs6000_legitimize_reload_address

> It seems to me that simply extending rs6000_legitimate_reload_address to 
> handle
> this case as well should fix the bug.

And indeed, this (otherwise untested) patch fixes the bug for me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44707

Reply via email to