Re: [PATCH] Use new RAW_DATA_{U,S}CHAR_ELT macros in the middle-end and C FE

2024-12-06 Thread Richard Biener
On Fri, 6 Dec 2024, Jakub Jelinek wrote: > Hi! > > During the patch review of the C++ #embed optimization, Jason asked for > a macro for the common > ((const unsigned char *) RAW_DATA_POINTER (value))[i] > and ditto with signed char patterns which appear in a lot of places. > In the just committe

[PATCH] Use new RAW_DATA_{U,S}CHAR_ELT macros in the middle-end and C FE

2024-12-06 Thread Jakub Jelinek
Hi! During the patch review of the C++ #embed optimization, Jason asked for a macro for the common ((const unsigned char *) RAW_DATA_POINTER (value))[i] and ditto with signed char patterns which appear in a lot of places. In the just committed patch I've added +#define RAW_DATA_UCHAR_ELT(NODE, I)