This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31885] Not removing empty loop, scev not finding the correct result
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2007 10:01:03 -0000
- Subject: [Bug tree-optimization/31885] Not removing empty loop, scev not finding the correct result
- References: <bug-31885-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rakdver at gcc dot gnu dot org 2007-05-10 11:01 -------
This gets fixed by the scev changes of
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00634.html
(the part about "chrec_contains_undetermined considers NULL_TREE to be a
special automatically generated chrec... However, NULL_TREE is a valid
argument of some of the tree nodes, so chrec_contains_undetermined
ould for example return true for &a[5](which causes some of the
analyses to stop consider such expressions and fail).")
I will commit those separately.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31885