diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-24 07:05:09 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-24 07:05:09 +0000 |
commit | 10fbe63d951ca7cecaff58553639b3d5aecd996a (patch) | |
tree | 4318a722cabc2b845a5409a42ace68e3ffa59666 /gcc/testsuite/gfortran.dg/include_3.f95 | |
parent | dae9d0e7becfb34379574c1eb94f9a869da2d371 (diff) | |
download | gcc-10fbe63d951ca7cecaff58553639b3d5aecd996a.tar.gz |
2012-04-24 Andrew Pinski <apinski@cavium.com>
PR tree-opt/33512
* tree-ssa-forwprop.c (defcodefor_name): New function.
(simplify_bitwise_binary): Use defcodefor_name instead of manually
Simplify "( X | Y) & X" to X and "( X & Y) | X" to X.
Simplify "(~X | Y) & X" to "X & Y" and
"(~X & Y) | X" to "X | Y".
2012-04-24 Andrew Pinski <apinski@cavium.com>
PR tree-opt/33512
* gcc.dg/tree-ssa/andor-3.c: New testcase.
* gcc.dg/tree-ssa/andor-4.c: New testcase.
* gcc.dg/tree-ssa/andor-5.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186749 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gfortran.dg/include_3.f95')
0 files changed, 0 insertions, 0 deletions