This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)
- From: "burnus 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 Jun 2007 16:25:25 -0000
- Subject: [Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)
- References: <bug-32457-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from burnus at gcc dot gnu dot org 2007-06-26 16:25 -------
> REAL, DIMENSION(0:100) :: RBOUND
> I thought that the array indices start from 1, and not from 0.
Well, dimension(5) means from 1 to 5, but e.g. dimension(-2:4:2) means the
indices {-2, 0, 2, 4}. And in the program above DIMENSION(0:100) means: {0, 1,
2, 3, ..., 100} (101 indices).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32457