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/31885] Not removing empty loop, scev not finding the correct result



------- Comment #2 from rakdver at gcc dot gnu dot org  2007-05-10 22:33 -------
Subject: Bug 31885

Author: rakdver
Date: Thu May 10 21:33:11 2007
New Revision: 124602

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124602
Log:
        PR tree-optimization/31885
        * tree-chrec.c (chrec_contains_undetermined): Do not consider NULL_TREE
        to be undetermined.
        (automatically_generated_chrec_p): Return false for NULL.

        * gcc.dg/tree-ssa/loop-29.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-29.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.c
    trunk/gcc/tree-chrec.h


-- 


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


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