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



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



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2013-04-21

     Ever Confirmed|0                           |1



--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-04-21 
13:00:36 UTC ---

Revision 162456 (2010-07-23) is OK, but not revision 1635293 (2010-08-24). The

test gives the correct result with the following change



--- pr57023.f90    2013-04-21 13:15:55.000000000 +0200

+++ pr57023_db.f90    2013-04-21 14:11:58.000000000 +0200

@@ -2,9 +2,9 @@ module mymod

 contains

   subroutine foo(a,n)

     integer, dimension(n,n), intent(inout) :: a

-    integer :: n

-    n = n - 1

-    call baz(a(1:n,1:n),n)

+    integer :: m, n

+    m = n - 1

+    call baz(a(1:m,1:m),m)

   end subroutine foo



   subroutine baz(a,n)

Reply via email to