This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r152702 - in /trunk/gcc: ChangeLog ipa-cp.c ipa...
- From: jamborm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 13 Oct 2009 11:31:08 -0000
- Subject: r152702 - in /trunk/gcc: ChangeLog ipa-cp.c ipa...
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 <mjambor@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