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. -- Summary: 32-bit Vortex degradation on PPC due to bad RTL aliasing Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: luisgpm at linux dot vnet dot ibm dot com GCC build triplet: powerpc*-*-* GCC host triplet: powerpc*-*-* GCC target triplet: powerpc*-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38373