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/31016] Use __buildin_memcpy and __memcpy for array assignment



------- Comment #2 from burnus at gcc dot gnu dot org  2007-03-01 19:26 -------
And another example for compile-time known sizes:

subroutine bar(a,n)
 implicit none
 integer :: n
 real :: a(n),b(12)
 a(1:12) = b

 a(2:n) = b
! Here, n is unknown, but it is only valid if the shapes of b an a are the same
end subroutine


-- 


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


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