[Bug fortran/40598] Some missed optimizations in array assignment

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 30 09:40:00 GMT 2009



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-06-30 09:39 -------
I guess for zeroing you want memset, not memcpy.  Note that in most of the
cases you should be able to use direct assignments from {} (to zero) or
the source.  For selecting continuous ranges of an array you can use
ARRAY_RANGE_REF.


-- 


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



More information about the Gcc-bugs mailing list