This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31014] missed-optimization: unnecessary invokation of _gfortran_internal_pack
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2007 19:22:04 -0000
- Subject: [Bug fortran/31014] missed-optimization: unnecessary invokation of _gfortran_internal_pack
- References: <bug-31014-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-03-01 19:22 -------
And analogously for these kinds of dummy arguments:
subroutine x(a,n)
integer :: n
real :: a(n)
interface
subroutine foo(x,n)
integer :: n
real :: x(n)
end subroutine foo
end interface
call foo(a(:),n)
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31014