------- Comment #4 from jamborm at gcc dot gnu dot org 2009-10-13 11:31 ------- Subject: Bug 41661
Author: jamborm Date: Tue Oct 13 11:31:08 2009 New Revision: 152702 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152702 Log: 2009-10-13 Martin Jambor <mjam...@suse.cz> PR tree-optimization/41661 * ipa-prop.c (compute_complex_pass_through): Allow only operations that are tcc_comparisons or do not change the type in any un-usleless way. * ipa-cp.c (ipcp_lattice_from_jfunc): Request boolean type when folding tcc_comparison operations. * testsuite/gcc.c-torture/compile/pr41661.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr41661.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/ipa-prop.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41661