This is the mail archive of the
mailing list for the GCC project.
Re: [fortran PATCH] Implement a(:,:) = 0.0 using memset (take 2)
Let me add a dull remark without having read the actual patch or
following nor considering the actual proposed changes :(
On Tue, Dec 19, 2006 at 01:38:50PM -0800, Steve Kargl wrote:
>On Mon, Dec 18, 2006 at 06:55:22PM -0700, email@example.com wrote:
>> 2006-12-18 Roger Sayle <firstname.lastname@example.org>
>> * trans-expr.c (is_zero_initializer_p): Determine whether a given
>> constant expression is a zero initializer.
>> (gfc_trans_zero_assign): New function to attempt top optimize
>> "a(:) = 0.0" as a call to __builtin_memset (a, 0, sizeof(a));
>> (gfc_trans_assignment): Special case array assignments to zero
>> initializer constants, using gfc_trans_zero_assign.
>> * gfortran.dg/array_memset_1.f90: New test case.
hindered by time constraints your,