This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40259] Unintended code in find_givs_in_stmt_scev (gcc/tree-ssa-loop-ivopts.c)?
- 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: 26 May 2009 17:50:50 -0000
- Subject: [Bug middle-end/40259] Unintended code in find_givs_in_stmt_scev (gcc/tree-ssa-loop-ivopts.c)?
- References: <bug-40259-17190@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rakdver at gcc dot gnu dot org 2009-05-26 17:50 -------
(In reply to comment #1)
> It looks more like the code in GCC 4.3 is wrong and should use lhs here.
> Zdenek?
simple_iv should return the same result in both cases, so it should not really
matter. Is there some reason why this is reported as a bug, rather than asking
in the mailing list?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40259