Re: [PATCH] Add string_slice class.

2025-06-18 Thread Joseph Myers
On Wed, 18 Jun 2025, Alfie Richards wrote: > gcc/c-family/ChangeLog: > > * c-format.cc (local_string_slice_node): New node type. > (asm_fprintf_char_table): New entry. > (init_dynamic_diag_info): Add support for string_slice. > * c-format.h (T_STRING_SLICE): New node type.

[PATCH] Add string_slice class.

2025-06-18 Thread Alfie Richards
Minor update to this patch addressing Jeff Law's feedback. It turns out I ended up not using the strcmp function, so no edits to other patches are required. I've left the function in as I have future work that I plan to use it for. Regression tested and bootstrapped for aarch64-none-linux-gnu and