------- Comment #7 from dfranke at gcc dot gnu dot org  2009-04-04 18:29 -------
$ gfortran-4.3.3 -Wall -g -W -fbounds-check pr28849.f90 && ./a.out
 Assignments with correct shapes after RESHAPE...
 a(:,1) =   1.0000000
 b(:,1) =   1.0000000       2.0000000
 ...and with wrong shape (should fail with bounds checking on)
Fortran runtime error: Incorrect extent in return value of RESHAPE intrinsic in
dimension 1: is 1, should be 2

Same for 4.4.0 and 4.5.0.
Closing. Please reopen if anything else is left.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |RESOLVED
      Known to work|                            |4.3.3
         Resolution|                            |FIXED


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

Reply via email to