[Bug middle-end/60192] Test case gcc.dg/tree-ssa/sra-12.c fails on ARM
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 14 09:09:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60192
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Well, then SRA didn't work. The aggregate copy should have been elided and
the local 'l' should have been removed:
Released 11 names, 183.33%, removed 11 holes
foo (struct S * p)
{
int l$i;
int _3;
<bb 2>:
l$i_4 = MEM[(struct S *)p_2(D)];
_3 = l$i_4 + 1;
MEM[(struct S *)p_2(D)] = _3;
return;
}
(from x86_64)
Maybe some cost oddity on arm prevents this?
More information about the Gcc-bugs
mailing list