2009-10-10 Richard Guenther <rguenther@suse.de>
commitb611dd5f0183cb072a7cfb8cddfdfdfa6234fc29
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Oct 2009 14:53:27 +0000 (10 14:53 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Oct 2009 14:53:27 +0000 (10 14:53 +0000)
treef61162308417f730044161c62446557cddff40bf
parent0276cac6391875af26d797e9916683bd36d0ca80
2009-10-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41654
* tree-ssa-ifcombine.c (ifcombine_ifandif): Properly canonicalize
a cond expr before calling gimple_cond_set_condition_from_tree.
(ifcombine_iforif): Likewise.

* gfortran.fortran-torture/compile/pr41654.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152620 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/pr41654.f90 [new file with mode: 0644]
gcc/tree-ssa-ifcombine.c