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/40598] Some missed optimizations in array assignment



------- Comment #3 from pault at gcc dot gnu dot org  2009-06-30 09:54 -------
(In reply to comment #1)
> I guess for zeroing you want memset, not memcpy.  Note that in most of the

***blush*** - yes, you are right, of course!

> 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.
>

I was going to enquire if such a facility exists.

Thanks

Paul


-- 


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


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