Yes. I know it doesn't fail on IA64-HPUX. The reason is
that the dereferencing expression has been transformed as:
tmpvar = index+offset;
*tmpvar;
during induction variable optimization, Where tmpvar has SImode.
PPC has different costs to compute induction variables as on IA64-HPUX.
Charles
On 5/2/06, Andrew Pinski <[EMAIL PROTECTED]> wrote:
>
> On a system which supports 64-bit implementation but with TARGET_ILP32
> ABI, like HPUX on ia64, the gcc-4.1 compiler generates incorrect code
> for the dejagnu test gcc.dg/tree-ssa/pr23386.c. The problem seems
> because that the gen_addr_rtx() in tree-ssa-address.c always returns
> Pmode rtx. On a TARGET_64BIT machine, Pmode is DImode.
I do not see this failing on ia64-hpux (with -milp32).
http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg00080.html
http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg00045.html
Are you sure that you are not doing something funny with your
port?
-- Pinski