[Bug tree-optimization/68157] [5/6 Regression] internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 18 10:23:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68157
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 18 10:23:21 2015
New Revision: 230530
URL: https://gcc.gnu.org/viewcvs?rev=230530&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:
trunk/gcc/testsuite/g++.dg/opt/pr68157.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-reassoc.c
More information about the Gcc-bugs
mailing list