http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077
William J. Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64-linux, others |powerpc64-linux Component|rtl-optimization |target Summary|[Code Improvement] Use |[Code Improvement] Poor |multiplication by magic |expansion of multiply on |number for integer division |powerpc64-linux |by constant | --- Comment #3 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-03-11 19:22:06 UTC --- Changing this to a target issue. Confirmed that gcc is producing the correct magic number multiply, which survives till final assembly output, when the poor expansion takes place.