https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68157

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 18 10:31:51 2015
New Revision: 230532

URL: https://gcc.gnu.org/viewcvs?rev=230532&root=gcc&view=rev
Log:
        PR tree-optimization/68157
        * tree-ssa-reassoc.c (attempt_builtin_powi): Set uid of
        pow_stmt or mul_stmt from stmt's uid.
        (reassociate_bb): Set uid of mul_stmt from stmt's uid.

        * g++.dg/opt/pr68157.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/pr68157.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-reassoc.c

Reply via email to