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 target/26961] [4.0/4.1/4.2 Regression] ICE simplify_subreg:3813



------- Comment #5 from sayle at gcc dot gnu dot org  2006-04-17 02:38 -------
Subject: Bug 26961

Author: sayle
Date: Mon Apr 17 02:38:50 2006
New Revision: 113001

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113001
Log:

        PR target/26961
        * fold-const.c (fold_ternary): When converting "A ? B : C" into either
        "A op B" or "A op C", we may need to convert A to the type of B and C.

        * gcc.dg/fold-cond-1.c: New test case.
        * gcc.dg/pr26961-1.c: Likewise.


Added:
    trunk/gcc/testsuite/gcc.dg/fold-cond-1.c
    trunk/gcc/testsuite/gcc.dg/pr26961-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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