------- Comment #7 from mikael at gcc dot gnu dot org 2010-05-31 21:31 ------- (In reply to comment #6) > because in the above 'i' and 'I' are in the same scoping unit. I couldn't find what mandates in the standard that i and I are in a different scoping unit/are different variables. Are they ?
> If you write 'i = 5; j = [(i,i=1,I)]' then the 'i' here is in > a different scoping unit. I agree that the scalar-int-expr > '1' and 'I' need to be evaluated to establish the the loop > start and stop values. The question again based on scoping > unit is whether 'I' is uninitialized. > How could it be ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44354