------- Comment #3 from pault at gcc dot gnu dot org 2006-08-10 04:56 -------
I can see what the problem is - when I wrote this section of code in expr.c, I
did the conditions for "step" and "finish" correctly but for "begin", I wrote:
/* Obtain the start value for the index. */
if (begin->value.integer)
mpz_set (ctr[d], begin->value.integer);
else
instead of
/* Obtain the start value for the index. */
if (begin)
mpz_set (ctr[d], begin->value.integer);
else
This you can demonstrate by changing a(:) to a(1:)
I'll try to get a patch out of the door today and to commit it under the
obvious rule.
Thanks
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-07-26 19:52:36 |2006-08-10 04:56:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28496