This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]