https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57534
--- Comment #17 from Jeffrey A. Law <law at redhat dot com> --- It could well end up being a case where we need to look to see if the expressions are likely to CSE to determine which is better. I'm not sure if reassoc has that kind of capability.