[Bug tree-optimization/54674] [4.8 Regression] ICE in build2_stat, at tree.c:3835
wschmidt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 18:36:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54674
--- Comment #7 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2012-09-24 18:35:41 UTC ---
I'm working on a patch to avoid introducing a multiply by a pointer type, such
as happened here.
The interesting thing is that this doesn't look like a profitable
transformation on most architectures. It appears that a multiply of two
registers and an add of two registers may be given the same RTL cost in the SH
family? It seems unlikely that those two operations have the same cost in
practice, so it might be worth looking into whether the cost model for this
target is fully implemented.
More information about the Gcc-bugs
mailing list