This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/41661] [4.5 Regression] ICE due to IPCP trying to create/fold a REAL typed comparision



------- 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  <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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41661


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]