[Bug tree-optimization/53081] memcpy/memset loop recognition

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Jun 6 11:39:00 GMT 2012


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

--- Comment #13 from rguenther at suse dot de <rguenther at suse dot de> 2012-06-06 11:39:25 UTC ---
On Wed, 6 Jun 2012, Joost.VandeVondele at mat dot ethz.ch wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53081
> 
> --- Comment #12 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-06-06 11:32:08 UTC ---
> It doesn't quite seem to work for this simple Fortran testcase yet
> 
> SUBROUTINE S(a,N)
>   INTEGER :: N,a(N)
>   a=1
> END SUBROUTINE S
> 
> (works for memset to 0)

Well, you can't transform this to a memset ;)



More information about the Gcc-bugs mailing list