[PATCH 1/3] Simplify wrapped binops

Robin Dapp rdapp@linux.vnet.ibm.com
Thu May 18 14:48:00 GMT 2017


This tries to fold unconditionally and fixes some test cases.

gcc/ChangeLog:

2017-05-18  Robin Dapp  <rdapp@linux.vnet.ibm.com>

	* tree-ssa-propagate.c
(substitute_and_fold_dom_walker::before_dom_children):
	Always try to fold.



gcc/testsuite/ChangeLog:

2017-05-18  Robin Dapp  <rdapp@linux.vnet.ibm.com>

	* g++.dg/tree-ssa/ssa-dse-2.C: Fix testcase.
	* gcc.dg/pr35691-1.c: Likewise.
	* gcc.dg/pr35691-2.c: Likewise.
	* gcc.dg/tree-ssa/forwprop-16.c: Likewise.
	* gcc.dg/tree-ssa/pr52631.c: Likewise.
	* gcc.dg/tree-ssa/vrp23.c: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-wrapped-binop-p1.diff
Type: text/x-patch
Size: 4785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170518/253bf8e5/attachment.bin>


More information about the Gcc-patches mailing list