Skip to content
Snippets Groups Projects
Commit af55979c authored by sayle's avatar sayle
Browse files

	PR middle-end/23670
	* fold-const.c (fold_binary) <BIT_IOR_EXPR>: Optimize (X&Y)|Y into
	(X,Y) and the corresponding symmetry related transformations.
	(fold_binary) <BIT_AND_EXPR>: Likewise, optimize (X|Y)&Y into
	(X,Y) and its symmetry related transformations.

	* gcc.dg/tree-ssa/andor-2.c: New test case.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110997 138bc75d-0d04-0410-961f-82ee72b054a4
parent 48b87d3c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment