[Bug fortran/50130] [4.6/4.7 Regression] ICE with invalid array slice

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Fri Aug 19 19:28:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50130

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-08-19
            Summary|ICE with invalid array      |[4.6/4.7 Regression] ICE
                   |slice                       |with invalid array slice
     Ever Confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-19 18:29:25 UTC ---
Confirmed with the same range of versions (4.4, 4.5, and early 4.6) giving

pr50130.f90:2.30:

integer, parameter :: b(10)=a(1:10:0)
                              1
Error: Illegal stride of zero at (1)

and versions (late 4.6 and trunk) giving the floating point exception as for
pr50129.



More information about the Gcc-bugs mailing list