The handling of LO_SUM by alias.c:find_base_term causes a degradation on 32-bit vortex on PPC when used with the new REG_POINTER attribute. Making "find_base_term" handle LO_SUM the same way as alias.c:find_base_value fixes the problem. Preventing "find_base_term" from returning NULL so easily also fixes the problem. A fix for 4.5 will most probably be a combination of these two approaches.
Created attachment 17065 [details] Second part of the combined patch Additional check to avoid returning a NULL base. This is a placeholder for a 4.5 fix.
Is this a regression? I don't see anything in the patches or in their description that would prevent a backport to 4.4.
This is already in 4.4, but we would like to add additional checks on 4.5 that would be risky to have on 4.4 (since it was almost being released). I have the additional patch and will attach it soon. Sorry it took so long to reply. Luis
This is one of the "GCC 4.5 pending patches". Now would be a good time to do something with this patch -- like, submitting it.
Already commited on 4.5. Closing...
Fixed