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/35468] [4.2/4.3/4.4 Regression] LHS of assignment can be folded to a constant causing ICE



------- Comment #9 from jakub at gcc dot gnu dot org  2008-12-09 16:57 -------
Subject: Bug 35468

Author: jakub
Date: Tue Dec  9 16:55:35 2008
New Revision: 142598

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142598
Log:
        PR tree-optimization/35468
        * tree-ssa-ccp.c (fold_stmt_r): Don't fold reads from constant
        string on LHS.

        * gcc.dg/pr35468.c: New test.
        * gcc.c-torture/compile/pr35468.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr35468.c
    trunk/gcc/testsuite/gcc.dg/pr35468.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


-- 


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


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