]> git.ipfire.org Git - thirdparty/gcc.git/commit
* match.pd (~x | x): Don't use tree_nop_conversion_p. Build
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jun 2015 16:36:44 +0000 (16:36 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jun 2015 16:36:44 +0000 (16:36 +0000)
commit754e0869048f4c058982b3b75300fb0eb555b79d
tree5b8dce2e677b5633bbb88ff76efadcddc0decb73
parent48bd2bec89d68195aec2cc3d1dc480b2192b8f69
* match.pd (~x | x): Don't use tree_nop_conversion_p.  Build
the final expression with the operand's type and then convert
it to the type of the expression.

* gcc.dg/fold-ior-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225196 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-ior-3.c [new file with mode: 0644]