http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18589
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org, | |wschmidt at gcc dot gnu.org --- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-09 12:20:31 UTC --- Yeah, reassoc does not canonicalize to pow () so the tree level optimal expansion does not trigger [in reality reassoc should probably do both on-the-fly - linearly expand existing pow()s to expose them to multiply chains and sorting, combine them back and then emit them in optimal form]. Bill, something you want to tackle?