> -Original Message-
> From: Harald Anlauf
> Sent: Tuesday, July 16, 2024 12:06 AM
> To: Prathamesh Kulkarni ; gcc-
> patc...@gcc.gnu.org; fort...@gcc.gnu.org
> Subject: Re: Lower zeroing array assignment to memset for allocatable
> arrays
>
> External email: U
Hi Prathamesh!
Am 15.07.24 um 15:07 schrieb Prathamesh Kulkarni:
-Original Message-
From: Harald Anlauf
I agree that it is reasonable to defer the handling of arrays as
components of derived types, and recommend to do the following:
- replace "&& gfc_is_simply_contiguous (expr, true, f
> -Original Message-
> From: Harald Anlauf
> Sent: Saturday, July 13, 2024 1:15 AM
> To: Prathamesh Kulkarni ; gcc-
> patc...@gcc.gnu.org; fort...@gcc.gnu.org
> Subject: Re: Lower zeroing array assignment to memset for allocatable
> arrays
>
> External email: U
Hi Prathamesh,
Am 12.07.24 um 15:31 schrieb Prathamesh Kulkarni:
It seems that component references are not currently handled even for static
size arrays ?
For eg:
subroutine test_dt (dt, y)
implicit none
real :: y (10, 20, 30)
type t
real :: x(10, 20, 30)
end type t
> -Original Message-
> From: Harald Anlauf
> Sent: Friday, July 12, 2024 1:52 AM
> To: Prathamesh Kulkarni ; gcc-
> patc...@gcc.gnu.org; fort...@gcc.gnu.org
> Subject: Re: Lower zeroing array assignment to memset for allocatable
> arrays
>
> External email: U
Hi Prathamesh!
Am 11.07.24 um 12:16 schrieb Prathamesh Kulkarni:
-Original Message-
From: Harald Anlauf
Sent: Thursday, July 11, 2024 12:53 AM
To: Prathamesh Kulkarni ; gcc-
patc...@gcc.gnu.org; fort...@gcc.gnu.org
Subject: Re: Lower zeroing array assignment to memset for
> -Original Message-
> From: Harald Anlauf
> Sent: Thursday, July 11, 2024 12:53 AM
> To: Prathamesh Kulkarni ; gcc-
> patc...@gcc.gnu.org; fort...@gcc.gnu.org
> Subject: Re: Lower zeroing array assignment to memset for allocatable
> arrays
>
> External email
Hi Prathamesh,
Am 10.07.24 um 13:22 schrieb Prathamesh Kulkarni:
Hi,
The attached patch lowers zeroing array assignment to memset for allocatable
arrays.
For example:
subroutine test(z, n)
implicit none
integer :: n
real(4), allocatable :: z(:,:,:)
allocate(z(n, 8192, 2048