This is the mail archive of the gcc-patches@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]

Re: [PATCH] Improve PR40168


Richard Guenther wrote:
> This patch makes sure to not make local arrays addressable just because
> we optimize zeroing to a memset in the frontend.  The middle-end is
> fine with the equivalent assigment from {} (an empty CONSTRUCTOR).
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
> Ok for trunk (4.4?)?

OK; I think it is simple enough for 4.4.

The speedup for Joost's test case (seemingly a CP2K run) is quite
impressive.

Tobias


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