[Bug tree-optimization/49642] constant part of a macro not optimized away as expected due to splitter
wschmidt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 18 20:07:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49642
--- Comment #10 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2012-01-18 19:28:23 UTC ---
Author: wschmidt
Date: Wed Jan 18 19:28:19 2012
New Revision: 183284
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183284
Log:
gcc:
2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/49642
* ipa-split.c (forbidden_dominators): New variable.
(check_forbidden_calls): New function.
(dominated_by_forbidden): Likewise.
(consider_split): Check for forbidden dominators.
(execute_split_functions): Initialize and free forbidden
dominators info; call check_forbidden_calls.
gcc/testsuite:
2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/49642
* gcc.dg/tree-ssa/pr49642.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr49642.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/ipa-split.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list