This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36905] [4.2/4.3/4.4 Regression] IV-opts needs a little help with a[i+1]
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2008 02:16:05 -0000
- Subject: [Bug tree-optimization/36905] [4.2/4.3/4.4 Regression] IV-opts needs a little help with a[i+1]
- References: <bug-36905-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-23 02:16 -------
In fact this is one case where the old loop.c gets it correct :(.
4.1.1 with IV-opts off:
.L2:
sth 3,0(9)
addi 9,9,2
bdnz .L2
Which means I can declare this as a regression from 3.4.x.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.0 4.4.0 4.3.0
Known to work| |3.4.0
Summary|IV-opts needs a little help |[4.2/4.3/4.4 Regression] IV-
|with a[i+1] |opts needs a little help
| |with a[i+1]
Target Milestone|--- |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36905