This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: A gcc-cris bug?
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: Dave Korn <dk at artimi dot com>, 'Andrew Pinski' <pinskia at physics dot uc dot edu>
- Cc: 'Richard Guenther' <richard dot guenther at gmail dot com>, gcc at gcc dot gnu dot org, 'Diego Novillo' <dnovillo at redhat dot com>, 'Tal Agmon' <tal dot agmon at nsc dot com>
- Date: Wed, 6 Oct 2004 17:34:15 +0100 (BST)
- Subject: RE: A gcc-cris bug?
All,
This goes all the way back to at least 2.95.2
One problem is the insn "foo = 0" gets moved after the loop end because
loop optimize determines that it's loop invariant but isn't checking
if the insn would modify the loop termination condition.
Graham