https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95423
--- Comment #1 from Gabriel Ravier <gabravier at gmail dot com> --- I've hit a similar thing with this function : int f(int x) { return (x * x * x) - (3 * x) - 1; } Which can be optimized to `return (((x * x) - 3) * x) - 1;`, but isn't