Re: [PATCH] libcpp, c, middle-end, v2: Optimize initializers using #embed in C

2024-10-09 Thread Joseph Myers
On Wed, 9 Oct 2024, Jakub Jelinek wrote: > Here is an updated patch with that implemented plus additional testcase > which tests it (and was failing with the old version of the patch for C). > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? The libcpp/, gcc/c-family/, gcc/

[PATCH] libcpp, c, middle-end, v2: Optimize initializers using #embed in C

2024-10-09 Thread Jakub Jelinek
On Tue, Oct 08, 2024 at 07:31:12PM +, Joseph Myers wrote: > On Thu, 11 Jul 2024, Jakub Jelinek wrote: > > > With the CPP_NUMBERs around it, I believe in the C FE the only places which > > need handling of the CPP_EMBED token are initializer parsing (that is the > > only one which adds actual o