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 fortran/69741] forall array scalar loop counters


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69741

Nick <nickpapior at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |critical

--- Comment #2 from Nick <nickpapior at gmail dot com> ---
Note that in regular do loops array elements are also not allowed:

```
do ii(2) = 1 , 2
     do ii(1) = 1 , 3
        a(ii(1),ii(2)) = ii(1) * ii(2)
     end do
  end do
```

is also illegal. I think they are related, but if you want me to create a new
bug, please let me know. :)

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